You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the html-document (that goes online) the anchor is lower case: <h4 id="papers"...
So http://biopython.org/wiki/Documentation#papers does work.
Actually I wonder, where are the anchors in the markdown document? What's the magic behind this?
It looks like MediaWiki requires the final URL follows some canonical title case rules, and likely does this internally when rendering the original text into HTML:
My guess is the Jekyll/kramdown stack has its own rules for the case of the automatic anchor names, which differ, and we may need to tweak the links to match? More investigation is needed.
Activity
MarkusPiotrowski commentedon Apr 13, 2016
In the html-document (that goes online) the anchor is lower case:
<h4 id="papers"...So http://biopython.org/wiki/Documentation#papers does work.
Actually I wonder, where are the anchors in the markdown document? What's the magic behind this?
peterjc commentedon Apr 13, 2016
It looks like MediaWiki requires the final URL follows some canonical title case rules, and likely does this internally when rendering the original text into HTML:
https://www.mediawiki.org/wiki/Help:Links#Internal_links <-- works
https://www.mediawiki.org/wiki/Help:Links#Internal_Links <-- fails
My guess is the Jekyll/kramdown stack has its own rules for the case of the automatic anchor names, which differ, and we may need to tweak the links to match? More investigation is needed.
MarkusPiotrowski commentedon May 2, 2016
I have checked a few of them. Jekyll seem to make them all lower-case and hyphen instead of underscore, e.g. instead of
SeqIO#File_Formatsthis is the correct link:
SeqIO#file-formatsHowever, this seems to be a minor problem, there are approx. 8 internal links with anchors in 4 pages.
peterjc commentedon May 2, 2016
OK, so we should just change the URLs to match the new anchors?
(We can't fix any external anchors, but at least such links will still go to the right page)
MarkusPiotrowski commentedon May 3, 2016
Yes, I'm working on it.
peterjc commentedon May 3, 2016
Closing this on the assumption pull request #68 resolved it, thanks Markus.