Last modified: 2011-12-14 17:37:26 UTC
Wikilinks containing a section reference are not rendered nicely; they are rendered as written unless the editor who added the link also adds a nice format for it too. But in this case, the appearance is non-standard which is also not ideal. This is an example of the problem, consider the appearance which a link such as this will be given to a reader: [[Principles of NLP#Stated purpose of NLP]] Taking this as an example, I suggest the mediawiki engine performs a standard rendering of wikilink sections as follows: Article and section: [[Principles of NLP#Stated purpose of NLP]] Rendered as one of: Principles of NLP: Stated purpose of NLP Principles of NLP [section: Stated purpose of NLP] Section only: [[#Stated purpose of NLP]] Rendered as one of: (section) Stated purpose of NLP (ibid) Stated purpose of NLP
I like all of those except "ibid".
Section links are also not reflected in the link's title attribute, so there is no tool-tip indicating the precise destination. This is especially noticable in same-page links, which have a blank title. I would like to see something like "Principles of NLP: Stated purpose of NLP" in a section link, and especially something like "Jump to 'Stated purpose of NLP' on this page" for same-page links.
Note that rendering titles for section links would also render them for editor-created anchors, like footnotes and references.
Adding complexity to the parser? Not a good idea.
(In reply to comment #4) > Adding complexity to the parser? Not a good idea. This is not a valid reason to resolve a bug as "wontfix." Re-opening.