| SpecialLogAddLogSearchRelations | |
|---|---|
| Available fromversion 1.24.0 (Gerrit change 169540) Add log relations to the current log | |
| Define function: | publicstaticfunctiononSpecialLogAddLogSearchRelations(string$type,WebRequest$request,array&$queryConds){...} |
| Attach hook: | Inextension.json:{"Hooks":{"SpecialLogAddLogSearchRelations":"MediaWiki\\Extension\\MyExtension\\Hooks::onSpecialLogAddLogSearchRelations"}} |
| Called from: | File(s):specials/SpecialLog.php Function(s):execute |
| Interface: | SpecialLogAddLogSearchRelationsHook.php |
For more information about attaching hooks, seeManual:Hooks.
For examples of extensions using this hook, seeCategory:SpecialLogAddLogSearchRelations extensions.
$type: String of the log type$request: WebRequest object for getting the value provided by the current user&$queryConds: Array for query conditions to add