r49873 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r49872‎ | r49873 | r49874 >
Date:13:50, 25 April 2009
Author:ialex
Status:ok
Tags:
Comment:
Follow-up r49790: remove from docs/hooks.txt hooks that were removed from code
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -777,10 +777,6 @@
778778 $target: Title/string of redirect target
779779 $article: Article object
780780
781 -'InitPreferencesForm': called at the end of PreferencesForm's constructor
782 -$form: the PreferencesForm
783 -$request: the web request to initialized from
784 -
785781 'InternalParseBeforeLinks': during Parser's internalParse method before links but
786782 after noinclude/includeonly/onlyinclude and other processing.
787783 &$this: Parser object
@@ -1085,10 +1081,6 @@
10861082 Change $result and return false to give a definitive answer, otherwise
10871083 the built-in rate limiting checks are used, if enabled.
10881084
1089 -'PreferencesUserInformationPanel': Add HTML bits to user information list in preferences form
1090 -$form : PreferencesForm object
1091 -&$html : HTML to append to
1092 -
10931085 'PrefixSearchBackend': Override the title prefix search used for OpenSearch and
10941086 AJAX search suggestions. Put results into &$results outparam and return false.
10951087 $ns : array of int namespace keys to search in
@@ -1113,14 +1105,6 @@
11141106 'RecentChange_save': called at the end of RecenChange::save()
11151107 $recentChange: RecentChange object
11161108
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 -
11251109 'RevisionInsertComplete': called after a revision is inserted into the DB
11261110 &$revision: the Revision
11271111 $data: the data stored in old_text. The meaning depends on $flags: if external
@@ -1130,13 +1114,6 @@
11311115 $flags: a comma-delimited list of strings representing the options used. May
11321116 include: utf8 (this will always be set for new revisions); gzip; external.
11331117
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 -
11411118 'SearchUpdate': Prior to search update completion
11421119 $id : Page id
11431120 $namespace : Page namespace

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r49790Branch merge of preferences work branch. Includes fixes for several bugs. WAR...werdna01:31, 24 April 2009

Status & tagging log