hooks.txt: Use "array" in a sentence instead of `[]`
authorTimo Tijhof <krinklemail@gmail.com>
Thu, 14 Jun 2018 22:33:27 +0000 (23:33 +0100)
committerTimo Tijhof <krinklemail@gmail.com>
Thu, 14 Jun 2018 22:33:27 +0000 (23:33 +0100)
Follows-up 49806d37, which accidentally replaced this "array()"
with "[]".

Change-Id: Ib61e377cc66523aae2df2d42f7b3af2e5bf6c841

docs/hooks.txt

index 48b76bb..d9b2c3e 100644 (file)
@@ -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==