r97464 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r97463‎ | r97464 | r97465 >
Date:10:53, 19 September 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
fixed index names
Modified paths:
  • /trunk/extensions/Survey/RELEASE-NOTES (modified) (history)
  • /trunk/extensions/Survey/Survey.hooks.php (modified) (history)
  • /trunk/extensions/Survey/Survey.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Survey/Survey.php
@@ -28,7 +28,7 @@
2929 die( '<b>Error:</b> Survey requires MediaWiki 1.17 or above.' );
3030 }
3131
32 -define( 'Survey_VERSION', '0.1.1' );
 32+define( 'Survey_VERSION', '0.2 alpha' );
3333
3434 $wgExtensionCredits['other'][] = array(
3535 'path' => __FILE__,
Index: trunk/extensions/Survey/Survey.hooks.php
@@ -88,14 +88,14 @@
8989 $updater->addExtensionUpdate( array(
9090 'addIndex',
9191 'survey_answers',
92 - 'answer_question_id',
 92+ 'surveys_question_id',
9393 dirname( __FILE__ ) . '/sql/Survey_indexQuestionId.sql',
9494 true
9595 ) );
9696 $updater->addExtensionUpdate( array(
9797 'addIndex',
9898 'survey_answers',
99 - 'answer_submission_id',
 99+ 'surveys_submission_id',
100100 dirname( __FILE__ ) . '/sql/Survey_indexSubmissionId.sql',
101101 true
102102 ) );
Index: trunk/extensions/Survey/RELEASE-NOTES
@@ -7,7 +7,7 @@
88 === Version 0.2 ===
99 2011-xx-xx
1010
11 -*
 11+* Fixed issue with database index names causing update.php to fail when running after installation of Survey.
1212
1313 === Version 0.1.1 ===
1414 2011-09-18

Status & tagging log