mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateStyles
synced 2024-11-27 17:50:29 +00:00
Use namespaced classes
This requires 1.42 for some new names Changes to the use statements done automatically via script Addition of missing use statement done manually Change-Id: I0f43f4db86de2990c8902a36976923ad9f0ae67a
This commit is contained in:
parent
960c2b3194
commit
ef074299ca
|
@ -13,7 +13,7 @@
|
|||
"manifest_version": 2,
|
||||
"load_composer_autoloader": true,
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.41"
|
||||
"MediaWiki": ">= 1.42"
|
||||
},
|
||||
"MessagesDirs": {
|
||||
"TemplateStyles": [
|
||||
|
|
|
@ -7,15 +7,15 @@ namespace MediaWiki\Extension\TemplateStyles;
|
|||
* @license GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
use Config;
|
||||
use ContentHandler;
|
||||
use ExtensionRegistry;
|
||||
use Html;
|
||||
use InvalidArgumentException;
|
||||
use MapCacheLRU;
|
||||
use MediaWiki\Config\Config;
|
||||
use MediaWiki\Extension\TemplateStyles\Hooks\HookRunner;
|
||||
use MediaWiki\Hook\ParserClearStateHook;
|
||||
use MediaWiki\Hook\ParserFirstCallInitHook;
|
||||
use MediaWiki\Html\Html;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Revision\Hook\ContentHandlerDefaultModelForHook;
|
||||
use MediaWiki\Revision\SlotRecord;
|
||||
|
|
|
@ -13,9 +13,9 @@ use CSSJanus;
|
|||
use MediaWiki\Content\Renderer\ContentParseParams;
|
||||
use MediaWiki\Content\ValidationParams;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Parser\ParserOutput;
|
||||
use MediaWiki\Status\Status;
|
||||
use Message;
|
||||
use ParserOutput;
|
||||
use Status;
|
||||
use StatusValue;
|
||||
use Wikimedia\CSS\Parser\Parser as CSSParser;
|
||||
use Wikimedia\CSS\Util as CSSUtil;
|
||||
|
|
|
@ -5,6 +5,7 @@ use MediaWiki\Extension\TemplateStyles\TemplateStylesContent;
|
|||
use MediaWiki\Extension\TemplateStyles\TemplateStylesContentHandler;
|
||||
use MediaWiki\Page\PageIdentity;
|
||||
use MediaWiki\Page\PageIdentityValue;
|
||||
use MediaWiki\Status\Status;
|
||||
use MediaWiki\Title\Title;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue