From 3e2653f83bc096889d8b69d1e01a52d7de42b247 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Fri, 6 May 2022 19:09:56 +1000 Subject: 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 --- includes/debug/MWDebug.php | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/debug') 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; -- cgit v1.2.3