X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/modifier.php?a=blobdiff_plain;f=docs%2Fhooks.txt;h=3ff33655495a92dfad0b4af355874f7434058606;hb=6817a4336002698db9a92a362c6b20e243477033;hp=882515191616850b2fc58ade30dae6749c82b71b;hpb=9374590feac2e1c78565b790681e9afb966393c6;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index 8825151916..3ff3365549 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -2657,6 +2657,7 @@ $formData: array of user submitted data $form: PreferencesForm object, also a ContextSource $user: User object with preferences to be saved set &$result: boolean indicating success +$oldUserOptions: array with user old options (before save) 'PreferencesGetLegend': Override the text used for the of a preferences section. @@ -2715,6 +2716,11 @@ random pages. 'RecentChange_save': Called at the end of RecentChange::save(). &$recentChange: RecentChange object +'RecentChangesPurgeRows': Called when old recentchanges rows are purged, after +deleting those rows but within the same transaction. +$rows: The deleted rows as an array of recentchanges row objects (with up to + $wgUpdateRowsPerQuery items). + 'RedirectSpecialArticleRedirectParams': Lets you alter the set of parameter names such as "oldid" that are preserved when using redirecting special pages such as Special:MyPage and Special:MyTalk. @@ -3110,7 +3116,7 @@ UsersPager::formatRow(). &$item: HTML to be returned. Will be wrapped in
  • after the hook finishes $row: Database row object -'SpecialListusersHeader': Called before closing the
    in +'SpecialListusersHeader': Called after adding the submit button in UsersPager::getPageHeader(). $pager: The UsersPager instance &$out: The header HTML