MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onIsUploadAllowedFromUrl ( $url, &$allowed) | |
Use this hook to override the result of UploadFromUrl::isAllowedUrl(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "IsUploadAllowedFromUrl" to register handlers implementing this interface.
Definition at line 12 of file IsUploadAllowedFromUrlHook.php.
MediaWiki\Hook\IsUploadAllowedFromUrlHook::onIsUploadAllowedFromUrl | ( | $url, | |
& | $allowed | ||
) |
Use this hook to override the result of UploadFromUrl::isAllowedUrl().
string | $url | URL used to upload from |
bool | &$allowed | Whether uploading is allowed for given URL |
Implemented in MediaWiki\HookContainer\HookRunner.