Updated to work with new MediaWiki\Title\Title in 1.44

This commit is contained in:
2025-07-10 12:51:00 +02:00
parent 15f8fc5a3b
commit c56a6850a2
13 changed files with 56 additions and 32 deletions

View File

@ -36,7 +36,7 @@ class TargetsTest extends LinkTitles\TestCase {
// LinkTitlesLinkerTest::testLinkContentTargetNamespaces() is every changed,
// this test will fail.
$config->targetNamespaces = [ 4000 ];
$title = \Title::newFromText( 'link target' );
$title = Title::newFromText( 'link target' );
$targets = LinkTitles\Targets::singleton( $title, $config );
// Count number of articles: Inspired by updateArticleCount.php maintenance