* parameters, like the second argument to OutputPage::wrapWikiMsg().
*/
function showForm( $err ) {
- global $wgContLang;
-
$this->getSkin()->setRelevantTitle( $this->oldTitle );
$out = $this->getOutput();
'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,
],
'help' => new OOUI\HtmlSnippet( $this->msg( 'movepagetalktext' )->parseAsBlock() ),
'align' => 'inline',
'infusable' => true,
+ 'id' => 'wpMovetalk-field',
]
);
}
$out->addWikiMsg( 'movesubpagetext', $this->getLanguage()->formatNum( $count ) );
$out->addHTML( "<ul>\n" );
+ $linkBatch = new LinkBatch( $subpages );
+ $linkBatch->setCaller( __METHOD__ );
+ $linkBatch->execute();
+
$linkRenderer = $this->getLinkRenderer();
foreach ( $subpages as $subpage ) {
$link = $linkRenderer->makeLink( $subpage );