Last modified: 2014-11-18 18:07:25 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 11911 - Template section edit issues: ghost sections and lost sections
Template section edit issues: ghost sections and lost sections
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://hu.wikipedia.org/wiki/User:Tgr...
:
Depends on: 12652
Blocks: 4899 11960
  Show dependency treegraph
 
Reported: 2007-11-09 14:07 UTC by Tisza Gergő
Modified: 2014-11-18 18:07 UTC (History)
3 users (show)

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


Attachments

Description Tisza Gergő 2007-11-09 14:07:44 UTC
When a section header is displayed through a template, numbers in section edit links will become misaligned. See example URL. For section titles displayed through templates, the scope of numbering seems to be restricted to the template, and for other titles, numbering skips those inside templates. Because of this, when a section header is used in a template, edit links of all subsequent sections refer to a wrong secton, which can be quite annoying on long pages.
Comment 1 Steve Sanbeg 2007-11-09 19:30:33 UTC
Passing wiki sections into a template gives weird results, since the heading is produced by the template, even though there's no section there.

Currently, the best option is just to use HTML syntax, since that avoids the problem with misinterpreting =, and prevents the edit links from getting associated with the template.
Comment 2 Tim Starling 2007-11-13 10:18:14 UTC
The test case demostrates two separate issues: 

1. Templates may generate sections in the output which don't exist in the template, thus giving invalid section edit links pointing to the template
2. Apparent sections in the page wikitext may be lost by passing them through to a template. The heading may reappear as a ghost template section (as per 1. above), or it may be removed altogether. 

Changing the bug title to describe these two issues. 

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


Navigation
Links