Last modified: 2009-05-07 15:15:02 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 13926 - Sanitizer should check for duplicated user interface ids
Sanitizer should check for duplicated user interface ids
Status: RESOLVED DUPLICATE of bug 7356
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: html
  Show dependency treegraph
Reported: 2008-05-02 01:26 UTC by Danny B.
Modified: 2009-05-07 15:15 UTC (History)
2 users (show)

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


Description Danny B. 2008-05-02 01:26:27 UTC
Sanitizer should have a (black)list of ids used on user interface (outside bodyContent, + TOC & categories related), so if it finds out same id inside bodyContent, it should trim it out. Or optionally return error/warning so user will be informed there's error in wikitext.

Also another way, how to enforce not using of MediaWiki built-in ids is to rename all of them to certain form, I'd say with some prefix, such as "mw-<current_id_name>" and then Sanitizer simply can trim out (or return error/warning on) every id beginning with this prefix. But this is huge compatibility issue and would need to be solved carefully, preferably with some promotion before - list with old -> new ids, so people could fix their scripts, stylesheets and tools.
Comment 1 Siebrand Mazeland 2008-08-18 13:12:01 UTC
Assigned: Raimond. To either mark resolved, or to fix and mark resolved after that :)
Comment 2 Siebrand Mazeland 2008-08-18 13:13:17 UTC
Crap. Changed wrong bug. Reset to new.
Comment 3 David 2009-05-07 15:15:02 UTC

*** This bug has been marked as a duplicate of bug 7356 ***

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