Use renamed ParserModifyImageHTMLHook interface

Follow-Up: I3043454a502289e5ee2492f7bf2ab01e155c30ba
Change-Id: I3cc4a5d4e4edac76e81c16c1da97427d765cce49
This commit is contained in:
Umherirrender 2023-04-22 19:54:54 +02:00
parent a0be3eec78
commit 3ae938a116
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
"license-name": "WTFPL",
"type": "api",
"requires": {
"MediaWiki": ">= 1.37.0"
"MediaWiki": ">= 1.41.0"
},
"APIPropModules": {
"pageimages": "PageImages\\ApiQueryPageImages"

View file

@ -7,7 +7,7 @@ use Exception;
use File;
use FormatMetadata;
use MediaWiki\Hook\ParserAfterTidyHook;
use MediaWiki\Hook\ParserModifyImageHTML;
use MediaWiki\Hook\ParserModifyImageHTMLHook;
use MediaWiki\Hook\ParserTestGlobalsHook;
use MediaWiki\Http\HttpRequestFactory;
use MediaWiki\Page\PageReference;
@ -39,7 +39,7 @@ use WANObjectCache;
*/
class ParserFileProcessingHookHandlers implements
ParserAfterTidyHook,
ParserModifyImageHTML,
ParserModifyImageHTMLHook,
ParserTestGlobalsHook
{
private const CANDIDATE_REGEX = '/<!--MW-PAGEIMAGES-CANDIDATE-([0-9]+)-->/';