$oldLink = "<span class='plainlinks'>[$oldUrl $oldText]</span>";
$newLink = "<span class='plainlinks'>[$newUrl $newText]</span>";
+ $msgName = $createRedirect ? 'movepage-moved-redirect' : 'movepage-moved-noredirect';
$wgOut->addWikiMsg( 'movepage-moved', $oldLink, $newLink, $oldText, $newText );
+ $wgOut->addWikiMsg( $msgName );
# Now we move extra pages we've been asked to move: subpages and talk
# pages. First, if the old page or the new page is a talk page, we
'movepagebtn' => 'Move page',
'pagemovedsub' => 'Move succeeded',
'movepage-moved' => '<big>\'\'\'"$1" has been moved to "$2"\'\'\'</big>', # The two titles are passed in plain text as $3 and $4 to allow additional goodies in the message.
+'movepage-moved-redirect' => 'A redirect has been created.',
+'movepage-moved-noredirect' => 'The creation of a redirect has been suppressed.',
'articleexists' => 'A page of that name already exists, or the name you have chosen is not valid.
Please choose another name.',
'cantmove-titleprotected' => 'You cannot move a page to this location, because the new title has been protected from creation',
'movepagebtn',
'pagemovedsub',
'movepage-moved',
+ 'movepage-moved-redirect',
+ 'movepage-moved-noredirect',
'articleexists',
'cantmove-titleprotected',
'talkexists',