Index: trunk/extensions/ArticleFeedbackv5/populateAFStatistics.php |
— | — | @@ -182,7 +182,7 @@ |
183 | 183 | |
184 | 184 | // populate stats table with problem articles & associated data |
185 | 185 | // fetch stats type id - add stat type if it's non-existent |
186 | | - $stats_type_id = SpecialArticleFeedback::getStatsTypeId( 'problems' ); |
| 186 | + $stats_type_id = SpecialArticleFeedbackv5::getStatsTypeId( 'problems' ); |
187 | 187 | if ( !$stats_type_id ) { |
188 | 188 | $stats_type_id = $this->addStatType( 'problems' ); |
189 | 189 | } |
— | — | @@ -235,7 +235,7 @@ |
236 | 236 | $this->output( "Caching latest problems (if cache present).\n" ); |
237 | 237 | // grab the article feedback special page so we can reuse the data structure building code |
238 | 238 | // FIXME this logic should not be in the special page class |
239 | | - $problems = SpecialArticleFeedback::buildProblems( $rowsCopy ); |
| 239 | + $problems = SpecialArticleFeedbackv5::buildProblems( $rowsCopy ); |
240 | 240 | // stash the data structure in the cache |
241 | 241 | $key = wfMemcKey( 'article_feedback_stats_problems' ); |
242 | 242 | $wgMemc->set( $key, $problems, 86400 ); |
— | — | @@ -291,7 +291,7 @@ |
292 | 292 | $this->output( "Done\n" ); |
293 | 293 | |
294 | 294 | // fetch stats type id - add stat type if it's non-existant |
295 | | - $stats_type_id = SpecialArticleFeedback::getStatsTypeId( 'highs_and_lows' ); |
| 295 | + $stats_type_id = SpecialArticleFeedbackv5::getStatsTypeId( 'highs_and_lows' ); |
296 | 296 | if ( !$stats_type_id ) { |
297 | 297 | $stats_type_id = $this->addStatType( 'highs_and_lows' ); |
298 | 298 | } |
— | — | @@ -335,7 +335,7 @@ |
336 | 336 | $key = wfMemcKey( 'article_feedback_stats_highs_lows' ); |
337 | 337 | // grab the article feedback special page so we can reuse the data structure building code |
338 | 338 | // FIXME this logic should not be in the special page class |
339 | | - $highs_lows = SpecialArticleFeedback::buildHighsAndLows( $rowsCopy ); |
| 339 | + $highs_lows = SpecialArticleFeedbackv5::buildHighsAndLows( $rowsCopy ); |
340 | 340 | // stash the data structure in the cache |
341 | 341 | $wgMemc->set( $key, $highs_lows, 86400 ); |
342 | 342 | $this->output( "Done\n" ); |
Index: trunk/extensions/ArticleFeedbackv5/SpecialArticleFeedbackv5.php |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | * @ingroup Extensions |
8 | 8 | */ |
9 | 9 | |
10 | | -class SpecialArticleFeedback extends SpecialPage { |
| 10 | +class SpecialArticleFeedbackv5 extends SpecialPage { |
11 | 11 | |
12 | 12 | /* Methods */ |
13 | 13 | |