Document ArticleUndelete change
authorMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 21 May 2014 02:37:19 +0000 (22:37 -0400)
committerMatthew Flaschen <mflaschen@wikimedia.org>
Wed, 21 May 2014 02:37:19 +0000 (22:37 -0400)
Change-Id: I157cab408598878e9483b60e656026f0ddbbb0b2

docs/hooks.txt

index 0c03375..d872242 100644 (file)
@@ -638,6 +638,7 @@ $title: Title corresponding to the article restored
 $create: Whether or not the restoration caused the page to be created (i.e. it
   didn't exist before).
 $comment: The comment associated with the undeletion.
+$oldPageId: ID of page previously deleted (from archive table)
 
 'ArticleUndeleteLogEntry': When a log entry is generated but not yet saved.
 $pageArchive: the PageArchive object