Replace some moved Title class uses, now MediaWiki\Title\Title

Bug: T321681
Change-Id: I9b9c59a564e81daf01bb99d48dc81c9357e94acc
This commit is contained in:
gerritbot 2023-08-19 04:15:51 +00:00
parent 7f95440c4d
commit b9da596fe8
6 changed files with 6 additions and 6 deletions

View file

@ -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() {

View file

@ -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;

View file

@ -4,7 +4,7 @@ namespace MediaWiki\Extension\Gadgets;
use InvalidArgumentException;
use MediaWiki\Linker\LinkTarget;
use Title;
use MediaWiki\Title\Title;
abstract class GadgetRepo {

View file

@ -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;

View file

@ -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;

View file

@ -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 {