User "Bawolff" posted a comment on MediaWiki.r87808.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/87808#c17032
Commit summary:

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.

Comment:

Good catch, I didn't think of that.

Not sure how to enforce that with the maxlength limiting. Might need to just 
revert this.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to