Last modified: 2009-05-07 15:15:02 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 T15926, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
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: ---


Attachments

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.


Navigation
Links