Index: trunk/extensions/FlaggedRevs/FlaggedArticle.php |
— | — | @@ -81,7 +81,9 @@ |
82 | 82 | public function isReviewable( $titleOnly = false ) { |
83 | 83 | if( !FlaggedRevs::isPageReviewable( $this->getTitle() ) ) { |
84 | 84 | return false; |
85 | | - } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly() && !$this->showStableByDefault() ) { |
| 85 | + } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly() |
| 86 | + && !$this->showStableByDefault() ) |
| 87 | + { |
86 | 88 | return false; |
87 | 89 | } |
88 | 90 | return true; |
— | — | @@ -95,7 +97,9 @@ |
96 | 98 | public function isPatrollable( $titleOnly = false ) { |
97 | 99 | if( FlaggedRevs::isPagePatrollable( $this->getTitle() ) ) { |
98 | 100 | return true; |
99 | | - } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly() && !$this->showStableByDefault() ) { |
| 101 | + } elseif( !$titleOnly && FlaggedRevs::forDefaultVersionOnly() |
| 102 | + && !$this->showStableByDefault() ) |
| 103 | + { |
100 | 104 | return true; |
101 | 105 | } |
102 | 106 | return false; |