Index: trunk/extensions/LanguageSelector/LanguageSelector.php |
— | — | @@ -80,10 +80,8 @@ |
81 | 81 | |
82 | 82 | $wgParserOutputHooks['languageselector'] = 'wfLanguageSelectorAddJavascript'; |
83 | 83 | |
84 | | -# Ressource loader |
85 | 84 | $wgResourceModules['ext.languageSelector'] = array( |
86 | 85 | 'scripts' => 'LanguageSelector.js', |
87 | | - |
88 | 86 | 'localBasePath' => dirname( __FILE__ ), |
89 | 87 | 'remoteExtPath' => 'LanguageSelector' |
90 | 88 | ); |
— | — | @@ -91,7 +89,6 @@ |
92 | 90 | $dir = dirname(__FILE__) . '/'; |
93 | 91 | $wgExtensionMessagesFiles['LanguageSelector'] = $dir . 'LanguageSelector.i18n.php'; |
94 | 92 | $wgJSAutoloadClasses['LanguageSelector'] = 'extensions/LanguageSelector/LanguageSelector.js'; |
95 | | -$wgAutoloadClasses['StubAutoLang'] = $dir . 'StubAutoLang.php'; |
96 | 93 | |
97 | 94 | function wfLanguageSelectorSetHook( $parser ) { |
98 | 95 | $parser->setHook( 'languageselector', 'wfLanguageSelectorTag' ); |