From: Subramanya Sastry Date: Thu, 15 May 2014 17:09:37 +0000 (-0500) Subject: Minor fix to contenthandler.txt doc. X-Git-Tag: 1.31.0-rc.0~15696^2 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=91de7e350b572feccc40734f9edbfa23950b4e48;p=lhc%2Fweb%2Fwiklou.git Minor fix to contenthandler.txt doc. Change-Id: I45c1a750b2308dc30d609910d802d25a4252a7e5 --- 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.