Index: trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.php |
— | — | @@ -45,7 +45,9 @@ |
46 | 46 | // Survey setup |
47 | 47 | // This is totally a hack, but it's easy and had to be done fast |
48 | 48 | 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( |
50 | 52 | 'updatable' => false, |
51 | 53 | 'submit-msg' => 'articleassessment-survey-submit', |
52 | 54 | 'questions' => array( |
— | — | @@ -77,4 +79,4 @@ |
78 | 80 | ), |
79 | 81 | ), |
80 | 82 | ); |
81 | | -$wgValidSurveys[] = 'articleassessment'; |
| 83 | +$wgValidSurveys[] = 'articlerating'; |