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

Bug: T321681
Change-Id: I09a9c9f6294c9988feb3c2eba46ffde73996b3d3
This commit is contained in:
gerritbot 2023-08-19 04:19:49 +00:00 committed by DannyS712
parent 2a12962ecf
commit 71e31619f2
2 changed files with 3 additions and 2 deletions

View file

@ -13,8 +13,8 @@ use MediaWiki\Logger\LoggerFactory;
use MediaWiki\MediaWikiServices;
use MediaWiki\Page\WikiPageFactory;
use MediaWiki\Request\FauxRequest;
use MediaWiki\Title\Title;
use ParserOptions;
use Title;
use WANObjectCache;
use Wikimedia\ParamValidator\ParamValidator;
use WikiPage;

View file

@ -4,6 +4,7 @@ namespace TextExtracts\Test;
use ILanguageConverter;
use MediaWiki\Languages\LanguageConverterFactory;
use MediaWiki\Title\Title;
use MediaWikiCoversValidator;
use TextExtracts\ApiQueryExtracts;
use Wikimedia\LightweightObjectStore\ExpirationAwareness;
@ -68,7 +69,7 @@ class ApiQueryExtractsTest extends \MediaWikiIntegrationTestCase {
}
public function testMemCacheHelpers() {
$title = $this->createMock( \Title::class );
$title = $this->createMock( Title::class );
$title->method( 'getPageLanguage' )
->willReturn( $this->createMock( \Language::class ) );