From bc3bd919672d0bebf581bb9277a4bdd099c57c06 Mon Sep 17 00:00:00 2001 From: Brian Wolff Date: Fri, 17 Jun 2011 03:56:21 +0000 Subject: [PATCH] revert r87808 - Its broken, and looks rather complex to fix, especially with namespace aliases. See comments on r87808 for details. --- RELEASE-NOTES-1.19 | 1 - includes/specials/SpecialMovepage.php | 3 +-- resources/mediawiki.special/mediawiki.special.movePage.js | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/RELEASE-NOTES-1.19 b/RELEASE-NOTES-1.19 index d1a49bc14b..f79d6ee787 100644 --- a/RELEASE-NOTES-1.19 +++ b/RELEASE-NOTES-1.19 @@ -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. diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index ee37f8d6ff..61ae7085c0 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -229,8 +229,7 @@ class MovePageForm extends UnlistedSpecialPage { Xml::label( wfMsg( 'newtitle' ), 'wpNewTitle' ) . " " . - 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() ) . " diff --git a/resources/mediawiki.special/mediawiki.special.movePage.js b/resources/mediawiki.special/mediawiki.special.movePage.js index be238df2d2..2f94cc06c3 100644 --- a/resources/mediawiki.special/mediawiki.special.movePage.js +++ b/resources/mediawiki.special/mediawiki.special.movePage.js @@ -2,5 +2,4 @@ jQuery( function( $ ) { $( '#wpReason' ).byteLimit(); - $( '#wpNewTitle' ).byteLimit(); }); -- 2.20.1