aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hooks.txt
diff options
context:
space:
mode:
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>2020-04-20 22:58:57 +0000
committerGerrit Code Review <gerrit@wikimedia.org>2020-04-20 22:58:57 +0000
commit4ca946e155434483d96bb511a7776f4aaa858a9c (patch)
tree4112ad981f03e4f8aec838e90c8722602c2f1d60 /docs/hooks.txt
parentd4538888ac6fc150de9bf4c072df3289a3574836 (diff)
parent1519cefbc4b079fa3a460c89fbf43290406d8357 (diff)
downloadmediawikicore-4ca946e155434483d96bb511a7776f4aaa858a9c.tar.gz
mediawikicore-4ca946e155434483d96bb511a7776f4aaa858a9c.zip
Merge "Replace `ArticleRollbackComplete` hook with `RollbackComplete`"
Diffstat (limited to 'docs/hooks.txt')
-rw-r--r--docs/hooks.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/docs/hooks.txt b/docs/hooks.txt
index cbc95259ed8d..9e2a46601371 100644
--- a/docs/hooks.txt
+++ b/docs/hooks.txt
@@ -700,7 +700,8 @@ $visibilityChangeMap: Map of revision id to oldBits and newBits. This array can
revision. This array is of the form
[id => ['oldBits' => $oldBits, 'newBits' => $newBits], ... ]
-'ArticleRollbackComplete': After an article rollback is completed.
+'ArticleRollbackComplete': DEPRECATED since 1.35! Use RollbackComplete instead.
+After an article rollback is completed.
$wikiPage: the WikiPage that was edited
$user: the user who did the rollback
$revision: the revision the page was reverted back to
@@ -2919,6 +2920,12 @@ $flags: DEPRECATED! Always null!
$revisionRecord: the RevisionRecord that was restored
$oldPageID: the page ID of the revision when archived (may be null)
+'RollbackComplete': After an article rollback is completed.
+$wikiPage: the WikiPage that was edited
+$user: UserIdentity for the user who did the rollback
+$revision: RevisionRecord for the revision the page was reverted back to
+$current: RevisionRecord for the reverted revision
+
'SearchableNamespaces': An option to modify which namespaces are searchable.
&$arr: Array of namespaces ($nsId => $name) which will be used.