mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Gadgets
synced 2024-11-12 01:01:48 +00:00
Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681 Change-Id: I9b9c59a564e81daf01bb99d48dc81c9357e94acc
This commit is contained in:
parent
7f95440c4d
commit
b9da596fe8
|
@ -30,8 +30,8 @@ use JsonContentHandler;
|
|||
use Linker;
|
||||
use MediaWiki\Content\Renderer\ContentParseParams;
|
||||
use MediaWiki\Revision\SlotRenderingProvider;
|
||||
use MediaWiki\Title\Title;
|
||||
use ParserOutput;
|
||||
use Title;
|
||||
|
||||
class GadgetDefinitionContentHandler extends JsonContentHandler {
|
||||
public function __construct() {
|
||||
|
|
|
@ -8,7 +8,7 @@ use MediaWiki\Linker\LinkTarget;
|
|||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Revision\RevisionLookup;
|
||||
use MediaWiki\Revision\SlotRecord;
|
||||
use Title;
|
||||
use MediaWiki\Title\Title;
|
||||
use WANObjectCache;
|
||||
use Wikimedia\Rdbms\Database;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ namespace MediaWiki\Extension\Gadgets;
|
|||
|
||||
use InvalidArgumentException;
|
||||
use MediaWiki\Linker\LinkTarget;
|
||||
use Title;
|
||||
use MediaWiki\Title\Title;
|
||||
|
||||
abstract class GadgetRepo {
|
||||
|
||||
|
|
|
@ -47,6 +47,7 @@ use MediaWiki\Revision\Hook\ContentHandlerDefaultModelForHook;
|
|||
use MediaWiki\Revision\RevisionRecord;
|
||||
use MediaWiki\SpecialPage\Hook\WgQueryPagesHook;
|
||||
use MediaWiki\Storage\Hook\PageSaveCompleteHook;
|
||||
use MediaWiki\Title\Title;
|
||||
use MediaWiki\User\Hook\UserGetDefaultOptionsHook;
|
||||
use OOUI\HtmlSnippet;
|
||||
use OutputPage;
|
||||
|
@ -54,7 +55,6 @@ use RequestContext;
|
|||
use Skin;
|
||||
use SpecialPage;
|
||||
use Status;
|
||||
use Title;
|
||||
use TitleValue;
|
||||
use User;
|
||||
use Wikimedia\Rdbms\IDatabase;
|
||||
|
|
|
@ -6,9 +6,9 @@ use InvalidArgumentException;
|
|||
use MediaWiki\Linker\LinkTarget;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Revision\SlotRecord;
|
||||
use MediaWiki\Title\Title;
|
||||
use ObjectCache;
|
||||
use TextContent;
|
||||
use Title;
|
||||
use WANObjectCache;
|
||||
use Wikimedia\Rdbms\Database;
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@ use Html;
|
|||
use HTMLForm;
|
||||
use InvalidArgumentException;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Title\Title;
|
||||
use Sanitizer;
|
||||
use SpecialPage;
|
||||
use Title;
|
||||
use Xml;
|
||||
|
||||
class SpecialGadgets extends SpecialPage {
|
||||
|
|
Loading…
Reference in a new issue