From 33ab38abe5144f7525ef68cdfa13404b85720bf0 Mon Sep 17 00:00:00 2001 From: Reedy Date: Sun, 1 Jun 2014 18:57:10 +0100 Subject: [PATCH] Rename HighlightGeSHilocal to ResourceLoaderGeSHiLocalModule Change-Id: I018c1a4ea290ec914f7605d402c297d0c6fe113f --- ...hlight_GeSHi.local.php => ResourceLoaderGeSHiLocalModule.php | 2 +- SyntaxHighlight_GeSHi.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename SyntaxHighlight_GeSHi.local.php => ResourceLoaderGeSHiLocalModule.php (80%) 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';