r71539 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r71538‎ | r71539 | r71540 >
Date:01:18, 24 August 2010
Author:reedy
Status:deferred (Comments)
Tags:
Comment:
Fix hook declaration

Add myself to credits
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.hooks.php (modified) (history)
  • /trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.php
@@ -30,7 +30,7 @@
3131 $wgExtensionCredits['other'][] = array(
3232 'path' => __FILE__,
3333 'name' => 'Article Assessment Pilot',
34 - 'author' => 'Nimish Gautam',
 34+ 'author' => 'Nimish Gautam, Sam Reed',
3535 'version' => '0.1.0',
3636 'descriptionmsg' => 'articleassessment-pilot-desc',
3737 'url' => 'http://www.mediawiki.org/wiki/Extension:ArticleAsessmentPilot'
Index: trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.hooks.php
@@ -32,7 +32,7 @@
3333 return true;
3434 }
3535
36 - public static function addCode(){
 36+ public static function addCode( &$data ) {
3737 //check if this page should have the form
3838
3939 //write the form
@@ -41,5 +41,4 @@
4242
4343 return true;
4444 }
45 -
4645 }
\ No newline at end of file

Comments

#Comment by Nikerabbit (talk | contribs)   05:24, 24 August 2010

You can use array for the authors.

Status & tagging log