aboutsummaryrefslogtreecommitdiffstats
path: root/includes/debug
diff options
context:
space:
mode:
authorTim Starling <tstarling@wikimedia.org>2022-05-06 19:09:56 +1000
committerKrinkle <krinkle@fastmail.com>2022-05-24 15:41:46 +0000
commit3e2653f83bc096889d8b69d1e01a52d7de42b247 (patch)
tree2b87e1d578790776fa139b89f561695666bf1591 /includes/debug
parent62c75f78f4e5b19a727571a6633b7091b84fc651 (diff)
downloadmediawikicore-3e2653f83bc096889d8b69d1e01a52d7de42b247.tar.gz
mediawikicore-3e2653f83bc096889d8b69d1e01a52d7de42b247.zip
ResourceLoader namespace (attempt 2)
Move ResourceLoader classes to their own namespace. Strip the "ResourceLoader" prefix from all except ResourceLoader itself. Move the tests by analogy. I used a namespace alias "RL" in some callers since RL\Module is less ambiguous at the call site than just "Module". I did not address DependencyStore which continues to have a non-standard location and namespace. Revert of a241d83e0a6dabedf. Bug: T308718 Change-Id: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Diffstat (limited to 'includes/debug')
-rw-r--r--includes/debug/MWDebug.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/debug/MWDebug.php b/includes/debug/MWDebug.php
index 6314e0380966..588719105a04 100644
--- a/includes/debug/MWDebug.php
+++ b/includes/debug/MWDebug.php
@@ -21,6 +21,7 @@
*/
use MediaWiki\Logger\LegacyLogger;
+use MediaWiki\ResourceLoader\ResourceLoader;
use Wikimedia\WrappedString;
use Wikimedia\WrappedStringList;