X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=docs%2Fhooks.txt;h=a638703aca89fbed61dce4f1d885a16ab72b67f4;hb=68e8c6ca53c2c59d265d01a9583de85161fbfff8;hp=cfee2eb421b9db897678517910e220508eca55b5;hpb=187b46ce0c95fb91748bad5530fb158cf96c47cf;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index cfee2eb421..a638703aca 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1967,6 +1967,12 @@ $form: the PreferencesForm object. This is a ContextSource as well $key: the section name &$legend: the legend text. Defaults to wfMessage( "prefs-$key" )->text() but may be overridden +'PreferencesFormPreSave': Override preferences being saved + $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 + 'PrefixSearchBackend': Override the title prefix search used for OpenSearch and AJAX search suggestions. Put results into &$results outparam and return false. $ns : array of int namespace keys to search in