Index: trunk/extensions/FlaggedRevs/FlaggedRevs.class.php |
— | — | @@ -211,7 +211,7 @@ |
212 | 212 | } |
213 | 213 | |
214 | 214 | /** |
215 | | - * Does FLaggedRevs only show for pages that have been set to do so? |
| 215 | + * Does FlaggedRevs only show for pages that have been set to do so? |
216 | 216 | * @returns bool |
217 | 217 | */ |
218 | 218 | public static function stableOnlyIfConfigured() { |
Index: trunk/extensions/FlaggedRevs/FlaggedRevs.hooks.php |
— | — | @@ -24,7 +24,9 @@ |
25 | 25 | if ( $wgUseTagFilter && ChangeTags::listDefinedTags() ) { |
26 | 26 | $list['ProblemChanges'] = $wgSpecialPages['ProblemChanges'] = 'ProblemChanges'; |
27 | 27 | } |
28 | | - $list['ReviewedPages'] = $wgSpecialPages['ReviewedPages'] = 'ReviewedPages'; |
| 28 | + if( !FlaggedRevs::stableOnlyIfConfigured() ) { |
| 29 | + $list['ReviewedPages'] = $wgSpecialPages['ReviewedPages'] = 'ReviewedPages'; |
| 30 | + } |
29 | 31 | $list['QualityOversight'] = $wgSpecialPages['QualityOversight'] = 'QualityOversight'; |
30 | 32 | $list['ValidationStatistics'] = $wgSpecialPages['ValidationStatistics'] = 'ValidationStatistics'; |
31 | 33 | if ( !$wgFlaggedRevsOverride ) { |