Last modified: 2008-02-27 03:45:17 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T6034, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 4034 - HTML headings point to nonexistent sections when transcluded
HTML headings point to nonexistent sections when transcluded
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
unspecified
All All
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 12652
Blocks: 4899
  Show dependency treegraph
 
Reported: 2005-11-20 02:23 UTC by grm_wnr
Modified: 2008-02-27 03:45 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description grm_wnr 2005-11-20 02:23:56 UTC
If a heading (created with <hX></hX>, the equal sign won't work at all for
obvious reasons) is passed as a parameter to a template, and the template
displays it as a regular section heading with an [edit] link, the edit link will
refer to a section of the template-including page, not to the template.
Comment 1 Steve Sanbeg 2006-11-10 23:13:25 UTC
Note this has nothing to do with parameters; HTML headings in templates *always*
produce edit section links pointing to the main page.  

That's beacuse they are marked as belonging to the template when they are in
wiki syntax, but the edit section links are added later, to the HTML, while the
TOC is built.

You could probably work around this by creating a template with the equal signs,
and using that, i.e. arg={[eq|3}]text{{eq|3}}

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links