https://bugzilla.wikimedia.org/show_bug.cgi?id=72774

            Bug ID: 72774
           Summary: Can't use underscore in page titles
           Product: MediaWiki
           Version: 1.25-git
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: teo8...@gmail.com
       Web browser: ---
   Mobile Platform: ---

There's no way to create a page with an underscore in its title.
Underscores are treated incorrectly because
1) Spaces in titles are encoded as underscores
2) There's no way to "escape" an underscore.

Hence, here are a few example of epic fails:
1) In a page, write [[My_New_Page]]
=> this will be rendered as a link that reads My_New_Page which links to
creating a page
2) click the link, edit and save the page
3) Now in the original page, write [[My New Page]]

expected: the title of the saved page should be "My_New_Page". This page should
be distinguishable from a page whose title is "My New Page". The link [[My New
Page]] should link to a still-to-be-created page titled "My New Page" which
would not be the same as "My_New_Page". If at all needed, a mechanism for
escaping undersores should be provided.

observed: the page that you create as "My_New_page" is actually saved as a page
whose title is "My New Page". Both [[My_New_page]] and [[My New Page]] link to
the same page, which is titled "My New Page". There's no such thing as a page
with underscores in the title, and that's wrong. If you try to rename (i.e.
move) the page "My New Page" to "My_New_Page", it will issue an error saying a
page cannot be moved onto itself.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to