build: Fix doc type on MediaWikiPerformActionHook

This requires 1.42 for the new type

Bug: T354216
Follow-Up: Ib70e4e67e4cb1b65ac218c095864fb6eb43d0929
Change-Id: Id3f5f31bcc6183e8a72b05bfe344a72285c7a8b2
This commit is contained in:
Umherirrender 2024-01-05 21:04:05 +01:00
parent 5637ebbc02
commit 0dd9df7e32
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@
"url": "https://www.mediawiki.org/wiki/Extension:InputBox",
"descriptionmsg": "inputbox-desc",
"requires": {
"MediaWiki": ">= 1.41"
"MediaWiki": ">= 1.42"
},
"license-name": "MIT",
"type": "parserhook",

View file

@ -9,7 +9,7 @@
namespace MediaWiki\Extension\InputBox;
use Article;
use MediaWiki;
use MediaWiki\Actions\ActionEntryPoint;
use MediaWiki\Config\Config;
use MediaWiki\Hook\MediaWikiPerformActionHook;
use MediaWiki\Hook\ParserFirstCallInitHook;
@ -97,7 +97,7 @@ class InputBoxHooks implements
* @param Title $title
* @param User $user
* @param WebRequest $request
* @param MediaWiki $wiki
* @param ActionEntryPoint $wiki
* @return bool
*/
public function onMediaWikiPerformAction(