X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=5f2c129602974ae4917deba3a616b62c8fec9300;hb=774aee12d6d809aeedf64645b72eabbd872a58c7;hp=139123d5cf5f5c79eaba0ad7f11cafff22e192c0;hpb=5757a4497e4d8d0aa0d34b91f4155fc65b30ce91;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index 139123d5cf..5f2c129602 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2198,6 +2198,16 @@ Special:LonelyPages. 'MagicWordwgVariableIDs': When defining new magic words IDs. &$variableIDs: array of strings +'MaintenanceUpdateAddParams': allow extensions to add params to the update.php +maintenance script. +&$params: array to populate with the params to be added. Array elements are keyed by +the param name. Each param is an associative array that must include the following keys: + - desc The description of the param to show on --help + - require Is the param required? Defaults to false if not set. + - withArg Is an argument required with this option? Defaults to false if not set. + - shortName Character to use as short name, or false if none. Defaults to false if not set. + - multiOccurrence Can this option be passed multiple times? Defaults to false if not set. + 'MaintenanceRefreshLinksInit': before executing the refreshLinks.php maintenance script. $refreshLinks: RefreshLinks object @@ -2220,6 +2230,7 @@ $rcid: ID of the revision to be marked 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 +&$tags: the tags to be applied to the patrol log entry 'MarkPatrolledComplete': After an edit is marked patrolled. $rcid: ID of the revision marked as patrolled