aboutsummaryrefslogtreecommitdiffstats
path: root/includes/HookContainer
diff options
context:
space:
mode:
authorTim Starling <tstarling@wikimedia.org>2022-05-06 19:09:56 +1000
committerTim Starling <tstarling@wikimedia.org>2022-05-16 14:41:27 +1000
commite08ea8ccb9932f9924a613056afcb2d01c8c7b39 (patch)
tree6255aeccef4fe82e5cbf425aea42d6c891c55b7b /includes/HookContainer
parent5029306c80fa804fe09c27bf12b7b46599fdc556 (diff)
downloadmediawikicore-e08ea8ccb9932f9924a613056afcb2d01c8c7b39.tar.gz
mediawikicore-e08ea8ccb9932f9924a613056afcb2d01c8c7b39.zip
ResourceLoader namespace
Move ResourceLoader classes to their own namespace. Strip the "ResourceLoader" prefix from all except ResourceLoader and ResourceLoaderContext. 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. Change-Id: I92998ae6a82e0b935c13e02a183e7c324fa410a3
Diffstat (limited to 'includes/HookContainer')
-rw-r--r--includes/HookContainer/HookRunner.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/HookContainer/HookRunner.php b/includes/HookContainer/HookRunner.php
index a484e61ce810..556e62332de2 100644
--- a/includes/HookContainer/HookRunner.php
+++ b/includes/HookContainer/HookRunner.php
@@ -11,12 +11,12 @@ use MediaWiki\Linker\LinkRenderer;
use MediaWiki\Linker\LinkTarget;
use MediaWiki\Page\ProperPageIdentity;
use MediaWiki\Permissions\Authority;
+use MediaWiki\ResourceLoader\ResourceLoaderContext;
use MediaWiki\Revision\RevisionRecord;
use MediaWiki\Session\Session;
use MediaWiki\User\UserIdentity;
use Parser;
use ParserOptions;
-use ResourceLoaderContext;
use Skin;
use SpecialPage;
use StatusValue;