X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMovepage.php;h=f0b463a1e01071154e44eb3a166d7ceae1465075;hb=ad1979423e82481380ee313b7fc3d0cb2ee4bd85;hp=20a508d47e61034b398ccfc9843972abd81e92d0;hpb=5baa49450c303cfd603063c77440a02c06003a03;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index 20a508d47e..f0b463a1e0 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -139,8 +139,6 @@ class MovePageForm extends UnlistedSpecialPage { * parameters, like the second argument to OutputPage::wrapWikiMsg(). */ function showForm( $err ) { - global $wgContLang; - $this->getSkin()->setRelevantTitle( $this->oldTitle ); $out = $this->getOutput(); @@ -316,7 +314,7 @@ class MovePageForm extends UnlistedSpecialPage { 'title' => [ 'id' => 'wpNewTitleMain', 'name' => 'wpNewTitleMain', - 'value' => $wgContLang->recodeForEdit( $newTitle->getText() ), + 'value' => $newTitle->getText(), // Inappropriate, since we're expecting the user to input a non-existent page's title 'suggestions' => false, ], @@ -355,6 +353,7 @@ class MovePageForm extends UnlistedSpecialPage { 'help' => new OOUI\HtmlSnippet( $this->msg( 'movepagetalktext' )->parseAsBlock() ), 'align' => 'inline', 'infusable' => true, + 'id' => 'wpMovetalk-field', ] ); } @@ -805,6 +804,10 @@ class MovePageForm extends UnlistedSpecialPage { $out->addWikiMsg( 'movesubpagetext', $this->getLanguage()->formatNum( $count ) ); $out->addHTML( "