mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/PageImages
synced 2024-11-27 17:50:53 +00:00
Use renamed ParserModifyImageHTMLHook interface
Follow-Up: I3043454a502289e5ee2492f7bf2ab01e155c30ba Change-Id: I3cc4a5d4e4edac76e81c16c1da97427d765cce49
This commit is contained in:
parent
a0be3eec78
commit
3ae938a116
|
@ -6,7 +6,7 @@
|
|||
"license-name": "WTFPL",
|
||||
"type": "api",
|
||||
"requires": {
|
||||
"MediaWiki": ">= 1.37.0"
|
||||
"MediaWiki": ">= 1.41.0"
|
||||
},
|
||||
"APIPropModules": {
|
||||
"pageimages": "PageImages\\ApiQueryPageImages"
|
||||
|
|
|
@ -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]+)-->/';
|
||||
|
|
Loading…
Reference in a new issue