Index: trunk/phase3/docs/hooks.txt |
— | — | @@ -777,10 +777,6 @@ |
778 | 778 | $target: Title/string of redirect target |
779 | 779 | $article: Article object |
780 | 780 | |
781 | | -'InitPreferencesForm': called at the end of PreferencesForm's constructor |
782 | | -$form: the PreferencesForm |
783 | | -$request: the web request to initialized from |
784 | | - |
785 | 781 | 'InternalParseBeforeLinks': during Parser's internalParse method before links but |
786 | 782 | after noinclude/includeonly/onlyinclude and other processing. |
787 | 783 | &$this: Parser object |
— | — | @@ -1085,10 +1081,6 @@ |
1086 | 1082 | Change $result and return false to give a definitive answer, otherwise |
1087 | 1083 | the built-in rate limiting checks are used, if enabled. |
1088 | 1084 | |
1089 | | -'PreferencesUserInformationPanel': Add HTML bits to user information list in preferences form |
1090 | | -$form : PreferencesForm object |
1091 | | -&$html : HTML to append to |
1092 | | - |
1093 | 1085 | 'PrefixSearchBackend': Override the title prefix search used for OpenSearch and |
1094 | 1086 | AJAX search suggestions. Put results into &$results outparam and return false. |
1095 | 1087 | $ns : array of int namespace keys to search in |
— | — | @@ -1113,14 +1105,6 @@ |
1114 | 1106 | 'RecentChange_save': called at the end of RecenChange::save() |
1115 | 1107 | $recentChange: RecentChange object |
1116 | 1108 | |
1117 | | -'RenderPreferencesForm': called at the end of PreferencesForm::mainPrefsForm |
1118 | | -$form: the PreferencesForm |
1119 | | -$out: output page to render to, probably $wgOut |
1120 | | - |
1121 | | -'ResetPreferences': called at the end of PreferencesForm::resetPrefs |
1122 | | -$form: the PreferencesForm |
1123 | | -$user: the User object to load preferences from |
1124 | | - |
1125 | 1109 | 'RevisionInsertComplete': called after a revision is inserted into the DB |
1126 | 1110 | &$revision: the Revision |
1127 | 1111 | $data: the data stored in old_text. The meaning depends on $flags: if external |
— | — | @@ -1130,13 +1114,6 @@ |
1131 | 1115 | $flags: a comma-delimited list of strings representing the options used. May |
1132 | 1116 | include: utf8 (this will always be set for new revisions); gzip; external. |
1133 | 1117 | |
1134 | | -'SavePreferences': called at the end of PreferencesForm::savePreferences; |
1135 | | - returning false prevents the preferences from being saved. |
1136 | | -$form: the PreferencesForm |
1137 | | -$user: the User object to save preferences to |
1138 | | -$message: change this to set an error message (ignored if the hook does not return false) |
1139 | | -$old: old preferences of the user |
1140 | | - |
1141 | 1118 | 'SearchUpdate': Prior to search update completion |
1142 | 1119 | $id : Page id |
1143 | 1120 | $namespace : Page namespace |