From 7fa718072d97b6756fac388996943072e19e80a1 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 14 Jun 2018 23:33:27 +0100 Subject: [PATCH] hooks.txt: Use "array" in a sentence instead of `[]` Follows-up 49806d37, which accidentally replaced this "array()" with "[]". Change-Id: Ib61e377cc66523aae2df2d42f7b3af2e5bf6c841 --- docs/hooks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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== -- 2.20.1