Prevent user from trying to move a page to a title longer than 255 bytes.
authorBrian Wolff <bawolff@users.mediawiki.org>
Tue, 10 May 2011 05:36:15 +0000 (05:36 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Tue, 10 May 2011 05:36:15 +0000 (05:36 +0000)
commit9376c84fa96a1be5c35d2c94f1946bfa22d6da3f
tree7262a4439566c076d258b42ab245f05044eaef5f
parent0c8ecd43bcca3d7942f8d91e9d3cce5ee0e67208
Prevent user from trying to move a page to a title longer than 255 bytes.

This just puts a maxlength on the field (+ byte counter js) which is much
nicer and clearer feedback to the user if they went over the limit then:
"The requested page title was invalid, empty, or an incorrectly linked inter-language or inter-wiki title. It may contain one or more characters which cannot be used in titles"
Which doesn't exactly indicate a length error.
RELEASE-NOTES-1.19
includes/specials/SpecialMovepage.php
resources/mediawiki.special/mediawiki.special.movePage.js