X-Git-Url: https://git.cyclocoop.org/admin/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=685a182a55fa44dbb0847ff683f2f1cce8a50cd7;hb=33ee1ad3ee9e2c4cabb772157938d5ab43739ef5;hp=a19e9fc0e242ec620e5a9da97d223342e52bcb2d;hpb=911de590d5517d08ee00c33c980d35b9c6f501c0;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index a19e9fc0e2..685a182a55 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -689,6 +689,8 @@ $destTitle: destination title (object) 'ArticlePageDataBefore': Before loading data of an article from the database. &$wikiPage: WikiPage (object) that data will be loaded &$fields: fields (array) to load from the database +&$tables: tables (array) to load from the database +&$joinConds: join conditions (array) to load from the database 'ArticlePrepareTextForEdit': Called when preparing text to be saved. $wikiPage: the WikiPage being saved @@ -1838,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 @@ -2940,6 +2947,7 @@ $result: The SearchResult object $terms: String of the search terms entered $specialSearch: The SpecialSearch object &$query: Array of query string parameters for the link representing the search result. +&$attributes: Array of title link attributes, can be modified by extension. 'SidebarBeforeOutput': Allows to edit sidebar just before it is output by skins. Warning: This hook is run on each display. You should consider to use