Enable show/hide link on diff to cur (consistency)
This commit is contained in:
parent
b0c6c5003e
commit
2a763847ca
1 changed files with 1 additions and 4 deletions
|
|
@ -316,10 +316,7 @@ CONTROL;
|
|||
$ldel = $sk->revDeleteLink( $query, $this->mOldRev->isDeleted( Revision::DELETED_RESTRICTED ) );
|
||||
}
|
||||
$ldel = " $ldel ";
|
||||
// We don't currently handle well changing the top revision's settings
|
||||
if( $this->mNewRev->isCurrent() ) {
|
||||
$rdel = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), '('.wfMsgHtml( 'rev-delundel' ).')' );
|
||||
} else if( !$this->mNewRev->userCan( Revision::DELETED_RESTRICTED ) ) {
|
||||
if( !$this->mNewRev->userCan( Revision::DELETED_RESTRICTED ) ) {
|
||||
// If revision was hidden from sysops
|
||||
$rdel = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), '('.wfMsgHtml( 'rev-delundel' ).')' );
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue