From: umherirrender Date: Sat, 31 Oct 2015 18:14:29 +0000 (+0100) Subject: Fixed arguments syntax in hooks.txt X-Git-Tag: 1.31.0-rc.0~9152^2 X-Git-Url: http://git.cyclocoop.org/wiki/Target_page?a=commitdiff_plain;h=032914d65b92055c53845a9d12e472b598784ae8;p=lhc%2Fweb%2Fwiklou.git Fixed arguments syntax in hooks.txt BaseTemplateAfterPortlet: Add colon to match the other arguments FileUpload: Adjust spacing to match the other arguments Change-Id: Iae0285b1a39cf851aaaa735cb22e95c839813997 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 8d3660374d..427f35e773 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -768,7 +768,7 @@ $name: Image name being checked 'BaseTemplateAfterPortlet': After output of portlets, allow injecting custom HTML after the section. Any uses of the hook need to handle escaping. -$template BaseTemplate +$template: BaseTemplate $portlet: string portlet name &$html: string @@ -1363,10 +1363,10 @@ $user: user who performed the undeletion $reason: reason 'FileUpload': When a file upload occurs. -$file : Image object representing the file that was uploaded -$reupload : Boolean indicating if there was a previously another image there or +$file: Image object representing the file that was uploaded +$reupload: Boolean indicating if there was a previously another image there or not (since 1.17) -$hasDescription : Boolean indicating that there was already a description page +$hasDescription: Boolean indicating that there was already a description page and a new one from the comment wasn't created (since 1.17) 'FormatAutocomments': When an autocomment is formatted by the Linker.