Index: trunk/phase3/includes/specials/SpecialContributions.php |
— | — | @@ -447,7 +447,7 @@ |
448 | 448 | |
449 | 449 | function __construct( $target, $namespace = false, $year = false, $month = false, $tagFilter = false ) { |
450 | 450 | parent::__construct(); |
451 | | - foreach( explode( ' ', 'uctop diff newarticle rollbacklink diff hist' ) as $msg ) { |
| 451 | + foreach( explode( ' ', 'uctop diff newarticle rollbacklink diff hist rev-delundel' ) as $msg ) { |
452 | 452 | $this->messages[$msg] = wfMsgExt( $msg, array( 'escape') ); |
453 | 453 | } |
454 | 454 | $this->target = $target; |
— | — | @@ -638,12 +638,12 @@ |
639 | 639 | } else { |
640 | 640 | $mflag = ''; |
641 | 641 | } |
642 | | - |
| 642 | + |
643 | 643 | if( $wgUser->isAllowed( 'deleterevision' ) ) { |
644 | 644 | // If revision was hidden from sysops |
645 | 645 | if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) { |
646 | 646 | $del = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), |
647 | | - '(' . $this->message['rev-delundel'] . ')' ) . ' '; |
| 647 | + '(' . $this->messages['rev-delundel'] . ')' ) . ' '; |
648 | 648 | // Otherwise, show the link... |
649 | 649 | } else { |
650 | 650 | $query = array( |