mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39:30 +02:00
Updated to work with new MediaWiki\Title\Title in 1.44
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user