MediaWiki  master
IsUploadAllowedFromUrlHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
22  public function onIsUploadAllowedFromUrl( $url, &$allowed );
23 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\IsUploadAllowedFromUrlHook
This is a hook handler interface, see docs/Hooks.md.
Definition: IsUploadAllowedFromUrlHook.php:12
MediaWiki\Hook\IsUploadAllowedFromUrlHook\onIsUploadAllowedFromUrl
onIsUploadAllowedFromUrl( $url, &$allowed)
Use this hook to override the result of UploadFromUrl::isAllowedUrl().