From 4ac9fa081a7c045f6a9f1cfc529d82423f485b2e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 8 Dec 2013 09:55:49 +0100 Subject: Update to MediaWiki 1.22.0 --- includes/RevisionList.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'includes/RevisionList.php') diff --git a/includes/RevisionList.php b/includes/RevisionList.php index d87c540f..1b865bb0 100644 --- a/includes/RevisionList.php +++ b/includes/RevisionList.php @@ -105,7 +105,7 @@ abstract class RevisionListBase extends ContextSource { * @return int */ public function length() { - if( !$this->res ) { + if ( !$this->res ) { return 0; } else { return $this->res->numRows(); @@ -352,8 +352,7 @@ class RevisionItem extends RevisionItemBase { if ( $this->isDeleted() && !$this->canViewContent() ) { return $this->context->msg( 'diff' )->escaped(); } else { - return - Linker::link( + return Linker::link( $this->list->title, $this->context->msg( 'diff' )->escaped(), array(), -- cgit v1.2.2