r59542 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r59541‎ | r59542 | r59543 >
Date:08:39, 29 November 2009
Author:aaron
Status:ok
Tags:
Comment:
break long lines
Modified paths:
  • /trunk/extensions/FlaggedRevs/FlaggedArticle.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php
@@ -81,7 +81,9 @@
8282 public function isReviewable( $titleOnly = false ) {
8383 if( !FlaggedRevs::isPageReviewable( $this->getTitle() ) ) {
8484 return false;
85 - } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly() && !$this->showStableByDefault() ) {
 85+ } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly()
 86+ && !$this->showStableByDefault() )
 87+ {
8688 return false;
8789 }
8890 return true;
@@ -95,7 +97,9 @@
9698 public function isPatrollable( $titleOnly = false ) {
9799 if( FlaggedRevs::isPagePatrollable( $this->getTitle() ) ) {
98100 return true;
99 - } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly() && !$this->showStableByDefault() ) {
 101+ } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly()
 102+ && !$this->showStableByDefault() )
 103+ {
100104 return true;
101105 }
102106 return false;

Status & tagging log