r89760 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89759‎ | r89760 | r89761 >
Date:08:32, 9 June 2011
Author:catrope
Status:ok
Tags:
Comment:
Fix some typos in r89277
Modified paths:
  • /trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php (modified) (history)
  • /trunk/extensions/ArticleFeedback/populateAFStatistics.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php
@@ -202,7 +202,7 @@
203203 ) );
204204 } else {
205205 // add article_feedback_stats and article_feedback_stats_type
206 - if ( !$db->tableExists( 'article_feedback_stats_type' )) {
 206+ if ( !$db->tableExists( 'article_feedback_stats_types' )) {
207207 $updater->addExtensionUpdate( array(
208208 'addTable',
209209 'article_feedback_stats_types',
Index: trunk/extensions/ArticleFeedback/populateAFStatistics.php
@@ -186,6 +186,9 @@
187187 if ( !$stats_type_id ) {
188188 $stats_type_id = $this->addStatType( 'problems' );
189189 }
 190+
 191+ $rows = array();
 192+ $cur_ts = $this->dbw->timestamp();
190193 foreach( $problems as $page_id ) {
191194 $page = $this->pages->getPage( $page_id );
192195 $rows[] = array(
@@ -539,7 +542,7 @@
540543 if ( !isset( $this->problematic )) {
541544 $this->determineProblematicStatus();
542545 }
543 - return $this->probematic;
 546+ return $this->problematic;
544547 }
545548
546549 /**

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89277Added 'problem articles' view to dashboard; refactored dashboard code (popula...awjrichards18:32, 1 June 2011

Status & tagging log