Index: trunk/extensions/FlaggedRevs/FlaggedRevs.php |
— | — | @@ -2044,7 +2044,7 @@ |
2045 | 2045 | $p['uniqueContentPages'] = isset($p['uniqueContentPages']) ? $p['uniqueContentPages'] : ''; |
2046 | 2046 | $p['totalContentEdits'] = isset($p['totalContentEdits']) ? $p['totalContentEdits'] : 0; |
2047 | 2047 | $p['editComments'] = isset($p['editComments']) ? $p['editComments'] : 0; |
2048 | | - if( $rev && $article->getTitle()->isContentPage() ) { |
| 2048 | + if( $article->getTitle()->isContentPage() ) { |
2049 | 2049 | $pages = explode( ',', trim($p['uniqueContentPages']) ); // page IDs |
2050 | 2050 | # Don't let this get bloated for no reason |
2051 | 2051 | if( count($pages) < $wgFlaggedRevsAutopromote['uniqueContentPages'] && !in_array($article->getId(),$pages) ) { |