X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=8d3660374d53e8ca8ee47b25d7c7083da93c082e;hb=bfa365a8ac4abe25a696a4ff337cb26c60748262;hp=717dd390071a60b617eede637f6e8d31a79b8ee8;hpb=d9bf5160b4b528dbd3d8cd1fb0d07821ab63330c;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index 717dd39007..8d3660374d 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -575,6 +575,7 @@ $error: if the deletion was prohibited, the (raw HTML) error message to display (added in 1.13) $status: Status object, modify this to throw an error. Overridden by $error (added in 1.20) +$suppress: Whether this is a suppression deletion or not (added in 1.27) 'ArticleDeleteAfterSuccess': Output after an article has been deleted. $title: Title of the article that has been deleted. @@ -1956,12 +1957,14 @@ $rcid: ID of the revision to be marked patrolled $user: the user (object) marking the revision as patrolled $wcOnlySysopsCanPatrol: config setting indicating whether the user needs to be a sysop in order to mark an edit patrolled. +$auto true if the edit is being marked as patrolled automatically 'MarkPatrolledComplete': After an edit is marked patrolled. $rcid: ID of the revision marked as patrolled $user: user (object) who marked the edit patrolled $wcOnlySysopsCanPatrol: config setting indicating whether the user must be a sysop to patrol the edit. +$auto true if the edit is being marked as patrolled automatically 'MediaWikiPerformAction': Override MediaWiki::performAction(). Use this to do something completely different, after the basic globals have been set up, but