Extension talk:Commentbox
From MediaWiki.org
How can I choose to add comment box to certain pages?
- You can limit the namespaces where the Commentbox is displayed by setting $wgCommentboxNamespaces appropriately. If you only want to hide the commentbox on individual pages, you can use CSS rules (example: to hide the comment box on the Main Page, add
-
.page-Main_Page #commentform { display: none; }
- to MediaWiki:Common.css). Hiding the comment box on all pages except a few ones is currently not implemented, but should be easy to add by checking $title against an array defined in LocalSettings.php, and only outputting the comment form if the page title matches. Hope this helps :) -- Tbleher 19:06, 8 October 2011 (UTC)
[edit] Bugreports
\n parser convert to <br />, and if use <pre> all inner BRs show on page /D.S.Denton/ 92.36.105.18 21:37, 1 April 2012 (UTC)