more changes

This commit is contained in:
2025-07-09 23:12:28 +02:00
parent a615e45c69
commit 6a74771d26
2 changed files with 3 additions and 3 deletions

View File

@@ -25,7 +25,7 @@
namespace LinkTitles;
use MediaWiki\MediaWikiServices;
use \MediaWiki\Title\Title as MWTitle;
use \MediaWiki\Title\Title;
/**
* Represents a page that is a potential link target.
@@ -77,7 +77,7 @@ class Target {
* @param String &$title Title of the target page
*/
public function __construct( $namespace, $title, Config &$config ) {
$this->title = MWTitle::makeTitleSafe( $namespace, $title );
$this->title = \MediaWiki\Title\Title::makeTitleSafe( $namespace, $title );
$this->titleValue = $this->title->getTitleValue();
$this->config = $config;