Use namespaced classes

Changes to the use statements done automatically via script

Change-Id: I2883f6ccb1b3019cddcc2c957d022acf2d5c0ff7
This commit is contained in:
Umherirrender 2024-10-20 09:25:08 +02:00
parent a6f9c364bf
commit ad1e665d5b
10 changed files with 17 additions and 17 deletions

View file

@ -20,10 +20,10 @@
namespace MediaWiki\Linter;
use ApiBase;
use ApiQuery;
use ApiQueryBase;
use ApiResult;
use MediaWiki\Api\ApiBase;
use MediaWiki\Api\ApiQuery;
use MediaWiki\Api\ApiQueryBase;
use MediaWiki\Api\ApiResult;
use MediaWiki\Title\Title;
use Wikimedia\ParamValidator\ParamValidator;
use Wikimedia\ParamValidator\TypeDef\IntegerDef;

View file

@ -19,9 +19,9 @@
*/
namespace MediaWiki\Linter;
use ApiQuery;
use ApiQueryBase;
use ApiResult;
use MediaWiki\Api\ApiQuery;
use MediaWiki\Api\ApiQueryBase;
use MediaWiki\Api\ApiResult;
class ApiQueryLinterStats extends ApiQueryBase {

View file

@ -20,8 +20,8 @@
namespace MediaWiki\Linter;
use FormatJson;
use MediaWiki\Config\ServiceOptions;
use MediaWiki\Json\FormatJson;
use MediaWiki\Logger\LoggerFactory;
use stdClass;
use Wikimedia\Rdbms\IDatabase;

View file

@ -20,12 +20,12 @@
namespace MediaWiki\Linter;
use ApiQuerySiteinfo;
use Content;
use JobQueueError;
use JobQueueGroup;
use MediaWiki\Api\ApiQuerySiteinfo;
use MediaWiki\Api\Hook\APIQuerySiteInfoGeneralInfoHook;
use MediaWiki\Config\Config;
use MediaWiki\Content\Content;
use MediaWiki\Context\IContextSource;
use MediaWiki\Deferred\DeferrableUpdate;
use MediaWiki\Deferred\MWCallableUpdate;

View file

@ -20,7 +20,7 @@
namespace MediaWiki\Linter;
use FormatJson;
use MediaWiki\Json\FormatJson;
/**
* Model to represent a LintError

View file

@ -20,11 +20,11 @@
namespace MediaWiki\Linter;
use IBufferingStatsdDataFactory;
use MediaWiki\Config\ServiceOptions;
use MediaWiki\WikiMap\WikiMap;
use WANObjectCache;
use Wikimedia\ObjectCache\WANObjectCache;
use Wikimedia\Rdbms\Database as MWDatabase;
use Wikimedia\Stats\IBufferingStatsdDataFactory;
/**
* Lookup to find and cache the total amount of

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Linter\Maintenance;
use LoggedUpdateMaintenance;
use MediaWiki\Maintenance\LoggedUpdateMaintenance;
/**
* Maintenance script that migrates the page table page_namespace field values

View file

@ -2,7 +2,7 @@
namespace MediaWiki\Linter\Maintenance;
use LoggedUpdateMaintenance;
use MediaWiki\Maintenance\LoggedUpdateMaintenance;
/**
* Maintenance script that migrates the linter_params field value to the new tag and template fields

View file

@ -22,6 +22,7 @@ namespace MediaWiki\Linter\Test;
use MediaWiki\Content\JavaScriptContent;
use MediaWiki\Content\JavaScriptContentHandler;
use MediaWiki\Content\WikitextContent;
use MediaWiki\Content\WikitextContentHandler;
use MediaWiki\Linter\LintUpdate;
use MediaWiki\MainConfigNames;
@ -33,7 +34,6 @@ use MediaWiki\Revision\SlotRecord;
use MediaWikiIntegrationTestCase;
use RefreshLinksJob;
use WikiPage;
use WikitextContent;
/**
* @group Database

View file

@ -20,8 +20,8 @@
namespace MediaWiki\Linter\Test;
use ContentHandler;
use Exception;
use MediaWiki\Content\ContentHandler;
use MediaWiki\Linter\RecordLintJob;
use MediaWiki\Linter\SpecialLintErrors;
use MediaWiki\Page\PageReference;