Jump to content

Extension:NSFileRepo/Hooks/ImgAuthBeforeCheckFileExists

From mediawiki.org
ImgAuthBeforeCheckFileExists
Available from version ???
Please edit this page to enter a summary.
Define function:
public static function onImgAuthBeforeCheckFileExists( string &$path, string &$name, string &$filename ) { ... }
Attach hook:
$wgHooks['ImgAuthBeforeCheckFileExists'][] = 'MyExtensionHooks::onImgAuthBeforeCheckFileExists';
Called from:File(s): NSFileRepo / nsfr_img_auth.php

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:ImgAuthBeforeCheckFileExists extensions.