From 349ef821d66a54ee0c6b7ce6024bded399518e95 Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Mon, 7 Sep 2009 18:53:59 +0000 Subject: [PATCH] Follow-up r50177: Fix a PHP notice due to typo in arrayname, message key missed too. Notice: Undefined property: ContribsPager::$message in F:\xampp\htdocs\wiki2\includes\specials\SpecialContributions.php on line 646 --- includes/specials/SpecialContributions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/specials/SpecialContributions.php b/includes/specials/SpecialContributions.php index f34eeafdb2..b1359f3ba5 100644 --- a/includes/specials/SpecialContributions.php +++ b/includes/specials/SpecialContributions.php @@ -447,7 +447,7 @@ class ContribsPager extends ReverseChronologicalPager { function __construct( $target, $namespace = false, $year = false, $month = false, $tagFilter = false ) { parent::__construct(); - foreach( explode( ' ', 'uctop diff newarticle rollbacklink diff hist' ) as $msg ) { + foreach( explode( ' ', 'uctop diff newarticle rollbacklink diff hist rev-delundel' ) as $msg ) { $this->messages[$msg] = wfMsgExt( $msg, array( 'escape') ); } $this->target = $target; @@ -638,12 +638,12 @@ class ContribsPager extends ReverseChronologicalPager { } else { $mflag = ''; } - + if( $wgUser->isAllowed( 'deleterevision' ) ) { // If revision was hidden from sysops if( !$rev->userCan( Revision::DELETED_RESTRICTED ) ) { $del = Xml::tags( 'span', array( 'class'=>'mw-revdelundel-link' ), - '(' . $this->message['rev-delundel'] . ')' ) . ' '; + '(' . $this->messages['rev-delundel'] . ')' ) . ' '; // Otherwise, show the link... } else { $query = array( -- 2.20.1