Extension talk:Commentbox
Add topicOnly 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
Allow to send the comments written on main to talk namespace
[edit]@Tbleher: I like the way Commentbox puts a simple box and i would like to use it on my wiki.
An issue i have with that is that the text written on the commentbox gets included in the same page is written. This is fine if i'm commenting on a talk page, but if i put the commentbox in a page of the main namespace ns=0, it would be great if the extension could create that message on the associated talk page (in ns=1) instead.
Mediawiki has multiple magic words and other code to detect the corresponding talk page, for example: Extension talk:Commentbox as written here: https://www.mediawiki.org/wiki/Help:Magic_words
As such, my request would be if the developers could be so kind to add an option for the comments written under the "Main" pages to be added to the corresponding "Talk" pages instead upon being sent.--Paladium (talk) 12:55, 10 May 2021 (UTC)