r71498 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71497‎ | r71498 | r71499 >
Date:18:58, 23 August 2010
Author:reedy
Status:deferred
Tags:
Comment:
svn:keywords Id to api/ApiArticleAssessmentPilot.php

Fix call of Hooks function
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.php (modified) (history)
  • /trunk/extensions/ArticleAssessmentPilot/api/ApiArticleAssessmentPilot.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.php
@@ -5,21 +5,17 @@
66 //number of reviews
77 $wgArticleAssessmentRevisionCutoff = 5;
88
9 -
109 //Auto-load files
1110 $dir = dirname( __FILE__ ) . '/';
1211 $wgAutoloadClasses['ApiArticleAssessment'] = $dir . 'api/ApiArticleAssessment.php';
1312 $wgAutoloadClasses['ArticleAssessmentPilotHooks'] = $dir . 'ArticleAssessmentPilot.hooks.php';
1413
15 -
1614 //Schema and tables
1715 $wgHooks['LoadExtensionSchemaUpdates'][] = 'ArticleAssessmentPilotHooks::schema';
1816 $wgHooks['ParserTestTables'][] = 'ArticleAssessmentPilotHooks::parserTestTables';
1917
20 -
21 -
2218 //Hooks
23 -$wgHooks['SkinAfterContent'][] = 'ArticleAssessmentPilot::addCode';
 19+$wgHooks['SkinAfterContent'][] = 'ArticleAssessmentPilotHooks::addCode';
2420
2521 //API modules
2622 $wgAPIModules['articleassessment'] = 'ApiArticleAssessment';
@@ -29,7 +25,6 @@
3026 // Adds Internationalized Messages
3127 $wgExtensionMessagesFiles['ArticleAssessmentPilot'] = $dir . 'ArticleAssessmentPilot.i18n.php';
3228
33 -
3429 //Credits
3530 $wgExtensionCredits['other'][] = array(
3631 'path' => __FILE__,
Property changes on: trunk/extensions/ArticleAssessmentPilot/api/ApiArticleAssessmentPilot.php
___________________________________________________________________
Added: svn:keywords
3732 + Id

Follow-up revisions

RevisionCommit summaryAuthorDate
r71505Followup r71498 No point setting keywords Id if not using it...reedy19:25, 23 August 2010

Status & tagging log