mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Linter
synced 2024-11-11 16:59:40 +00:00
Use namespaced classes
This requires 1.42 for some new names Done automatically via script Change-Id: Idaad9e8d165a6bd202b96bbb657deb710cca4c54
This commit is contained in:
parent
8efd27674b
commit
6c10926920
|
@ -10,7 +10,7 @@
|
|||
"descriptionmsg": "linter-desc",
|
||||
"type": "specialpage",
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.41"
|
||||
"MediaWiki": ">= 1.42"
|
||||
},
|
||||
"AutoloadNamespaces": {
|
||||
"MediaWiki\\Linter\\": "includes/"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Reference in a new issue