X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=docs%2Fcontenthandler.txt;h=3f0fca2110d4db3f9cd0242c90a3faaeb25f45ac;hb=2a44ed8140a8bd67aae47242747eb67073e94069;hp=899554af57e2812b881f5690e1df41c00410a682;hpb=4f53553527eb78196537424c21490886a2122148;p=lhc%2Fweb%2Fwiklou.git diff --git a/docs/contenthandler.txt b/docs/contenthandler.txt index 899554af57..3f0fca2110 100644 --- a/docs/contenthandler.txt +++ b/docs/contenthandler.txt @@ -18,7 +18,7 @@ ContentHandler::getDefaultModelFor($title) as follows: * The global setting $wgNamespaceContentModels specifies a content model for the given namespace. * 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 .js or .css, respectively. +* 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.