Last modified: 2010-05-15 16:03:30 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 14385 - "Move subpages" option attempts to move to invalid titles
"Move subpages" option attempts to move to invalid titles
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
  Show dependency treegraph
Reported: 2008-06-03 04:22 UTC by Alex Z.
Modified: 2010-05-15 16:03 UTC (History)
1 user (show)

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

Patch: use Title::newFromText (1.51 KB, patch)
2008-06-03 04:22 UTC, Alex Z.

Description Alex Z. 2008-06-03 04:22:07 UTC
Created attachment 4947 [details]
Patch: use Title::newFromText

The "move subpages" option creates Title objects using Title::makeTitle without checking if the input will allow the creation of a valid title. If a base page is moved to a very long title, subpages of the base page may have titles longer than 255 characters. The pages are still moved and logged as if the page was moved to the invalid title (except the links don't work), but the actual title in the database is truncated to 255 characters.
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-06-03 21:58:14 UTC
Committed with modifications in r35824.

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