From: Timo Tijhof Date: Thu, 14 Jun 2018 22:33:27 +0000 (+0100) Subject: hooks.txt: Use "array" in a sentence instead of `[]` X-Git-Tag: 1.34.0-rc.0~5053 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=7fa718072d97b6756fac388996943072e19e80a1 hooks.txt: Use "array" in a sentence instead of `[]` Follows-up 49806d37, which accidentally replaced this "array()" with "[]". Change-Id: Ib61e377cc66523aae2df2d42f7b3af2e5bf6c841 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 48b76bb319..d9b2c3e26e 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -232,7 +232,7 @@ wfRunHooks must be used, which was deprecated in MediaWiki 1.25. Note that hook parameters are passed in an array; this is a necessary inconvenience to make it possible to pass reference values (that can be changed) into the hook code. Also note that earlier versions of wfRunHooks took a -variable number of arguments; the [] calling protocol came about after +variable number of arguments; the array calling protocol came about after MediaWiki 1.4rc1. ==Events and parameters==