diff options
author | Tim Starling <tstarling@wikimedia.org> | 2022-05-06 19:09:56 +1000 |
---|---|---|
committer | Tim Starling <tstarling@wikimedia.org> | 2022-05-16 14:41:27 +1000 |
commit | e08ea8ccb9932f9924a613056afcb2d01c8c7b39 (patch) | |
tree | 6255aeccef4fe82e5cbf425aea42d6c891c55b7b /load.php | |
parent | 5029306c80fa804fe09c27bf12b7b46599fdc556 (diff) | |
download | mediawikicore-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.php | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |