X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=docs%2Fcontenthandler.txt;h=5f379e7e336493ed35202565cee56c8a6710a98a;hp=6209b1426c991c8fdaa1e28407fde1e0609105b3;hb=1dcf5b66d33ebade1c5cc8d3b2803aa70c8bb958;hpb=42324aff4e173b70aeed4f520ff0f5b96557d24e diff --git a/docs/contenthandler.txt b/docs/contenthandler.txt index 6209b1426c..5f379e7e33 100644 --- a/docs/contenthandler.txt +++ b/docs/contenthandler.txt @@ -21,10 +21,6 @@ ContentHandler::getDefaultModelFor($title) as follows: * The hook ContentHandlerDefaultModelFor may be used to override the page's default model. * Pages in NS_MEDIAWIKI and NS_USER default to the CSS or JavaScript model if they end in .css or .js, respectively. Pages in NS_MEDIAWIKI default to the wikitext model otherwise. -* The hook TitleIsCssOrJsPage may be used to force a page to use the CSS or JavaScript model. - This is a compatibility feature. The ContentHandlerDefaultModelFor hook should be used instead if possible. -* The hook TitleIsWikitextPage may be used to force a page to use the wikitext model. - This is a compatibility feature. The ContentHandlerDefaultModelFor hook should be used instead if possible. * Otherwise, the wikitext model is used. Note that is currently no mechanism to convert a page from one content model to another, and there is no guarantee that