X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fhooks.txt;h=29883b25a64a2b363a64159dcec77c7c30fb009d;hp=6c1597f3de76cc6fca1fd5254e2886777b9f5040;hb=92cf49df5ca0c5dea25f5ae651996d79a2ce25af;hpb=5120937028f768749d058aa91dde82a96de0af1c diff --git a/docs/hooks.txt b/docs/hooks.txt index 6c1597f3de..29883b25a6 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -1840,6 +1840,11 @@ $revisionInfo: Array of revision information Return false to stop further processing of the tag $reader: XMLReader object +'ImportHandleUnknownUser': When a user does exist locally, this hook is called +to give extensions an opportunity to auto-create it. If the auto-creation is +successful, return false. +$name: User name + 'ImportHandleUploadXMLTag': When parsing a XML tag in a file upload. Return false to stop further processing of the tag $reader: XMLReader object @@ -2589,6 +2594,12 @@ RejectParserCacheValue hook) because MediaWiki won't do it for you. callable here. The callable is passed the ParserOptions object and the option name. +'ParserOutputPostCacheTransform': Called from ParserOutput::getText() to do +post-cache transforms. +$parserOutput: The ParserOutput object. +&$text: The text being transformed, before core transformations are done. +&$options: The options array being used for the transformation. + 'ParserSectionCreate': Called each time the parser creates a document section from wikitext. Use this to apply per-section modifications to HTML (like wrapping the section in a DIV). Caveat: DIVs are valid wikitext, and a DIV