Last modified: 2011-03-13 18:06:29 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 T21872, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19872 - Allow full range of characters in page titles
Allow full range of characters in page titles
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Lowest enhancement with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-22 05:29 UTC by rememberthedot
Modified: 2011-03-13 18:06 UTC (History)
2 users (show)

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


Attachments

Description rememberthedot 2009-07-22 05:29:25 UTC
Currently, we have a significant number of articles whose titles cannot be properly represented in MediaWiki because they use restricted characters. For example, the article [[Benzo(a)pyrene]] is actually supposed to be under "Benzo[a]pyrene", but MediaWiki doesn't permit brackets in titles.

I propose a proper escaping syntax for titles that would remove this limitation. Just as the title "C++" may be linked to by [[C%2B%2B]], "Benzo[a]pyrene" would be linkable by [[Benzo%5Ba%5Dpyrene]]. While editors would have to be educated about percent-encoding, this solution would make sure that the title shows up correctly in watchlists, logs, etc. Further, it would not lend itself to the rampant abuses offered by disabling $wgRestrictDisplayTitle.
Comment 1 Le Chat 2009-07-22 05:45:56 UTC
I don't know why some of these restrictions exist anyway. I can see why [[ or ]] would cause problems in a page title, but a single bracket, or single brace, or < > (as long as there was no actual tag involved) seem quite harmless. Even # with nothing coming after it ought to be implementable. Anyway, in whatever way works best, I second the request to make as many page titles as possible possible.
Comment 2 Brion Vibber 2009-07-27 17:14:04 UTC
This is to avoid bad interaction with markup; forcing humans to guesstimate how to use non-obvious escaping rules not very nice. Increasing our XSS attack surface also not cool.

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


Navigation
Links