aboutsummaryrefslogtreecommitdiffstats
path: root/load.php
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 /load.php
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 'load.php')
-rw-r--r--load.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/load.php b/load.php
index f9141dddeb5e..3caa3c72175e 100644
--- a/load.php
+++ b/load.php
@@ -26,6 +26,7 @@
*/
use MediaWiki\MediaWikiServices;
+use MediaWiki\ResourceLoader\ResourceLoaderContext;
// This endpoint is supposed to be independent of request cookies and other
// details of the session. Enforce this constraint with respect to session use.