From 62710b6d8286d57340216ab67f05fd83058ebfef Mon Sep 17 00:00:00 2001 From: Alex Monk Date: Fri, 7 Mar 2014 23:54:49 +0000 Subject: [PATCH] Mention possibility of $revision being null in PageContentSaveComplete Lead to a fatal in WMF production, see I40c1412d Change-Id: I39e05210e77f3dc0a1fcd995201a9c1ec9bc99f3 --- docs/hooks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index a8334848fe..e944d55c61 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1824,7 +1824,7 @@ $isMinor: Whether or not the edit was marked as minor $isWatch: (No longer used) $section: (No longer used) $flags: Flags passed to WikiPage::doEditContent() -$revision: New Revision of the article +$revision: New Revision of the article (can be null for edits that change nothing) $status: Status object about to be returned by doEditContent() $baseRevId: the rev ID (or false) this edit was based on -- 2.20.1