Index: trunk/extensions/Renameuser/SpecialRenameuser_body.php |
— | — | @@ -52,7 +52,7 @@ |
53 | 53 | <td align='right'>$renameusernew </td> |
54 | 54 | <td align='left'><input tabindex='2' type='text' size='20' name='newusername' value=\"$nun\"/></td> |
55 | 55 | </tr>" ); |
56 | | - if ( $wgUser->isAllowed( 'move' ) ) { |
| 56 | + if ( $wgUser->isAllowed( 'move' ) && version_compare( $wgVersion, '1.9alpha', '>=' ) ) { |
57 | 57 | $wgOut->addHTML( " |
58 | 58 | <tr> |
59 | 59 | <td> </td> |
— | — | @@ -129,7 +129,7 @@ |
130 | 130 | |
131 | 131 | $wgOut->addWikiText( wfMsg( 'renameusersuccess', $oldusername->getText(), $newusername->getText() ) ); |
132 | 132 | |
133 | | - if ( $wgRequest->getCheck( 'movepages' ) && $wgUser->isAllowed( 'move' ) ) { |
| 133 | + if ( $wgRequest->getCheck( 'movepages' ) && $wgUser->isAllowed( 'move' ) && version_compare( $wgVersion, '1.9alpha', '>=' ) ) { |
134 | 134 | $dbr =& wfGetDB( DB_SLAVE ); |
135 | 135 | $pages = $dbr->select( |
136 | 136 | 'page', |