MediaWiki REL1_39
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onBadImage ( $name, &$bad) | |
This hook is called when checking against the bad image list. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "BadImage" to register handlers implementing this interface.
Definition at line 12 of file BadImageHook.php.
MediaWiki\Hook\BadImageHook::onBadImage | ( | $name, | |
& | $bad ) |
This hook is called when checking against the bad image list.
If an image is "bad", it is not rendered inline in wiki pages or galleries in category pages.
string | $name | Image name being checked |
bool | &$bad | Whether or not the image is "bad" |
Implemented in MediaWiki\HookContainer\HookRunner.