http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97464
Revision: 97464
Author: jeroendedauw
Date: 2011-09-19 10:53:29 +0000 (Mon, 19 Sep 2011)
Log Message:
-----------
fixed index names
Modified Paths:
--------------
trunk/extensions/Survey/RELEASE-NOTES
trunk/extensions/Survey/Survey.hooks.php
trunk/extensions/Survey/Survey.php
Modified: trunk/extensions/Survey/RELEASE-NOTES
===================================================================
--- trunk/extensions/Survey/RELEASE-NOTES 2011-09-19 10:47:21 UTC (rev
97463)
+++ trunk/extensions/Survey/RELEASE-NOTES 2011-09-19 10:53:29 UTC (rev
97464)
@@ -7,7 +7,7 @@
=== Version 0.2 ===
2011-xx-xx
-*
+* Fixed issue with database index names causing update.php to fail when
running after installation of Survey.
=== Version 0.1.1 ===
2011-09-18
Modified: trunk/extensions/Survey/Survey.hooks.php
===================================================================
--- trunk/extensions/Survey/Survey.hooks.php 2011-09-19 10:47:21 UTC (rev
97463)
+++ trunk/extensions/Survey/Survey.hooks.php 2011-09-19 10:53:29 UTC (rev
97464)
@@ -88,14 +88,14 @@
$updater->addExtensionUpdate( array(
'addIndex',
'survey_answers',
- 'answer_question_id',
+ 'surveys_question_id',
dirname( __FILE__ ) . '/sql/Survey_indexQuestionId.sql',
true
) );
$updater->addExtensionUpdate( array(
'addIndex',
'survey_answers',
- 'answer_submission_id',
+ 'surveys_submission_id',
dirname( __FILE__ ) .
'/sql/Survey_indexSubmissionId.sql',
true
) );
Modified: trunk/extensions/Survey/Survey.php
===================================================================
--- trunk/extensions/Survey/Survey.php 2011-09-19 10:47:21 UTC (rev 97463)
+++ trunk/extensions/Survey/Survey.php 2011-09-19 10:53:29 UTC (rev 97464)
@@ -28,7 +28,7 @@
die( '<b>Error:</b> Survey requires MediaWiki 1.17 or above.' );
}
-define( 'Survey_VERSION', '0.1.1' );
+define( 'Survey_VERSION', '0.2 alpha' );
$wgExtensionCredits['other'][] = array(
'path' => __FILE__,
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs