X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=1419d0a9d96fdaf5d93d2234c7b855a69f2d3b19;hb=956ffb9cd77bb9748cf7bc425d50f0eea7e3abdd;hp=21e535c95be32e1542183a25dc58e14958aa5551;hpb=535518220ad685c262332caa8ea94d0b6a6fe3a4;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index 21e535c95b..1419d0a9d9 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1193,9 +1193,6 @@ a custom editor, e.g. for a special namespace, etc. $article: Article being edited $user: User performing the edit -'DatabaseOraclePostInit': Called after initialising an Oracle database -$db: the DatabaseOracle object - 'DeletedContribsPager::reallyDoQuery': Called before really executing the query for Special:DeletedContributions Similar to ContribsPager::reallyDoQuery @@ -2333,7 +2330,7 @@ namespace. $index: Integer; the index of the namespace being checked. &$result: Boolean; whether MediaWiki currently thinks that pages in this namespace are movable. Hooks may change this value to override the return - value of MWNamespace::isMovable(). + value of NamespaceInfo::isMovable(). 'NewDifferenceEngine': Called when a new DifferenceEngine object is made $title: the diff page title (nullable) @@ -2451,7 +2448,7 @@ $title: Title object &$pageLang: the page content language. Input can be anything (under control of hook subscribers), but hooks should return Language objects. Language code strings are deprecated. -$userLang: the user language (Language or StubUserLang object) +$userLang: the user language (Language object) 'PageContentSave': Before an article is saved. $wikiPage: the WikiPage (object) being saved @@ -3071,7 +3068,6 @@ $tooltip: The default tooltip. Escape before using. - text - String for the text - attribs - Array of attributes - query - Array of query parameters to add to the URL - - options - Array of options for Linker::link $lang: The language code to use for the link in the wfMessage function 'SkinGetPoweredBy': TODO