Last modified: 2010-05-15 16:03:30 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 T16385, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 14385 - "Move subpages" option attempts to move to invalid titles
"Move subpages" option attempts to move to invalid titles
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.13.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  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: ---


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

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.


Navigation
Links