MediaWiki fundraising/REL1_35
|
Stable to implement. More...
Public Member Functions | |
onImgAuthBeforeStream (&$title, &$path, &$name, &$result) | |
This hook is called before a file is streamed to a user, but only when using img_auth.php. | |
Stable to implement.
Definition at line 11 of file ImgAuthBeforeStreamHook.php.
MediaWiki\Hook\ImgAuthBeforeStreamHook::onImgAuthBeforeStream | ( | & | $title, |
& | $path, | ||
& | $name, | ||
& | $result ) |
This hook is called before a file is streamed to a user, but only when using img_auth.php.
Title | &$title | Title object of the file as it would appear for the upload page |
string | &$path | Original file and path name when img_auth was invoked by the web server |
string | &$name | Name only component of the file |
array | &$result | Location to pass back results of the hook routine (only used if failed)
|
Implemented in MediaWiki\HookContainer\HookRunner.