MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onBadImage ( $name, &$bad) | |
This hook is called when checking against the bad image list. | |
Stable to implement.
Definition at line 9 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.