X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMovepage.php;h=7b7661d0370cbacb6895b16302564921b55833d9;hb=bcd377cd008f8a8628ab727c3fa90090725d6c10;hp=d0c44c33fd5f1ed7f1279f3408859bde19e6d346;hpb=b86ef89dd17f51841a220e8ef9b3b8b2402e2547;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index d0c44c33fd..7b7661d037 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -223,7 +223,7 @@ class MovePageForm extends UnlistedSpecialPage { ( $oldTalk->exists() || ( $oldTitleTalkSubpages && $canMoveSubpage ) ); - $dbr = wfGetDB( DB_SLAVE ); + $dbr = wfGetDB( DB_REPLICA ); if ( $this->getConfig()->get( 'FixDoubleRedirects' ) ) { $hasRedirects = $dbr->selectField( 'redirect', '1', [ @@ -353,6 +353,7 @@ class MovePageForm extends UnlistedSpecialPage { 'help' => new OOUI\HtmlSnippet( $this->msg( 'movepagetalktext' )->parseAsBlock() ), 'align' => 'inline', 'infusable' => true, + 'id' => 'wpMovetalk-field', ] ); } @@ -461,7 +462,7 @@ class MovePageForm extends UnlistedSpecialPage { 'name' => 'wpMove', 'value' => $this->msg( 'movepagebtn' )->text(), 'label' => $this->msg( 'movepagebtn' )->text(), - 'flags' => [ 'constructive', 'primary' ], + 'flags' => [ 'primary', 'progressive' ], 'type' => 'submit', ] ), [ @@ -803,6 +804,10 @@ class MovePageForm extends UnlistedSpecialPage { $out->addWikiMsg( 'movesubpagetext', $this->getLanguage()->formatNum( $count ) ); $out->addHTML( "