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