aboutsummaryrefslogtreecommitdiffstats
path: root/includes/Settings
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2024-07-09 17:07:44 +0330
committerEbrahim Byagowi <ebrahim@gnu.org>2024-07-10 00:14:54 +0330
commitfab78547ad13e4579c728ad0f59a00d95e9eb53d (patch)
tree3fb786a84e9715fcb712207972e871975df6aed9 /includes/Settings
parent0985ed781c261a35b2580ed41c4501c61f51b4cf (diff)
downloadmediawikicore-fab78547ad13e4579c728ad0f59a00d95e9eb53d.tar.gz
mediawikicore-fab78547ad13e4579c728ad0f59a00d95e9eb53d.zip
Add namespace to the root classes of ObjectCache
And deprecated aliases for the the no namespaced classes. ReplicatedBagOStuff that already is deprecated isn't moved. Bug: T353458 Change-Id: Ie01962517e5b53e59b9721e9996d4f1ea95abb51
Diffstat (limited to 'includes/Settings')
-rw-r--r--includes/Settings/Cache/CachedSource.php2
-rw-r--r--includes/Settings/SettingsBuilder.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/Settings/Cache/CachedSource.php b/includes/Settings/Cache/CachedSource.php
index ef0ee57b1683..2f00595c313d 100644
--- a/includes/Settings/Cache/CachedSource.php
+++ b/includes/Settings/Cache/CachedSource.php
@@ -2,11 +2,11 @@
namespace MediaWiki\Settings\Cache;
-use BagOStuff;
use MediaWiki\Settings\SettingsBuilderException;
use MediaWiki\Settings\Source\SettingsIncludeLocator;
use MediaWiki\Settings\Source\SettingsSource;
use Stringable;
+use Wikimedia\ObjectCache\BagOStuff;
use Wikimedia\WaitConditionLoop;
/**
diff --git a/includes/Settings/SettingsBuilder.php b/includes/Settings/SettingsBuilder.php
index 2651d739981d..70c6fbc09aec 100644
--- a/includes/Settings/SettingsBuilder.php
+++ b/includes/Settings/SettingsBuilder.php
@@ -2,7 +2,6 @@
namespace MediaWiki\Settings;
-use BagOStuff;
use ExtensionRegistry;
use MediaWiki\Config\Config;
use MediaWiki\Config\HashConfig;
@@ -23,6 +22,7 @@ use MediaWiki\Settings\Source\SettingsIncludeLocator;
use MediaWiki\Settings\Source\SettingsSource;
use RuntimeException;
use StatusValue;
+use Wikimedia\ObjectCache\BagOStuff;
use function array_key_exists;
/**