r103336 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103335‎ | r103336 | r103337 >
Date:16:35, 16 November 2011
Author:rsterbin
Status:deferred
Tags:
Comment:
Bug fix: ApiQueryArticleFeedbackv5 should have been removed from the autoloader and api registration
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php
@@ -185,7 +185,6 @@
186186
187187 // Autoloading
188188 $dir = dirname( __FILE__ ) . '/';
189 -$wgAutoloadClasses['ApiQueryArticleFeedbackv5'] = $dir . 'api/ApiQueryArticleFeedbackv5.php';
190189 $wgAutoloadClasses['ApiArticleFeedbackv5Utils'] = $dir . 'api/ApiArticleFeedbackv5Utils.php';
191190 $wgAutoloadClasses['ApiArticleFeedbackv5'] = $dir . 'api/ApiArticleFeedbackv5.php';
192191 $wgAutoloadClasses['ApiViewRatingsArticleFeedbackv5'] = $dir . 'api/ApiViewRatingsArticleFeedbackv5.php';
@@ -204,7 +203,6 @@
205204 $wgHooks['SkinTemplateNavigation'][] = 'ArticleFeedbackv5Hooks::addFeedbackLink';
206205
207206 // API Registration
208 -$wgAPIListModules['articlefeedbackv5'] = 'ApiQueryArticleFeedbackv5';
209207 $wgAPIListModules['articlefeedbackv5-view-ratings'] = 'ApiViewRatingsArticleFeedbackv5';
210208 $wgAPIModules['articlefeedbackv5'] = 'ApiArticleFeedbackv5';
211209

Status & tagging log