Use namespaced classes

This requires 1.42 for some new names

Done automatically via script

Change-Id: Idaad9e8d165a6bd202b96bbb657deb710cca4c54
This commit is contained in:
Umherirrender 2024-01-06 17:03:30 +01:00
parent 8efd27674b
commit 6c10926920
4 changed files with 11 additions and 11 deletions

View file

@ -10,7 +10,7 @@
"descriptionmsg": "linter-desc",
"type": "specialpage",
"requires": {
"MediaWiki": ">= 1.41"
"MediaWiki": ">= 1.42"
},
"AutoloadNamespaces": {
"MediaWiki\\Linter\\": "includes/"

View file

@ -24,21 +24,21 @@ use ApiQuerySiteinfo;
use Content;
use IContextSource;
use MediaWiki\Api\Hook\APIQuerySiteInfoGeneralInfoHook;
use MediaWiki\Deferred\MWCallableUpdate;
use MediaWiki\Hook\BeforePageDisplayHook;
use MediaWiki\Hook\InfoActionHook;
use MediaWiki\Hook\ParserLogLinterDataHook;
use MediaWiki\Linker\LinkRenderer;
use MediaWiki\Logger\LoggerFactory;
use MediaWiki\MediaWikiServices;
use MediaWiki\Output\OutputPage;
use MediaWiki\Page\Hook\RevisionFromEditCompleteHook;
use MediaWiki\Page\Hook\WikiPageDeletionUpdatesHook;
use MediaWiki\Revision\RevisionRecord;
use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Title\Title;
use MediaWiki\User\UserIdentity;
use MWCallableUpdate;
use OutputPage;
use Skin;
use SpecialPage;
use WikiPage;
class Hooks implements

View file

@ -20,15 +20,15 @@
namespace MediaWiki\Linter;
use Html;
use IContextSource;
use InvalidArgumentException;
use LinkCache;
use MediaWiki\Html\Html;
use MediaWiki\Linker\LinkRenderer;
use MediaWiki\MediaWikiServices;
use MediaWiki\Pager\TablePager;
use MediaWiki\Title\Title;
use TablePager;
use TitleValue;
use MediaWiki\Title\TitleValue;
use Wikimedia\Rdbms\IExpression;
use Wikimedia\Rdbms\LikeValue;
use Wikimedia\Rdbms\SelectQueryBuilder;

View file

@ -21,12 +21,12 @@
namespace MediaWiki\Linter;
use HTMLForm;
use MalformedTitleException;
use MediaWiki\Html\Html;
use MediaWiki\MediaWikiServices;
use OutputPage;
use SpecialPage;
use WebRequest;
use MediaWiki\Output\OutputPage;
use MediaWiki\Request\WebRequest;
use MediaWiki\SpecialPage\SpecialPage;
use MediaWiki\Title\MalformedTitleException;
class SpecialLintErrors extends SpecialPage {