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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 4034 - HTML headings point to nonexistent sections when transcluded
HTML headings point to nonexistent sections when transcluded
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
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: ---


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.