aboutsummaryrefslogtreecommitdiffstats
path: root/includes/gallery
diff options
context:
space:
mode:
authorJames D. Forrester <jforrester@wikimedia.org>2024-02-08 09:56:54 -0500
committerJames D. Forrester <jforrester@wikimedia.org>2024-02-08 11:07:01 -0500
commit4bae64d1c7f9e62d0f0953e124493ed76c7f7da7 (patch)
tree28d1c5b9c206493391725a02588cf70cfe204e01 /includes/gallery
parent686ab5623a3c257f2db935850bb50684193613d1 (diff)
downloadmediawikicore-4bae64d1c7f9e62d0f0953e124493ed76c7f7da7.tar.gz
mediawikicore-4bae64d1c7f9e62d0f0953e124493ed76c7f7da7.zip
Namespace includes/context
Bug: T353458 Change-Id: I4dbef138fd0110c14c70214282519189d70c94fb
Diffstat (limited to 'includes/gallery')
-rw-r--r--includes/gallery/ImageGalleryBase.php3
-rw-r--r--includes/gallery/PackedImageGallery.php2
-rw-r--r--includes/gallery/SlideshowImageGallery.php2
3 files changed, 7 insertions, 0 deletions
diff --git a/includes/gallery/ImageGalleryBase.php b/includes/gallery/ImageGalleryBase.php
index 07d67e6db5a0..3532ae48e021 100644
--- a/includes/gallery/ImageGalleryBase.php
+++ b/includes/gallery/ImageGalleryBase.php
@@ -20,6 +20,9 @@
* @file
*/
+use MediaWiki\Context\ContextSource;
+use MediaWiki\Context\IContextSource;
+use MediaWiki\Context\RequestContext;
use MediaWiki\HookContainer\HookRunner;
use MediaWiki\MainConfigNames;
use MediaWiki\MediaWikiServices;
diff --git a/includes/gallery/PackedImageGallery.php b/includes/gallery/PackedImageGallery.php
index 77800a70d955..57381c97f823 100644
--- a/includes/gallery/PackedImageGallery.php
+++ b/includes/gallery/PackedImageGallery.php
@@ -20,6 +20,8 @@
* @file
*/
+use MediaWiki\Context\IContextSource;
+
class PackedImageGallery extends TraditionalImageGallery {
public function __construct( $mode = 'traditional', IContextSource $context = null ) {
parent::__construct( $mode, $context );
diff --git a/includes/gallery/SlideshowImageGallery.php b/includes/gallery/SlideshowImageGallery.php
index 6bbea8762d93..8453f77a3148 100644
--- a/includes/gallery/SlideshowImageGallery.php
+++ b/includes/gallery/SlideshowImageGallery.php
@@ -20,6 +20,8 @@
* @file
*/
+use MediaWiki\Context\IContextSource;
+
class SlideshowImageGallery extends TraditionalImageGallery {
public function __construct( $mode = 'traditional', IContextSource $context = null ) {
parent::__construct( $mode, $context );