more changes

This commit is contained in:
2025-07-09 23:22:25 +02:00
parent 1878833ff0
commit d30813633a
6 changed files with 22 additions and 16 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 = \MediaWiki\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