X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=docs%2Fhooks.txt;h=0254e0657ab7c6913a870e91fb34f22d27a7f8fa;hb=2c74b043568e;hp=da12d8c36791473be59ac6bcba648a34f6037029;hpb=ec6d6762eabf5ce0714ec561747d2cf50e22444f;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/hooks.txt b/docs/hooks.txt index da12d8c367..0254e0657a 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -774,14 +774,6 @@ $article: the article &$sectionanchor: The section anchor link (e.g. "#overview" ) &$extraq: Extra query parameters which can be added via hooked functions -'ArticleViewCustom': DEPRECATED! Use ArticleContentViewCustom instead. -Allows to output the text of the article in a different format than wikitext. -Note that it is preferable to implement proper handing for a custom data type -using the ContentHandler facility. -$text: text of the page -$title: title of the page -$output: reference to $wgOut - 'ArticleViewFooter': After showing the footer section of an ordinary page view $article: Article object $patrolFooterShown: boolean whether patrol footer is shown @@ -1417,13 +1409,6 @@ different data types using the ContentHandler facility. $editPage: EditPage object &$newtext: wikitext that will be used as "your version" -'EditPageGetDiffText': DEPRECATED! Use EditPageGetDiffContent instead. -Allow modifying the wikitext that will be used in "Show changes". Note that it -is preferable to implement diff handling for different data types using the -ContentHandler facility. -$editPage: EditPage object -&$newtext: wikitext that will be used as "your version" - 'EditPageGetPreviewContent': Allow modifying the wikitext that will be previewed. Note that it is preferable to implement previews for different data types using the ContentHandler facility. @@ -2841,12 +2826,6 @@ Special:ShortPages. 'ShowMissingArticle': Called when generating the output for a non-existent page. $article: The article object corresponding to the page -'ShowRawCssJs': DEPRECATED! Use the ContentGetParserOutput hook instead. -Customise the output of raw CSS and JavaScript in page views. -$text: Text being shown -$title: Title of the custom script/stylesheet page -$output: Current OutputPage object - 'ShowSearchHit': Customize display of search hit. $searchPage: The SpecialSearch instance. $result: The SearchResult to show