diff options
author | jdlrobson <jdlrobson@gmail.com> | 2021-12-21 16:05:04 -0800 |
---|---|---|
committer | jdlrobson <jdlrobson@gmail.com> | 2021-12-21 16:06:40 -0800 |
commit | 2a7aeb97703c856be4dcdb1f49381d92bcdedafd (patch) | |
tree | af0964f990420654361e8b2d8c310828e63dedea | |
parent | 90be4ac358b9f3c447013c4aeeefe9596637cb1f (diff) |
Include skin name in deprecation message
The deprecation warning shows on all skins which makes it hard
to debug.
Follow up to d3eda44
Change-Id: I067715df10a0b92665623a798c6c95386822a06e
-rw-r--r-- | includes/registration/ExtensionProcessor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/registration/ExtensionProcessor.php b/includes/registration/ExtensionProcessor.php index 2cd718054e18..8d8fb3d5a2fc 100644 --- a/includes/registration/ExtensionProcessor.php +++ b/includes/registration/ExtensionProcessor.php @@ -648,7 +648,7 @@ class ExtensionProcessor implements Processor { } else { $data['args'][0]['templateDirectory'] = $templateDirectory; wfDeprecatedMsg( - 'Template directory should be relative to skin or omitted.', + 'Template directory should be relative to skin or omitted for skin ' . $skinKey, '1.37' ); } |