From 6b1cbb11425c2e2731a2450ddbe6be2a7fa5d59a Mon Sep 17 00:00:00 2001 From: Winston Sung Date: Fri, 19 Jan 2024 00:07:47 +0800 Subject: [PATCH] Rename LakeusHooks Bug: #23 Change-Id: Icadf87254b91dfb21dd19c3882f0e9492251cab1 --- includes/{Hooks.php => LakeusHooks.php} | 2 +- skin.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename includes/{Hooks.php => LakeusHooks.php} (98%) diff --git a/includes/Hooks.php b/includes/LakeusHooks.php similarity index 98% rename from includes/Hooks.php rename to includes/LakeusHooks.php index 55bfba6..b8dbcf4 100644 --- a/includes/Hooks.php +++ b/includes/LakeusHooks.php @@ -2,7 +2,7 @@ namespace MediaWiki\Skins\Lakeus; -class Hooks { +class LakeusHooks { /** * @see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Hooks/GetPreferences * @param User $user diff --git a/skin.json b/skin.json index b8d391c..037ddbb 100644 --- a/skin.json +++ b/skin.json @@ -251,7 +251,7 @@ "MediaWiki\\Skins\\Lakeus\\": "includes/" }, "Hooks": { - "GetPreferences": "MediaWiki\\Skins\\Lakeus\\Hooks::onGetPreferences" + "GetPreferences": "MediaWiki\\Skins\\Lakeus\\LakeusHooks::onGetPreferences" }, "DefaultUserOptions": { "lakeus-enable-theme-designer": 0,