Last modified: 2007-05-04 14:31:19 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 T11780, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9780 - Leading spaces after pagemoves
Leading spaces after pagemoves
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2007-05-04 00:14 UTC by Alex Z
Modified: 2007-05-04 14:31 UTC (History)
0 users

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


Description Alex Z 2007-05-04 00:14:51 UTC
It appears that if a page is moved to a title with a leading space, the space 
is not removed, essentially creating an unreachable article, as any standard 
link to it will redirect to the title without the space. This can cause 
problems with categorization, as it will categorize articles that don't seem to 
belong in the category at the very top, as they are sorted by the space, 
instead of the first letter, the link on the category page will still redirect 
to the non-space version. For example [
is categorized into 
[], creating a 
bluelink in the category that links to a deleted page.
Comment 1 Rob Church 2007-05-04 00:19:53 UTC
Please describe how a page is being moved to a title with a leading space; these
seem to be removed correctly in current trunk.
Comment 2 Alex Z 2007-05-04 00:34:04 UTC
(In reply to comment #1)
> Please describe how a page is being moved to a title with a leading space; 
theseseem to be removed correctly in current trunk.

According to the page history for the one I found
2C_Nirma_University%2C_Ahmedabad&action=history , the page was moved on April 
27, 2007. It may have been fixed since then. I can't seem to replicate it. It 
doesn't seem to still do it with page moves. Pages with leading spaces can 
still be created though, though not easily. See for example
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-05-04 02:18:04 UTC
Try saving from that link, it figures it out when you do that and redirects you
to the main page.  (It should figure it out before, though.)
Comment 4 Brion Vibber 2007-05-04 14:31:19 UTC
There was a bug in normalization with initial colon.

Fixed in r21853 on trunk, r21854 in REL1_10.

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