Replace moved Title class uses, now MediaWiki\Title\Title

This raises compatibility to MediaWiki 1.40+.

Change-Id: I85ffdd312ee3017c2197dd0375178d49115072a4
This commit is contained in:
James D. Forrester 2024-02-21 11:17:05 -05:00
parent 8a845602ec
commit 211f7e0a5d
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@
"license-name": "GPL-2.0-or-later",
"type": "parserhook",
"requires": {
"MediaWiki": ">= 1.39"
"MediaWiki": ">= 1.40"
},
"config": {
"PFEnableStringFunctions": {

View file

@ -12,6 +12,7 @@ use MediaWiki\Languages\LanguageConverterFactory;
use MediaWiki\Languages\LanguageFactory;
use MediaWiki\Languages\LanguageNameUtils;
use MediaWiki\SpecialPage\SpecialPageFactory;
use MediaWiki\Title\Title;
use MWTimestamp;
use Parser;
use PPFrame;
@ -19,7 +20,6 @@ use PPNode;
use RepoGroup;
use Sanitizer;
use StringUtils;
use Title;
use Wikimedia\RequestTimeout\TimeoutException;
/**