Index: trunk/phase3/includes/SpecialRevisiondelete.php |
— | — | @@ -1371,8 +1371,8 @@ |
1372 | 1372 | $this->checkItem ( wfMsgForContent ( 'revdelete-uname' ), 4, $diff, $n, &$ret ); |
1373 | 1373 | |
1374 | 1374 | // Restriction application to sysops |
1375 | | - if ( $diff & 8 ) { |
1376 | | - if ( $n & 8 ) |
| 1375 | + if ( $diff & Revision::DELETED_RESTRICTED ) { |
| 1376 | + if ( $n & Revision::DELETED_RESTRICTED ) |
1377 | 1377 | $ret[2][] = wfMsgForContent ( 'revdelete-restricted' ); |
1378 | 1378 | else |
1379 | 1379 | $ret[2][] = wfMsgForContent ( 'revdelete-unrestricted' ); |