dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2295a85
)
Merge "Hooks do not have to return true any more, they can return null"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Tue, 8 Mar 2016 18:09:03 +0000
(18:09 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 8 Mar 2016 18:09:03 +0000
(18:09 +0000)
docs/hooks.txt
patch
|
blob
|
history
diff --git
a/docs/hooks.txt
b/docs/hooks.txt
index
c5f2424
..
a431f1b
100644
(file)
--- a/
docs/hooks.txt
+++ b/
docs/hooks.txt
@@
-178,7
+178,8
@@
once for 'TimStarling', and once for 'brion'.
Hooks can return three possible values:
- * true: the hook has operated successfully
+ * No return value (or null): the hook has operated successfully. Previously,
+ true was required. This is the default since MediaWiki 1.23.
* "some string": an error occurred; processing should stop and the error
should be shown to the user
* false: the hook has successfully done the work necessary and the calling