https://www.mediawiki.org/wiki/Special:Code/MediaWiki/115004

Revision: 115004
Author:   foxtrott
Date:     2012-04-22 15:45:28 +0000 (Sun, 22 Apr 2012)
Log Message:
-----------
preparing version 0.6

Modified Paths:
--------------
    trunk/extensions/SemanticFormsInputs/README
    trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php

Modified: trunk/extensions/SemanticFormsInputs/README
===================================================================
--- trunk/extensions/SemanticFormsInputs/README 2012-04-22 15:40:31 UTC (rev 
115003)
+++ trunk/extensions/SemanticFormsInputs/README 2012-04-22 15:45:28 UTC (rev 
115004)
@@ -16,9 +16,9 @@
 
 == Installation ==
 
-Having at least MediaWiki 1.16, Semantic MediaWiki 1.5.4 and Semantic
-Forms 2.3.1 installed is a precondition for the Semantic Forms Inputs
-extension version 0.5 and above; the code will not work without it.
+Having at least MediaWiki 1.17, Semantic MediaWiki 1.5.4 and Semantic
+Forms 2.4.2 installed is a precondition for the Semantic Forms Inputs
+extension version 0.6 and above; the code will not work without it.
 
 To install Semantic Forms Inputs, create a directory named
 SemanticFormsInputs in the extensions directory of your MediaWiki

Modified: trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php
===================================================================
--- trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php        
2012-04-22 15:40:31 UTC (rev 115003)
+++ trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php        
2012-04-22 15:45:28 UTC (rev 115004)
@@ -9,7 +9,7 @@
  * @author Jeroen de Dauw 
  * @author Sanyam Goyal
  * 
- * @version 0.6 alpha
+ * @version 0.6
  */
 
 /**
@@ -31,17 +31,17 @@
        die( '<b>Error:</b> <a 
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs";>Semantic 
Forms Inputs</a> is a Semantic Forms extension. You need to install <a 
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms";>Semantic 
Forms</a> first.' );
 }
 
-if ( version_compare( SF_VERSION, '2.4.1-alpha', 'lt' ) ) {
+if ( version_compare( SF_VERSION, '2.4.2', 'lt' ) ) {
        die( '<b>Error:</b> This version of <a 
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs";>Semantic 
Forms Inputs</a> is only compatible with Semantic Forms 2.4.1 or above. You 
need to upgrade <a 
href="https://www.mediawiki.org/wiki/Extension:Semantic_Forms";>Semantic 
Forms</a> first.' );
 }
 
-define( 'SFI_VERSION', '0.6 alpha' );
+define( 'SFI_VERSION', '0.6' );
 
 // create and initialize settings
 $sfigSettings = new SFISettings();
 
 // register extension
-$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 
'other'][] = array(
+$wgExtensionCredits[defined( 'semantic' )][] = array(
        'path' => __FILE__,
        'name' => 'Semantic Forms Inputs',
        'author' => array( '[http://www.mediawiki.org/wiki/User:F.trott Stephan 
Gambke]', '...' ),


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to