Index: trunk/extensions/SemanticFormsInputs/SemanticFormsInputs.php |
— | — | @@ -15,17 +15,19 @@ |
16 | 16 | die( 'This is a Semantic Forms extension. You need to install Semantic Forms first.' ); |
17 | 17 | } |
18 | 18 | |
| 19 | +define( 'SFI_VERSION', '0.7.3 alpha' ); |
| 20 | + |
19 | 21 | // create and initialize settings |
20 | 22 | $sfigSettings = new SFISettings(); |
21 | 23 | |
22 | 24 | // register extension |
23 | | -$wgExtensionCredits['other'][] = array( |
| 25 | +$wgExtensionCredits[defined( 'SEMANTIC_EXTENSION_TYPE' ) ? 'semantic' : 'other'][] = array( |
24 | 26 | 'path' => __FILE__, |
25 | 27 | 'name' => 'Semantic Forms Inputs', |
26 | 28 | 'author' => array( '[http://www.mediawiki.org/wiki/User:F.trott Stephan Gambke]', 'Sanyam Goyal', 'Yaron Koren' ), |
27 | 29 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs', |
28 | 30 | 'descriptionmsg' => 'semanticformsinputs-desc', |
29 | | - 'version' => '0.3.1', |
| 31 | + 'version' => SFI_VERSION, |
30 | 32 | ); |
31 | 33 | |
32 | 34 | // load user settings |