Use namespaced classes

Changes to the use statements done automatically via script

Change-Id: Ife9826099657bcaeca1beec94863a1600fdf55f8
This commit is contained in:
Umherirrender 2024-10-19 23:39:18 +02:00
parent a72fbb6ec7
commit eef833a112
33 changed files with 56 additions and 56 deletions

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils; use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils;
use MediaWiki\Extension\VisualEditor\VisualEditorParsoidClientFactory; use MediaWiki\Extension\VisualEditor\VisualEditorParsoidClientFactory;
use MediaWiki\Revision\RevisionLookup; use MediaWiki\Revision\RevisionLookup;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use MediaWiki\Config\Config; use MediaWiki\Config\Config;
use MediaWiki\Config\ConfigFactory; use MediaWiki\Config\ConfigFactory;
use MediaWiki\Context\DerivativeContext; use MediaWiki\Context\DerivativeContext;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use MediaWiki\Extension\DiscussionTools\ThreadItem\DatabaseThreadItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\DatabaseThreadItem;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;
use MediaWiki\Title\TitleFormatter; use MediaWiki\Title\TitleFormatter;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use Wikimedia\ParamValidator\ParamValidator; use Wikimedia\ParamValidator\ParamValidator;
class ApiDiscussionToolsGetSubscriptions extends ApiBase { class ApiDiscussionToolsGetSubscriptions extends ApiBase {

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils; use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils;
use MediaWiki\Extension\DiscussionTools\ThreadItem\CommentItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\CommentItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentCommentItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentCommentItem;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use MediaWiki\Extension\VisualEditor\ApiParsoidTrait; use MediaWiki\Extension\VisualEditor\ApiParsoidTrait;
use MediaWiki\Extension\VisualEditor\VisualEditorParsoidClientFactory; use MediaWiki\Extension\VisualEditor\VisualEditorParsoidClientFactory;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;
use Wikimedia\ParamValidator\ParamValidator; use Wikimedia\ParamValidator\ParamValidator;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiBase; use MediaWiki\Api\ApiBase;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiUsageException; use MediaWiki\Api\ApiUsageException;
use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils; use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils;
use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentCommentItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentCommentItem;
use MediaWiki\Extension\Notifications\Model\Event; use MediaWiki\Extension\Notifications\Model\Event;

View file

@ -2,8 +2,8 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ApiMain; use MediaWiki\Api\ApiMain;
use ApiResult; use MediaWiki\Api\ApiResult;
use MediaWiki\Context\DerivativeContext; use MediaWiki\Context\DerivativeContext;
use MediaWiki\Context\IContextSource; use MediaWiki\Context\IContextSource;
use MediaWiki\Extension\VisualEditor\ParsoidClient; use MediaWiki\Extension\VisualEditor\ParsoidClient;

View file

@ -2,7 +2,6 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use Language;
use MediaWiki\Config\ConfigException; use MediaWiki\Config\ConfigException;
use MediaWiki\Context\IContextSource; use MediaWiki\Context\IContextSource;
use MediaWiki\Extension\DiscussionTools\Hooks\HookRunner; use MediaWiki\Extension\DiscussionTools\Hooks\HookRunner;
@ -12,6 +11,7 @@ use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentHeadingItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentThreadItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentThreadItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\ThreadItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\ThreadItem;
use MediaWiki\Html\Html; use MediaWiki\Html\Html;
use MediaWiki\Language\Language;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Parser\ParserOutput; use MediaWiki\Parser\ParserOutput;
use MediaWiki\Parser\Sanitizer; use MediaWiki\Parser\Sanitizer;

View file

@ -7,12 +7,12 @@ use DateTime;
use DateTimeImmutable; use DateTimeImmutable;
use DateTimeZone; use DateTimeZone;
use InvalidArgumentException; use InvalidArgumentException;
use Language;
use LogicException; use LogicException;
use MediaWiki\Config\Config; use MediaWiki\Config\Config;
use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentCommentItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentCommentItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentHeadingItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentHeadingItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentThreadItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\ContentThreadItem;
use MediaWiki\Language\Language;
use MediaWiki\Languages\LanguageConverterFactory; use MediaWiki\Languages\LanguageConverterFactory;
use MediaWiki\Title\MalformedTitleException; use MediaWiki\Title\MalformedTitleException;
use MediaWiki\Title\TitleParser; use MediaWiki\Title\TitleParser;

View file

@ -9,10 +9,10 @@
namespace MediaWiki\Extension\DiscussionTools\Hooks; namespace MediaWiki\Extension\DiscussionTools\Hooks;
use ApiModuleManager; use MediaWiki\Api\ApiModuleManager;
use ExtensionRegistry;
use MediaWiki\Api\Hook\ApiMain__moduleManagerHook; use MediaWiki\Api\Hook\ApiMain__moduleManagerHook;
use MediaWiki\Extension\DiscussionTools\ApiDiscussionToolsThank; use MediaWiki\Extension\DiscussionTools\ApiDiscussionToolsThank;
use MediaWiki\Registration\ExtensionRegistry;
// phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName

View file

@ -9,11 +9,11 @@
namespace MediaWiki\Extension\DiscussionTools\Hooks; namespace MediaWiki\Extension\DiscussionTools\Hooks;
use ExtensionRegistry;
use MediaWiki\Config\Config; use MediaWiki\Config\Config;
use MediaWiki\Config\ConfigFactory; use MediaWiki\Config\ConfigFactory;
use MediaWiki\Context\IContextSource; use MediaWiki\Context\IContextSource;
use MediaWiki\Extension\DiscussionTools\OverflowMenuItem; use MediaWiki\Extension\DiscussionTools\OverflowMenuItem;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\User\UserNameUtils; use MediaWiki\User\UserNameUtils;
class DiscussionToolsHooks implements class DiscussionToolsHooks implements

View file

@ -9,7 +9,6 @@
namespace MediaWiki\Extension\DiscussionTools\Hooks; namespace MediaWiki\Extension\DiscussionTools\Hooks;
use ExtensionRegistry;
use MediaWiki\Extension\DiscussionTools\Notifications\AddedTopicPresentationModel; use MediaWiki\Extension\DiscussionTools\Notifications\AddedTopicPresentationModel;
use MediaWiki\Extension\DiscussionTools\Notifications\CommentThanksPresentationModel; use MediaWiki\Extension\DiscussionTools\Notifications\CommentThanksPresentationModel;
use MediaWiki\Extension\DiscussionTools\Notifications\EnhancedEchoEditUserTalkPresentationModel; use MediaWiki\Extension\DiscussionTools\Notifications\EnhancedEchoEditUserTalkPresentationModel;
@ -22,6 +21,7 @@ use MediaWiki\Extension\Notifications\Hooks\EchoGetBundleRulesHook;
use MediaWiki\Extension\Notifications\Hooks\EchoGetEventsForRevisionHook; use MediaWiki\Extension\Notifications\Hooks\EchoGetEventsForRevisionHook;
use MediaWiki\Extension\Notifications\Model\Event; use MediaWiki\Extension\Notifications\Model\Event;
use MediaWiki\Extension\Notifications\UserLocator; use MediaWiki\Extension\Notifications\UserLocator;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;
use Wikimedia\Parsoid\Core\ResourceLimitExceededException; use Wikimedia\Parsoid\Core\ResourceLimitExceededException;

View file

@ -9,8 +9,6 @@
namespace MediaWiki\Extension\DiscussionTools\Hooks; namespace MediaWiki\Extension\DiscussionTools\Hooks;
use ExtensionRegistry;
use IDBAccessObject;
use LqtDispatch; use LqtDispatch;
use MediaWiki\Context\IContextSource; use MediaWiki\Context\IContextSource;
use MediaWiki\Context\RequestContext; use MediaWiki\Context\RequestContext;
@ -21,16 +19,18 @@ use MediaWiki\Linker\LinkTarget;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Output\OutputPage; use MediaWiki\Output\OutputPage;
use MediaWiki\Page\ParserOutputAccess; use MediaWiki\Page\ParserOutputAccess;
use MediaWiki\Parser\ParserOptions;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;
use MediaWiki\Title\TitleValue; use MediaWiki\Title\TitleValue;
use MediaWiki\User\UserIdentity; use MediaWiki\User\UserIdentity;
use ParserOptions;
use RuntimeException; use RuntimeException;
use Wikimedia\Assert\Assert; use Wikimedia\Assert\Assert;
use Wikimedia\Parsoid\Core\ResourceLimitExceededException; use Wikimedia\Parsoid\Core\ResourceLimitExceededException;
use Wikimedia\Parsoid\Utils\DOMCompat; use Wikimedia\Parsoid\Utils\DOMCompat;
use Wikimedia\Parsoid\Utils\DOMUtils; use Wikimedia\Parsoid\Utils\DOMUtils;
use Wikimedia\Rdbms\IDBAccessObject;
class HookUtils { class HookUtils {

View file

@ -10,7 +10,6 @@
namespace MediaWiki\Extension\DiscussionTools\Hooks; namespace MediaWiki\Extension\DiscussionTools\Hooks;
use Article; use Article;
use ExtensionRegistry;
use MediaWiki\Actions\Hook\GetActionNameHook; use MediaWiki\Actions\Hook\GetActionNameHook;
use MediaWiki\Context\IContextSource; use MediaWiki\Context\IContextSource;
use MediaWiki\Context\RequestContext; use MediaWiki\Context\RequestContext;
@ -28,6 +27,7 @@ use MediaWiki\Output\Hook\OutputPageParserOutputHook;
use MediaWiki\Output\OutputPage; use MediaWiki\Output\OutputPage;
use MediaWiki\Page\Hook\BeforeDisplayNoArticleTextHook; use MediaWiki\Page\Hook\BeforeDisplayNoArticleTextHook;
use MediaWiki\Parser\ParserOutput; use MediaWiki\Parser\ParserOutput;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\SpecialPage\SpecialPage; use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;
use MediaWiki\User\Options\UserOptionsLookup; use MediaWiki\User\Options\UserOptionsLookup;

View file

@ -10,9 +10,9 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use DateTimeZone; use DateTimeZone;
use ILanguageConverter;
use Language;
use MediaWiki\Config\Config; use MediaWiki\Config\Config;
use MediaWiki\Language\ILanguageConverter;
use MediaWiki\Language\Language;
use MediaWiki\Languages\LanguageConverterFactory; use MediaWiki\Languages\LanguageConverterFactory;
use MediaWiki\MainConfigNames; use MediaWiki\MainConfigNames;
use MediaWiki\SpecialPage\SpecialPageFactory; use MediaWiki\SpecialPage\SpecialPageFactory;

View file

@ -9,10 +9,10 @@
namespace MediaWiki\Extension\DiscussionTools\Notifications; namespace MediaWiki\Extension\DiscussionTools\Notifications;
use Language;
use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel; use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel;
use MediaWiki\Extension\Notifications\Formatters\EchoPresentationModelSection; use MediaWiki\Extension\Notifications\Formatters\EchoPresentationModelSection;
use MediaWiki\Extension\Notifications\Model\Event; use MediaWiki\Extension\Notifications\Model\Event;
use MediaWiki\Language\Language;
use MediaWiki\Language\RawMessage; use MediaWiki\Language\RawMessage;
use MediaWiki\Message\Message; use MediaWiki\Message\Message;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;

View file

@ -9,10 +9,10 @@
namespace MediaWiki\Extension\DiscussionTools\Notifications; namespace MediaWiki\Extension\DiscussionTools\Notifications;
use Language;
use MediaWiki\Extension\Notifications\DiscussionParser; use MediaWiki\Extension\Notifications\DiscussionParser;
use MediaWiki\Extension\Notifications\Formatters\EchoPresentationModelSection; use MediaWiki\Extension\Notifications\Formatters\EchoPresentationModelSection;
use MediaWiki\Extension\Notifications\Model\Event; use MediaWiki\Extension\Notifications\Model\Event;
use MediaWiki\Language\Language;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;
use MediaWiki\WikiMap\WikiMap; use MediaWiki\WikiMap\WikiMap;

View file

@ -11,8 +11,6 @@ namespace MediaWiki\Extension\DiscussionTools\Notifications;
use DateInterval; use DateInterval;
use DateTimeImmutable; use DateTimeImmutable;
use ExtensionRegistry;
use IDBAccessObject;
use Iterator; use Iterator;
use MediaWiki\Context\RequestContext; use MediaWiki\Context\RequestContext;
use MediaWiki\Deferred\DeferredUpdates; use MediaWiki\Deferred\DeferredUpdates;
@ -31,6 +29,7 @@ use MediaWiki\Extension\EventLogging\Libs\UserBucketProvider\UserBucketProvider;
use MediaWiki\Extension\Notifications\Model\Event; use MediaWiki\Extension\Notifications\Model\Event;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Page\PageIdentity; use MediaWiki\Page\PageIdentity;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;
use MediaWiki\User\UserIdentity; use MediaWiki\User\UserIdentity;
@ -38,6 +37,7 @@ use Wikimedia\Assert\Assert;
use Wikimedia\Parsoid\Core\ResourceLimitExceededException; use Wikimedia\Parsoid\Core\ResourceLimitExceededException;
use Wikimedia\Parsoid\Utils\DOMCompat; use Wikimedia\Parsoid\Utils\DOMCompat;
use Wikimedia\Parsoid\Utils\DOMUtils; use Wikimedia\Parsoid\Utils\DOMUtils;
use Wikimedia\Rdbms\IDBAccessObject;
class EventDispatcher { class EventDispatcher {
/** /**

View file

@ -9,9 +9,9 @@
namespace MediaWiki\Extension\DiscussionTools\Notifications; namespace MediaWiki\Extension\DiscussionTools\Notifications;
use Language;
use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel; use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel;
use MediaWiki\Extension\Notifications\Model\Event; use MediaWiki\Extension\Notifications\Model\Event;
use MediaWiki\Language\Language;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\SpecialPage\SpecialPage; use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\User\User; use MediaWiki\User\User;

View file

@ -9,10 +9,10 @@
namespace MediaWiki\Extension\DiscussionTools\Notifications; namespace MediaWiki\Extension\DiscussionTools\Notifications;
use Language;
use MediaWiki\Extension\DiscussionTools\SubscriptionStore; use MediaWiki\Extension\DiscussionTools\SubscriptionStore;
use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel; use MediaWiki\Extension\Notifications\Formatters\EchoEventPresentationModel;
use MediaWiki\Extension\Notifications\Model\Event; use MediaWiki\Extension\Notifications\Model\Event;
use MediaWiki\Language\Language;
use MediaWiki\Language\RawMessage; use MediaWiki\Language\RawMessage;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Message\Message; use MediaWiki\Message\Message;

View file

@ -9,10 +9,10 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use ExtensionRegistry;
use MediaWiki\Config\Config; use MediaWiki\Config\Config;
use MediaWiki\Extension\DiscussionTools\Hooks\HookRunner; use MediaWiki\Extension\DiscussionTools\Hooks\HookRunner;
use MediaWiki\MediaWikiServices; use MediaWiki\MediaWikiServices;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\ResourceLoader as RL; use MediaWiki\ResourceLoader as RL;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;
use MessageLocalizer; use MessageLocalizer;

View file

@ -9,11 +9,11 @@ use MediaWiki\Html\Html;
use MediaWiki\Languages\LanguageFactory; use MediaWiki\Languages\LanguageFactory;
use MediaWiki\Linker\Linker; use MediaWiki\Linker\Linker;
use MediaWiki\Page\ParserOutputAccess; use MediaWiki\Page\ParserOutputAccess;
use MediaWiki\Parser\ParserOptions;
use MediaWiki\SpecialPage\FormSpecialPage; use MediaWiki\SpecialPage\FormSpecialPage;
use MediaWiki\SpecialPage\SpecialPage; use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;
use MediaWiki\Utils\MWTimestamp; use MediaWiki\Utils\MWTimestamp;
use ParserOptions;
use Wikimedia\Assert\Assert; use Wikimedia\Assert\Assert;
use Wikimedia\Parsoid\Utils\DOMCompat; use Wikimedia\Parsoid\Utils\DOMCompat;
use Wikimedia\Parsoid\Utils\DOMUtils; use Wikimedia\Parsoid\Utils\DOMUtils;

View file

@ -3,7 +3,6 @@
namespace MediaWiki\Extension\DiscussionTools; namespace MediaWiki\Extension\DiscussionTools;
use Exception; use Exception;
use Language;
use MediaWiki\Config\Config; use MediaWiki\Config\Config;
use MediaWiki\Config\ConfigFactory; use MediaWiki\Config\ConfigFactory;
use MediaWiki\Extension\DiscussionTools\ThreadItem\CommentItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\CommentItem;
@ -11,6 +10,7 @@ use MediaWiki\Extension\DiscussionTools\ThreadItem\DatabaseCommentItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\DatabaseHeadingItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\DatabaseHeadingItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\DatabaseThreadItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\DatabaseThreadItem;
use MediaWiki\Extension\DiscussionTools\ThreadItem\HeadingItem; use MediaWiki\Extension\DiscussionTools\ThreadItem\HeadingItem;
use MediaWiki\Language\Language;
use MediaWiki\Page\PageStore; use MediaWiki\Page\PageStore;
use MediaWiki\Revision\RevisionRecord; use MediaWiki\Revision\RevisionRecord;
use MediaWiki\Revision\RevisionStore; use MediaWiki\Revision\RevisionStore;

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Extension\DiscussionTools\Maintenance; namespace MediaWiki\Extension\DiscussionTools\Maintenance;
use LoggedUpdateMaintenance; use MediaWiki\Maintenance\LoggedUpdateMaintenance;
use Wikimedia\Rdbms\DBQueryError; use Wikimedia\Rdbms\DBQueryError;
use Wikimedia\Rdbms\IExpression; use Wikimedia\Rdbms\IExpression;
use Wikimedia\Rdbms\LikeValue; use Wikimedia\Rdbms\LikeValue;

View file

@ -2,8 +2,8 @@
namespace MediaWiki\Extension\DiscussionTools\Maintenance; namespace MediaWiki\Extension\DiscussionTools\Maintenance;
use Maintenance;
use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils; use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils;
use MediaWiki\Maintenance\Maintenance;
use MediaWiki\User\UserFactory; use MediaWiki\User\UserFactory;
use Wikimedia\Rdbms\IDatabase; use Wikimedia\Rdbms\IDatabase;

View file

@ -2,10 +2,10 @@
namespace MediaWiki\Extension\DiscussionTools\Maintenance; namespace MediaWiki\Extension\DiscussionTools\Maintenance;
use Language;
use Maintenance;
use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils; use MediaWiki\Extension\DiscussionTools\Hooks\HookUtils;
use MediaWiki\Extension\DiscussionTools\ThreadItemStore; use MediaWiki\Extension\DiscussionTools\ThreadItemStore;
use MediaWiki\Language\Language;
use MediaWiki\Maintenance\Maintenance;
use MediaWiki\Revision\RevisionStore; use MediaWiki\Revision\RevisionStore;
use MediaWiki\Shell\Shell; use MediaWiki\Shell\Shell;
use MediaWiki\Title\Title; use MediaWiki\Title\Title;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools\Tests; namespace MediaWiki\Extension\DiscussionTools\Tests;
use FormatJson;
use MediaWiki\Cache\GenderCache; use MediaWiki\Cache\GenderCache;
use MediaWiki\Context\IContextSource; use MediaWiki\Context\IContextSource;
use MediaWiki\Json\FormatJson;
use MediaWiki\MainConfigNames; use MediaWiki\MainConfigNames;
use MediaWiki\Output\OutputPage; use MediaWiki\Output\OutputPage;
use MediaWiki\Parser\ParserOutput; use MediaWiki\Parser\ParserOutput;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools\Tests; namespace MediaWiki\Extension\DiscussionTools\Tests;
use Language;
use MediaWiki\Extension\DiscussionTools\CommentFormatter; use MediaWiki\Extension\DiscussionTools\CommentFormatter;
use MediaWiki\Extension\DiscussionTools\CommentParser; use MediaWiki\Extension\DiscussionTools\CommentParser;
use MediaWiki\Language\Language;
use MediaWiki\User\UserIdentity; use MediaWiki\User\UserIdentity;
use MediaWiki\Utils\MWTimestamp; use MediaWiki\Utils\MWTimestamp;

View file

@ -2,13 +2,13 @@
namespace MediaWiki\Extension\DiscussionTools\Tests; namespace MediaWiki\Extension\DiscussionTools\Tests;
use FormatJson;
use MediaWiki\Cache\GenderCache; use MediaWiki\Cache\GenderCache;
use MediaWiki\Config\HashConfig; use MediaWiki\Config\HashConfig;
use MediaWiki\Config\MultiConfig; use MediaWiki\Config\MultiConfig;
use MediaWiki\Config\ServiceOptions; use MediaWiki\Config\ServiceOptions;
use MediaWiki\Extension\DiscussionTools\CommentParser; use MediaWiki\Extension\DiscussionTools\CommentParser;
use MediaWiki\Interwiki\NullInterwikiLookup; use MediaWiki\Interwiki\NullInterwikiLookup;
use MediaWiki\Json\FormatJson;
use MediaWiki\Languages\LanguageConverterFactory; use MediaWiki\Languages\LanguageConverterFactory;
use MediaWiki\Languages\LanguageFactory; use MediaWiki\Languages\LanguageFactory;
use MediaWiki\MainConfigNames; use MediaWiki\MainConfigNames;

View file

@ -2,9 +2,9 @@
namespace MediaWiki\Extension\DiscussionTools\Tests; namespace MediaWiki\Extension\DiscussionTools\Tests;
use ExtensionRegistry;
use ImportStringSource; use ImportStringSource;
use MediaWiki\Extension\DiscussionTools\ThreadItemStore; use MediaWiki\Extension\DiscussionTools\ThreadItemStore;
use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\Title\TitleValue; use MediaWiki\Title\TitleValue;
use TestUser; use TestUser;

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Extension\DiscussionTools\Tests; namespace MediaWiki\Extension\DiscussionTools\Tests;
use ExtensionRegistry; use MediaWiki\Registration\ExtensionRegistry;
use MediaWiki\Tests\Api\ApiTestCase; use MediaWiki\Tests\Api\ApiTestCase;
/** /**