http://www.mediawiki.org/wiki/Special:Code/MediaWiki/89760

Revision: 89760
Author:   catrope
Date:     2011-06-09 08:32:21 +0000 (Thu, 09 Jun 2011)
Log Message:
-----------
Fix some typos in r89277

Modified Paths:
--------------
    trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php
    trunk/extensions/ArticleFeedback/populateAFStatistics.php

Modified: trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php
===================================================================
--- trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php  2011-06-09 
07:15:02 UTC (rev 89759)
+++ trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php  2011-06-09 
08:32:21 UTC (rev 89760)
@@ -202,7 +202,7 @@
                                ) );
                        } else {
                                // add article_feedback_stats and 
article_feedback_stats_type
-                               if ( !$db->tableExists( 
'article_feedback_stats_type' )) {
+                               if ( !$db->tableExists( 
'article_feedback_stats_types' )) {
                                        $updater->addExtensionUpdate( array(
                                                'addTable',
                                                'article_feedback_stats_types',

Modified: trunk/extensions/ArticleFeedback/populateAFStatistics.php
===================================================================
--- trunk/extensions/ArticleFeedback/populateAFStatistics.php   2011-06-09 
07:15:02 UTC (rev 89759)
+++ trunk/extensions/ArticleFeedback/populateAFStatistics.php   2011-06-09 
08:32:21 UTC (rev 89760)
@@ -186,6 +186,9 @@
                if ( !$stats_type_id ) {
                        $stats_type_id = $this->addStatType( 'problems' );
                }
+               
+               $rows = array();
+               $cur_ts = $this->dbw->timestamp();
                foreach( $problems as $page_id ) {
                        $page = $this->pages->getPage( $page_id );
                        $rows[] = array(
@@ -539,7 +542,7 @@
                if ( !isset( $this->problematic )) {
                        $this->determineProblematicStatus();
                }
-               return $this->probematic;
+               return $this->problematic;
        }
        
        /**


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to