Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php |
— | — | @@ -5,12 +5,14 @@ |
6 | 6 | * @author Yaron Koren |
7 | 7 | */ |
8 | 8 | |
9 | | -define('SF_VERSION','0.5.4'); |
| 9 | +define('SF_VERSION','0.5.5'); |
10 | 10 | |
11 | 11 | $wgExtensionFunctions[] = 'sfgSetupExtension'; |
12 | 12 | $wgExtensionFunctions[] = 'sfgParserFunctions'; |
13 | 13 | $wgHooks['LanguageGetMagic'][] = 'sfgLanguageGetMagic'; |
14 | 14 | |
| 15 | +require_once($sfgIP . '/includes/SF_ParserFunctions.php'); |
| 16 | + |
15 | 17 | /** |
16 | 18 | * Do the actual intialisation of the extension. This is just a delayed init that makes sure |
17 | 19 | * MediaWiki is set up properly before we add our stuff. |
— | — | @@ -38,12 +40,11 @@ |
39 | 41 | /**********************************************/ |
40 | 42 | |
41 | 43 | require_once($sfgIP . '/includes/SF_FormEditTab.php'); |
42 | | - require_once($sfgIP . '/includes/SF_ParserFunctions.php'); |
43 | 44 | |
44 | 45 | /**********************************************/ |
45 | 46 | /***** credits (see "Special:Version") *****/ |
46 | 47 | /**********************************************/ |
47 | | - $wgExtensionCredits['parserhook'][]= array('name'=>'Semantic Forms', 'version'=>SF_VERSION, 'author'=>'Yaron Koren and others', |
| 48 | + $wgExtensionCredits['specialpage'][]= array('name'=>'Semantic Forms', 'version'=>SF_VERSION, 'author'=>'Yaron Koren and others', |
48 | 49 | 'url'=>'http://discoursedb.org/SemanticForms/', 'description' => 'Forms for adding and editing semantic data'); |
49 | 50 | |
50 | 51 | return true; |
— | — | @@ -54,7 +55,7 @@ |
55 | 56 | /**********************************************/ |
56 | 57 | |
57 | 58 | /** |
58 | | - * Init the additional namepsaces used by Semantic MediaWiki. The |
| 59 | + * Init the additional namespaces used by Semantic Forms. The |
59 | 60 | * parameter denotes the least unused even namespace ID that is |
60 | 61 | * greater or equal to 100. |
61 | 62 | */ |