Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit http://www.open-bio.org/wiki/... links using anchors #9

Open
peterjc opened this issue Feb 7, 2024 · 2 comments
Open

Explicit http://www.open-bio.org/wiki/... links using anchors #9

peterjc opened this issue Feb 7, 2024 · 2 comments

Comments

@peterjc
Copy link
Member

peterjc commented Feb 7, 2024

$ grep -oh "\[http://www.open-bio.org/wiki/.*\]" *.mediawiki 
[http://www.open-bio.org/wiki/Codefest_2010 Codefest session]
[http://www.open-bio.org/wiki/Codefest_2010 Codefest 2010 Report]
[http://www.open-bio.org/wiki/Codefest_2012 Codefest 2012]
[http://www.open-bio.org/wiki/Main_Page Open Bioinformatics Foundation]
[http://www.open-bio.org/wiki/Main_Page Open Bioinformatics Foundation:]  A Community For, By, and Of You ([http://www.slideshare.net/hlapp/obf-address-bosc2013 SlideShare] [http://www.youtube.com/watch?v=DiReTX3FoLM YouTube]
[http://www.open-bio.org/wiki/BOSC_2014_Schedule Complete Schedule]
[http://www.open-bio.org/wiki/EU-Codefest_2014 EU-Codefest 2014]
[http://www.open-bio.org/wiki/BOSC_Abstract_Submission submit your abstract here]
[http://www.open-bio.org/wiki/Main_Page Open Bioinformatics Foundation (OBF) update] ([https://youtu.be/1oSTb8ZAxec video]
[http://www.open-bio.org/wiki/BOSC_2017 BOSC 2017]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/Hackathon Hackathons]
[http://www.open-bio.org/wiki/EU_Codefest_2012 first one]
[http://www.open-bio.org/wiki/Codefest_2014#Goals goals] as the OBF Codefest, which is usually organized along with the [http://www.open-bio.org/wiki/BOSC BOSC]
[http://www.open-bio.org/wiki/Codefest_2014 OBF Codefest]
[http://www.open-bio.org/wiki/File:BOSC2015-abstract-template.pdf PDF]
[http://www.open-bio.org/wiki/Google_Summer_of_Code_2015_Ideas#Biocaml Project ideas]
[http://www.open-bio.org/wiki/Google_Summer_of_Code_2014#Loris_Cro vcf-mongo ]
[http://www.open-bio.org/wiki/Minutes:2013_Apr_ConfCall April 2013 Board meeting minutes]

We want to turn these into relative links, probably via the mediawiki to markdown script using pandoc.

peterjc added a commit that referenced this issue Feb 8, 2024
Most by hand, others with sed:

$ sed -i "s#\[http://www.open-bio.org/wiki/Hackathon Hackathons\]#[[Hackathons]]#g" *.mediawiki

$ sed -i "s#(see http://www.open-bio.org/wiki/Projects)#(see [[Projects]])#g" *.mediawiki

There are other examples, see #9.
@peterjc
Copy link
Member Author

peterjc commented Feb 8, 2024

Fixed most by hand, a couple can stay - the rest have anchors - how do they work with wiki links?:

$ grep  "http://www.open-bio.org/wiki/" *.mediawiki 
BOSC_2006_Invitation.mediawiki:http://www.open-bio.org/wiki/BOSC_2006
BOSC_2007_ISMB_Attendees_OBF.mediawiki:*** Online Documentation Sites http://www.open-bio.org/wiki/Projects
EU-Codefest_2014.mediawiki:The EU Codefest share the same [http://www.open-bio.org/wiki/Codefest_2014#Goals goals] as the OBF Codefest, which is usually organized along with the [[BOSC]].
Google_Summer_of_Code_2010_Org_Application.mediawiki:We have a list of information that every student must include with their application.  Pasted from http://www.open-bio.org/wiki/Google_Summer_of_Code#When_you_apply:
Google_Summer_of_Code_2011_Org_Application.mediawiki:We have a list of information that every student must include with their application.  Pasted from http://www.open-bio.org/wiki/Google_Summer_of_Code#When_you_apply:
Google_Summer_of_Code.mediawiki::* [http://www.open-bio.org/wiki/Google_Summer_of_Code_2015_Ideas#Biocaml Project ideas]
Google_Summer_of_Code.mediawiki:* [http://www.open-bio.org/wiki/Google_Summer_of_Code_2014#Loris_Cro vcf-mongo ]: Gene2Farm and WHEALBI European Research projects
Minutes_2014_Nov_ConfCall.mediawiki:As posted on http://www.open-bio.org/wiki/Minutes:2013_Dec_ConfCall

@peterjc
Copy link
Member Author

peterjc commented Feb 8, 2024

It appears anchors are/were not an out of the box option with Jekyll on GitHub Pages, thus solutions like https://github.com/allejo/jekyll-anchor-headings which looks fairly simple...

@peterjc peterjc changed the title Explicit http://www.open-bio.org/wiki/... links Explicit http://www.open-bio.org/wiki/... links using anchors Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant