Extension talk:Commentbox

From MediaWiki.org
Jump to navigation Jump to search

Only on certain pages?[edit]

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)

Bugreports[edit]

\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)

Allowing Anonymous user to comment[edit]

Is there any way to allow anonymous users with No Edit page privilege to post comments? --Amandeep Singh, 21:24, 2 September 2014

If you found a way I would like to hear about it -Orlando Uribe, 15:15, 31 January 2015