MediaWiki  master
IsUploadAllowedFromUrlHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
19  public function onIsUploadAllowedFromUrl( $url, &$allowed );
20 }
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\IsUploadAllowedFromUrlHook
Stable to implement.
Definition: IsUploadAllowedFromUrlHook.php:9
MediaWiki\Hook\IsUploadAllowedFromUrlHook\onIsUploadAllowedFromUrl
onIsUploadAllowedFromUrl( $url, &$allowed)
Use this hook to override the result of UploadFromUrl::isAllowedUrl().