Index: trunk/phase3/maintenance/language/messages.inc |
— | — | @@ -2034,6 +2034,7 @@ |
2035 | 2035 | 'movepagetext', |
2036 | 2036 | 'movepagetalktext', |
2037 | 2037 | 'movearticle', |
| 2038 | + 'moveuserpage-warning', |
2038 | 2039 | 'movenologin', |
2039 | 2040 | 'movenologintext', |
2040 | 2041 | 'movenotallowed', |
Index: trunk/phase3/includes/specials/SpecialMovepage.php |
— | — | @@ -131,6 +131,9 @@ |
132 | 132 | </tr>"; |
133 | 133 | $err = ''; |
134 | 134 | } else { |
| 135 | + if ($this->oldTitle->getNamespace() == NS_USER && !$this->oldTitle->isSubpage() ) { |
| 136 | + $wgOut->addWikiMsg( 'moveuserpage-warning' ); |
| 137 | + } |
135 | 138 | $wgOut->addWikiMsg( 'movepagetext' ); |
136 | 139 | $movepagebtn = wfMsg( 'movepagebtn' ); |
137 | 140 | $submitVar = 'wpMove'; |
Index: trunk/phase3/languages/messages/MessagesEn.php |
— | — | @@ -3039,6 +3039,7 @@ |
3040 | 3040 | |
3041 | 3041 | In those cases, you will have to move or merge the page manually if desired.", |
3042 | 3042 | 'movearticle' => 'Move page:', |
| 3043 | +'moveuserpage-warning' => "'''Warning:''' You are about to move a user page. Please note that only the page will be moved and the user will ''not'' be renamed.", |
3043 | 3044 | 'movenologin' => 'Not logged in', |
3044 | 3045 | 'movenologintext' => 'You must be a registered user and [[Special:UserLogin|logged in]] to move a page.', |
3045 | 3046 | 'movenotallowed' => 'You do not have permission to move pages.', |