r106250 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106249‎ | r106250 | r106251 >
Date:22:00, 14 December 2011
Author:yonishostak
Status:ok
Tags:
Comment:
AFTv5: disable special page APIs as well, per Roan's request
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php
@@ -242,9 +242,9 @@
243243 $wgHooks['ArticleSaveComplete'][] = 'ArticleFeedbackv5Hooks::trackEdit';
244244
245245 // API Registration
246 -$wgAPIListModules['articlefeedbackv5-view-ratings'] = 'ApiViewRatingsArticleFeedbackv5';
247 -$wgAPIListModules['articlefeedbackv5-view-feedback'] = 'ApiViewFeedbackArticleFeedbackv5';
248 -$wgAPIModules['articlefeedbackv5-flag-feedback'] = 'ApiFlagFeedbackArticleFeedbackv5';
 246+//$wgAPIListModules['articlefeedbackv5-view-ratings'] = 'ApiViewRatingsArticleFeedbackv5';
 247+//$wgAPIListModules['articlefeedbackv5-view-feedback'] = 'ApiViewFeedbackArticleFeedbackv5';
 248+//$wgAPIModules['articlefeedbackv5-flag-feedback'] = 'ApiFlagFeedbackArticleFeedbackv5';
249249 $wgAPIModules['articlefeedbackv5'] = 'ApiArticleFeedbackv5';
250250
251251 // Special Page

Status & tagging log