MediaWiki REL1_35
|
Stable to implement. More...
Public Member Functions | |
onIsUploadAllowedFromUrl ( $url, &$allowed) | |
Use this hook to override the result of UploadFromUrl::isAllowedUrl(). | |
Stable to implement.
Definition at line 9 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.