jenkins-bot has submitted this change and it was merged. Change subject: Fixed arguments syntax in hooks.txt ......................................................................
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 --- M docs/hooks.txt 1 file changed, 4 insertions(+), 4 deletions(-) Approvals: Gergő Tisza: Looks good to me, approved jenkins-bot: Verified diff --git a/docs/hooks.txt b/docs/hooks.txt index 8d36603..427f35e 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -768,7 +768,7 @@ '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 @@ $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. -- To view, visit https://gerrit.wikimedia.org/r/250209 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Iae0285b1a39cf851aaaa735cb22e95c839813997 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <[email protected]> Gerrit-Reviewer: Gergő Tisza <[email protected]> Gerrit-Reviewer: Umherirrender <[email protected]> Gerrit-Reviewer: Waldir <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
