Author: jra
Description:
MediaWiki currently generates A (anchor) tags in pages at the beginning of
sections with both NAME and ID properties based on the text of the section
label/separator.
This can be problematic, since the purpose of those tags is to be linked to --
which means that if someone links to them, and you then change them, external
markup (that you don't even know about) breaks.
One possible solution would be to extend the vertical-bar semantics, currently
used for [URL|text link] and [[page_name|substitute text]] cases, to work in
section headers as well, like so:
TV|Television Coverage
Which would render as
<p><a name="TV" id="TV"></a></p>
<h2>Television Coverage</h2>
This would break any current section headers which happen to contain a vertical
bar character as text, but those are likely not to be too common, and the issue
could be dealt with for outstanding instances by a striping process, if necessary.
Version: unspecified
Severity: enhancement