mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TextExtracts
synced 2024-11-27 09:30:09 +00:00
Replace some moved Title class uses, now MediaWiki\Title\Title
Bug: T321681 Change-Id: I09a9c9f6294c9988feb3c2eba46ffde73996b3d3
This commit is contained in:
parent
2a12962ecf
commit
71e31619f2
|
@ -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;
|
||||
|
|
|
@ -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 ) );
|
||||
|
||||
|
|
Loading…
Reference in a new issue