revert r87808 - Its broken, and looks rather complex to fix, especially with namespac...
authorBrian Wolff <bawolff@users.mediawiki.org>
Fri, 17 Jun 2011 03:56:21 +0000 (03:56 +0000)
committerBrian Wolff <bawolff@users.mediawiki.org>
Fri, 17 Jun 2011 03:56:21 +0000 (03:56 +0000)
See comments on r87808 for details.

RELEASE-NOTES-1.19
includes/specials/SpecialMovepage.php
resources/mediawiki.special/mediawiki.special.movePage.js

index d1a49bc..f79d6ee 100644 (file)
@@ -61,7 +61,6 @@ production.
   used in Tiff files.
 * When translcuding a special page, do not let it interpret url parameters.
 * (bug 28887) Special page classes are no longer re-used during 1 request.
-* New title field of Special:MovePage is now length limited on client side.
 * (bug 28888) Searching for something starting with a # sign no longer tells
   the user a page named [[:]] already exists.
 * (bug 23002) Imagelinks table not updated after imagemove.
index ee37f8d..61ae708 100644 (file)
@@ -229,8 +229,7 @@ class MovePageForm extends UnlistedSpecialPage {
                                        Xml::label( wfMsg( 'newtitle' ), 'wpNewTitle' ) .
                                "</td>
                                <td class='mw-input'>" .
-                                       Xml::input( 'wpNewTitle', 40, $wgContLang->recodeForEdit( $newTitle->getPrefixedText() ), array( 'type' => 'text', 'id' => 'wpNewTitle', 'maxlength' => 255 ) ) .
-                                       // maxLength enforced in JS.
+                                       Xml::input( 'wpNewTitle', 40, $wgContLang->recodeForEdit( $newTitle->getPrefixedText() ), array( 'type' => 'text', 'id' => 'wpNewTitle' ) ) .
                                        Html::hidden( 'wpOldTitle', $this->oldTitle->getPrefixedText() ) .
                                "</td>
                        </tr>
index be238df..2f94cc0 100644 (file)
@@ -2,5 +2,4 @@
 
 jQuery( function( $ ) {
        $( '#wpReason' ).byteLimit();
-       $( '#wpNewTitle' ).byteLimit();
 });