Index: trunk/phase3/includes/SpecialRevisiondelete.php |
— | — | @@ -1366,9 +1366,12 @@ |
1367 | 1367 | $diff = $n ^ $o; |
1368 | 1368 | $ret = array ( 0 => array(), 1 => array(), 2 => array() ); |
1369 | 1369 | |
1370 | | - $this->checkItem ( wfMsgForContent ( 'revdelete-content' ), 1, $diff, $n, $ret ); |
1371 | | - $this->checkItem ( wfMsgForContent ( 'revdelete-summary' ), 2, $diff, $n, $ret ); |
1372 | | - $this->checkItem ( wfMsgForContent ( 'revdelete-uname' ), 4, $diff, $n, $ret ); |
| 1370 | + $this->checkItem ( wfMsgForContent ( 'revdelete-content' ), |
| 1371 | + Revision::DELETED_TEXT, $diff, $n, $ret ); |
| 1372 | + $this->checkItem ( wfMsgForContent ( 'revdelete-summary' ), |
| 1373 | + Revision::DELETED_COMMENT, $diff, $n, $ret ); |
| 1374 | + $this->checkItem ( wfMsgForContent ( 'revdelete-uname' ), |
| 1375 | + Revision::DELETED_USER, $diff, $n, $ret ); |
1373 | 1376 | |
1374 | 1377 | // Restriction application to sysops |
1375 | 1378 | if ( $diff & Revision::DELETED_RESTRICTED ) { |