Extension talk:Comments

Cannot add comments
Hi, I just installed the extension but I cannot add the comments. I am using the version 1.8 If I click on add the comment nothing happens. I have the tables and everything looks good on the installation.

Any help will be greatful

Not Working.
I've just installed this in my PC at the localhost, e looks like that it works, but I can't send any comments.

Any ideas? —The preceding unsigned comment was added by 189.38.206.71 (talk • contribs) 03:42, 31 October 2011 (UTC)
 * This might sound ridiculous, but it vaguely sounds like the same silly problem I just had. I'm assuming you mean the button and forms are there but won't do anything. If you happened to have manually downloaded each file, make sure that Comment.js wasn't saved as Comment.js.txt!! -81.147.29.227 02:09, 5 March 2012 (UTC)

not working in 1.170
not working in 1.170


 * I found a fix for it in 1.17 by changing a line in the extension's Comment.js:

to You might want to push that into the public release. ~Fern --67.121.127.113 17:25, 6 November 2011 (UTC)


 * The reason why it probably didn't work was because ResourceLoader messed things up. I've updated the code and now it should be RL-compatible (and it requires MediaWiki 1.18). --Jack Phoenix (Contact) 16:40, 7 January 2012 (UTC)

Spam Prevention
Hello before I attempt to install this extension I would like to know if there's any protection against spammers besides administrators going through and deleting each comment. As an example like akismet on wordpress? —The preceding unsigned comment was added by 175.239.223.175 (talk • contribs) 21:48, 22 November 2011‎ (UTC)


 * While there are various anti-spam extensions out there, some of which (like ConfirmEdit and SimpleAntiSpam, for example) are used on Wikimedia wikis, Comments currently doesn't support these. However, seeing that ContactPage extension supports ConfirmEdit CAPTCHAs, I believe that it might be relatively easy to add ConfirmEdit support to Comments. --Jack Phoenix (Contact) 16:40, 7 January 2012 (UTC)


 * thanks for the reply. Thing about captha is that its not very effective these days. I know this a long shot but possible to implement akismet - http://akismet.com/development/  ? Thing works beautifully at least on wordpress! --175.239.243.165 21:12, 7 January 2012 (UTC)


 * I've just tried out QuestyCaptcha and really impressed with it. That works well. Can that possibly implemented for spam prevention? If so definitely will install the extension. --175.239.131.38 23:46, 27 April 2012 (UTC)

MediaWiki Version 1.18.1 - Delete Comment did not work / Comments of the day
I just test "Comments" - was easy to install but i found 2 "bugs" in my enviroment:

1. The "Delete Comment" Link did not work. i set the rights in LocalSettings.php and have the link at the comments (if i logged in) - but the link ist "red". If i click the link, the page is reloading - but the comment isn't delete. I take a look in the scripts - but i did not find why. I try 3 different Webbrowser (IE / Firefox / Chrome) but is all the same

2. The "Comments of the day" did not work - i think the reason is that i have so social network plugin. i removed the line 94 and 95 and it will work (at this line the script ry to get the avatar and the image of the avatar
 * i have same problem too. i delete this from my database--Hamed.n (talk) 10:01, 21 February 2012 (UTC)

JJ-4APR2012: Same issue here... —The preceding unsigned comment was added by 68.14.221.168 (talk • contribs) 20:30, 4 April 2012

MediaWiki 1.18.1
I can not delete the comments once inserted. All other functionality seems to be working just fine.

No Delete
Comments will not delete —The preceding unsigned comment was added by 68.14.221.168 (talk • contribs) 20:31, 4 April 2012

Trouble with Comments on 1.18
I ran into a problem first where Comment.js was saved as Comment.js.txt, but I fixed it. I can not get this to work on MediaWiki 1.18 using WampServer. I tried removing sajax_do_call because I saw it was deprecated and updating the code to use $.get, but I really don't know what I'm doing.

But basically, I got the latest manually, and it isn't working for me on 1.18. If I figure out what's wrong I'll update this topic.

So now I found a problem that I'm still getting a file not found error from ResourceLoaderFileModule: script file not found: "C:\wamp\www\wiki\extensions\Comments/Comment.js"'

Note the non-WINDOWS separator in front of Comment.js

I'll see if hard coding the lines in ResourceLoaderFileModule make a difference.

I fixed it by hard-coding the lines in ResourceLoaderFileModule to use "\\" instead of "/".

Working ver. on 1.19(unofficial) - download this.
It works!

Modified features ; - Delete function works. - Word wrap problem and p tag problem on comment text is solved. (Want to change font? modify c-pre { ... } in Comments.css.) - ajax functions(reply, delete comment, block, vote) work after refreshed. (Comment.js; using jQuery.on instead of jQuery.click, jQuery.each) - name of 'Comments' table's indexes in DB will correspond to its function. (comments.sql; it's not a big problem if you don't open DB) - Deleting permission will be give to comment writer. - Some deprecation functions is changed to newer. (refer http://www.mediawiki.org/wiki/ResourceLoader/JavaScript_Deprecations) - 'Permalink' button is removed. (I don't understand why it exists :X ) - 'Reply' and 'Delete Comment' button will be shown to authorized user. (If one has no authorization, the button will hide) - etc.

Download links ; http://uploading.com/files/2e4181f1/Comments.rar or http://depositfiles.com/files/h5lipsejg

(Just copy it to your Comments dir. Don't forget to backup your original extension.)

I don't use SocialProfile, so it is not verified with SocialProfile. However, it may work, i think. Name of classes, vars, and functions follows the original version naming convention. Maybe you can use this version until new complete official version comes out. Hope it is useful. (bugs? feel free to mail me; kh_park_ 'at' naver 'dot' com) Khpark87 (talk) 12:48, 6 May 2012 (UTC)