diff --git a/SyntaxHighlight_GeSHi.local.php b/ResourceLoaderGeSHiLocalModule.php similarity index 80% rename from SyntaxHighlight_GeSHi.local.php rename to ResourceLoaderGeSHiLocalModule.php index a9458ec3..26acc3be 100644 --- a/SyntaxHighlight_GeSHi.local.php +++ b/ResourceLoaderGeSHiLocalModule.php @@ -2,7 +2,7 @@ /** * Custom ResourceLoader module that loads a Geshi.css per-wiki. */ -class HighlightGeSHilocal extends ResourceLoaderWikiModule { +class ResourceLoaderGeSHiLocalModule extends ResourceLoaderWikiModule { /** * @param $context ResourceLoaderContext * @return array diff --git a/SyntaxHighlight_GeSHi.php b/SyntaxHighlight_GeSHi.php index c08fc150..d006f261 100644 --- a/SyntaxHighlight_GeSHi.php +++ b/SyntaxHighlight_GeSHi.php @@ -58,7 +58,7 @@ $wgExtensionMessagesFiles['SyntaxHighlight_GeSHi'] = $dir . 'SyntaxHighlight_GeS $wgAutoloadClasses['SyntaxHighlight_GeSHi'] = $dir . 'SyntaxHighlight_GeSHi.class.php'; $wgAutoloadClasses['ResourceLoaderGeSHiModule'] = $dir . 'ResourceLoaderGeSHiModule.php'; -$wgAutoloadClasses['HighlightGeSHilocal'] = $dir . 'SyntaxHighlight_GeSHi.local.php'; +$wgAutoloadClasses['ResourceLoaderGeSHiLocalModule'] = $dir . 'ResourceLoaderGeSHiLocalModule.php'; $wgHooks['ParserFirstCallInit'][] = 'efSyntaxHighlight_GeSHiSetup'; $wgHooks['ExtensionTypes'][] = 'SyntaxHighlight_GeSHi::hSpecialVersion_GeSHi';