r73117 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73116‎ | r73117 | r73118 >
Date:15:47, 16 September 2010
Author:catrope
Status:deferred
Tags:
Comment:
ArticleAssessment: Rename the survey to 'articlerating' so the name will fit within the 16-character limit
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.php
@@ -45,7 +45,9 @@
4646 // Survey setup
4747 // This is totally a hack, but it's easy and had to be done fast
4848 require_once( $dir . '../SimpleSurvey/SimpleSurvey.php' );
49 -$wgPrefSwitchSurveys['articleassessment'] = array(
 49+
 50+// Would ordinarily call this articleassessment but survey names are 16 chars max
 51+$wgPrefSwitchSurveys['articlerating'] = array(
5052 'updatable' => false,
5153 'submit-msg' => 'articleassessment-survey-submit',
5254 'questions' => array(
@@ -77,4 +79,4 @@
7880 ),
7981 ),
8082 );
81 -$wgValidSurveys[] = 'articleassessment';
 83+$wgValidSurveys[] = 'articlerating';

Status & tagging log