From 05030e02ba06bfca1e8e468683bebcc47941ff95 Mon Sep 17 00:00:00 2001 From: Samuel Maenle Date: Sun, 6 Jul 2025 22:49:16 +0200 Subject: [PATCH] more testing for new mediawiki titles --- includes/Targets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Targets.php b/includes/Targets.php index ed8c658..5793937 100644 --- a/includes/Targets.php +++ b/includes/Targets.php @@ -41,7 +41,7 @@ class Targets { * @param String $sourceNamespace The namespace of the current page. * @param Config $config LinkTitles configuration. */ - public static function singleton( \Title|MediaWiki\Title\Title $title, Config $config ) { + public static function singleton( MediaWiki\Title\Title $title, Config $config ) { // If we received a MediaWiki\Title\Title, convert to legacy Title if ( $title instanceof MediaWiki\Title\Title ) { $title = Title::newFromLinkTarget( $title );