mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-23 15:36:52 +00:00
Use namespaced classes
Changes to the use statements done automatically via script Change-Id: I2883f6ccb1b3019cddcc2c957d022acf2d5c0ff7
This commit is contained in:
parent
a6f9c364bf
commit
ad1e665d5b
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
namespace MediaWiki\Linter;
|
||||
|
||||
use FormatJson;
|
||||
use MediaWiki\Json\FormatJson;
|
||||
|
||||
/**
|
||||
* Model to represent a LintError
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue