Index: trunk/extensions/SemanticForms/includes/SF_GlobalFunctions.php |
— | — | @@ -34,14 +34,15 @@ |
35 | 35 | $wgHooks['BrokenLink'][] = 'SFLinkUtils::setBrokenLink_1_13'; |
36 | 36 | $wgHooks['LinkEnd'][] = 'SFLinkUtils::setBrokenLink'; |
37 | 37 | $wgHooks['UnknownAction'][] = 'SFFormEditTab::displayForm'; |
38 | | -// 'SkinTemplateNavigation' replaced 'SkinTemplateTabs' in the 'Vector' skin |
39 | | -// for MediaWiki v1.16 |
| 38 | +// 'SkinTemplateNavigation' replaced 'SkinTemplateTabs' in the Vector skin |
40 | 39 | $wgHooks['SkinTemplateTabs'][] = 'SFFormEditTab::displayTab'; |
41 | 40 | $wgHooks['SkinTemplateNavigation'][] = 'SFFormEditTab::displayTab2'; |
42 | 41 | $wgHooks['smwInitProperties'][] = 'SFUtils::initProperties'; |
43 | 42 | $wgHooks['AdminLinks'][] = 'sffAddToAdminLinks'; |
44 | 43 | $wgHooks['ParserBeforeStrip'][] = 'SFUtils::cacheFormDefinition'; |
45 | 44 | $wgHooks['ParserFirstCallInit'][] = 'SFParserFunctions::registerFunctions'; |
| 45 | +$wgHooks['ResourceLoaderRegisterModules'][] = 'SFUtils::registerModules'; |
| 46 | +$wgHooks['MakeGlobalVariablesScript'][] = 'SFFormUtils::setGlobalJSVariables'; |
46 | 47 | |
47 | 48 | $wgAPIModules['sfautocomplete'] = 'SFAutocompleteAPI'; |
48 | 49 | |