Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -1881,6 +1881,8 @@ |
1882 | 1882 | 'movepagebtn', |
1883 | 1883 | 'pagemovedsub', |
1884 | 1884 | 'movepage-moved', |
| 1885 | + 'movepage-moved-redirect', |
| 1886 | + 'movepage-moved-noredirect', |
1885 | 1887 | 'articleexists', |
1886 | 1888 | 'cantmove-titleprotected', |
1887 | 1889 | 'talkexists', |
Index: trunk/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -349,7 +349,9 @@ |
350 | 350 | $oldLink = "<span class='plainlinks'>[$oldUrl $oldText]</span>"; |
351 | 351 | $newLink = "<span class='plainlinks'>[$newUrl $newText]</span>"; |
352 | 352 | |
| 353 | + $msgName = $createRedirect ? 'movepage-moved-redirect' : 'movepage-moved-noredirect'; |
353 | 354 | $wgOut->addWikiMsg( 'movepage-moved', $oldLink, $newLink, $oldText, $newText ); |
| 355 | + $wgOut->addWikiMsg( $msgName ); |
354 | 356 | |
355 | 357 | # Now we move extra pages we've been asked to move: subpages and talk |
356 | 358 | # pages. First, if the old page or the new page is a talk page, we |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -2704,6 +2704,8 @@ |
2705 | 2705 | 'movepagebtn' => 'Move page', |
2706 | 2706 | 'pagemovedsub' => 'Move succeeded', |
2707 | 2707 | '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. |
| 2708 | +'movepage-moved-redirect' => 'A redirect has been created.', |
| 2709 | +'movepage-moved-noredirect' => 'The creation of a redirect has been suppressed.', |
2708 | 2710 | 'articleexists' => 'A page of that name already exists, or the name you have chosen is not valid. |
2709 | 2711 | Please choose another name.', |
2710 | 2712 | 'cantmove-titleprotected' => 'You cannot move a page to this location, because the new title has been protected from creation', |