X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMovepage.php;h=589c39f0949b9bba6121fb6501b38862a60f38df;hb=0e1c391d97418e646a58d6f6f2545a83271b07ff;hp=aa71d3c19f57ce96e4fcb636fff82886ebb8ea62;hpb=4a883e2ec8dec91254b3232af298014121642d19;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index aa71d3c19f..589c39f094 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -142,8 +142,6 @@ class MovePageForm extends UnlistedSpecialPage { $this->getSkin()->setRelevantTitle( $this->oldTitle ); - $oldTitleLink = Linker::link( $this->oldTitle ); - $out = $this->getOutput(); $out->setPageTitle( $this->msg( 'move-page', $this->oldTitle->getPrefixedText() ) ); $out->addModules( 'mediawiki.special.movePage' ); @@ -230,10 +228,6 @@ class MovePageForm extends UnlistedSpecialPage { $hasRedirects = false; } - if ( $considerTalk ) { - $out->addWikiMsg( 'movepagetalktext' ); - } - if ( count( $err ) ) { $out->addHTML( "
\n" ); $action_desc = $this->msg( 'action-move' )->plain(); @@ -302,16 +296,6 @@ class MovePageForm extends UnlistedSpecialPage { $out->enableOOUI(); $fields = array(); - $fields[] = new OOUI\FieldLayout( - new OOUI\LabelWidget( array( - 'label' => new OOUI\HtmlSnippet( "$oldTitleLink" ) - ) ), - array( - 'label' => $this->msg( 'movearticle' )->text(), - 'align' => 'top', - ) - ); - $fields[] = new OOUI\FieldLayout( new MediaWiki\Widget\ComplexTitleInputWidget( array( 'id' => 'wpNewTitle', @@ -360,7 +344,9 @@ class MovePageForm extends UnlistedSpecialPage { ) ), array( 'label' => $this->msg( 'movetalk' )->text(), + 'help' => new OOUI\HtmlSnippet( $this->msg( 'movepagetalktext' )->parseAsBlock() ), 'align' => 'inline', + 'infusable' => true, ) ); }