r105173 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105172‎ | r105173 | r105174 >
Date:13:14, 5 December 2011
Author:catrope
Status:deferred
Tags:
Comment:
AFTv5: Fix comment typo and constructor parameters
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php (modified) (history)
  • /trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5.php
@@ -20,8 +20,8 @@
2121 /**
2222 * Constructor
2323 */
24 - public function __construct( $query, $moduleName ) {
25 - parent::__construct( $query, $moduleName, '' );
 24+ public function __construct( $main, $action ) {
 25+ parent::__construct( $main, $action );
2626 }
2727
2828 /**
Index: trunk/extensions/ArticleFeedbackv5/api/ApiArticleFeedbackv5Utils.php
@@ -61,7 +61,7 @@
6262 // Page a redirect?
6363 || $title->isRedirect()
6464 ) {
65 - // ...then feedback diabled
 65+ // ...then feedback disabled
6666 return false;
6767 }
6868 return true;

Status & tagging log