Extension talk:PageDisqus/Archive

Exclude array not working for all pages with a : inside
--> i changed back to an older version of this extension and the page exclusion works properly!
 * This means special pages and categories.
 * How can this be fixed? I am using the newest version of this extension and mediawiki 1.15.
 * On my site it works with : but not with * inside the string. Solution: After the string  paste the following:   to exclude all special pages --Jochen.fruehauf (talk) 14:59, 19 March 2012 (UTC)

Issues

 * This extension stops new page creation. You can no longer navigate to mywiki.com/newpage and create a new page. [This doesn't happen to me -stevevance.net/nishiki]
 * The "exclude" action doesn't work for me. I've left in the exclusion array in my LocalSettings.php file the "*:*" and then I added "Special" to remove it from Special pages. The extension doesn't recognize these. -stevevance.net/nishiki

Warning message:

I got the following warning.

Warning: Missing argument 2 for onSkinAfterContent_AddMpDisqus1 in /home/public/extensions/MpDisqus/MpDisqus.php on line 54


 * I changed line 54 to: function onSkinAfterContent_AddMpDisqus1(&$data, $skin=Null)
 * Hi - fyi I fix the "Missing Argument 2..." by installing the Parser Functions extension.

I get the same "Missing Argument 2..." error. The first suggested solution breaks formatting on the Disqus box and the second does not work for me.

Didn't tried the first one, but installing 'parser fuctions' extention is of no use. --14.98.157.153 19:55, 24 June 2011 (UTC)

Wildcards don't work for exclusions
I agree with the first poster that wild cards do not work for exclusions.

The code is doing a simple "in_array" which is a literal match. It should instead be looping through the array, doing a preg_match on each element.

Perhaps I'll try to do that, as it seems important to be able to exclude things like certain namespaces. In fact, the example ("*:*") looks like it is intended to exclude all namespaced pages, but all it will do with the current code is exclude a page that is literally named "*:*".

--Bytesmiths 20:15, 1 April 2011 (UTC)

FYI - Not working with gumaxdd skin
I use the paul gu drop down menu skin on our site and this extension won't display. It does work when I change the skin. - site en.wikiaudio.org. btw - I noticed there is a way to change this using a hook but my php understanding is sparse so I am not clear how. :( 67.169.112.14 04:32, 9 May 2011 (UTC)

'Warning message' is coming, kindly help
Warning: Missing argument 2 for onSkinAfterContent_AddMpDisqus1 in /nfs/c04/h05/mnt/84423/domains/uidnumber.org/html/aadhar/w/extensions/MpDisqus/MpDisqus.php on line 54

When i installed the plugin on the wiki ( http://uidnumber.org/aadhar/wiki/Enrollment_camps_in_Panchkula_district ), a warning message is coming on the top. I have doubled checked and have replaced the code of MpDisqus.php twice, with the one given on the extension page. Kindly guide, how it can be resolved. --14.98.157.153 19:37, 24 June 2011 (UTC)


 * Problem solved by changing line 54 to: function onSkinAfterContent_AddMpDisqus1(&$data, $skin=Null) --14.98.247.132 08:34, 27 June 2011 (UTC)

How to disable comments on redirect pages
Kindly guide how to disable disqus comments on REDIRECT pages like (http://uidnumber.org/aadhar/wiki/Zirakpur ) Thanks. --14.98.157.153 19:43, 24 June 2011 (UTC)


 * An alternative is to use the Disqus widget and to embed this in a PageFooter template on each page - this will not show on REDIRECT pages. Within the PageFooter template you can specify more conditions.  See: http://fvue.nl/wiki/Embedding_MediaWiki_Disqus_widget_inside_page_footer_template -- Fvue 11:20, 28 August 2011 (UTC)

Feature Request: on-page exclusions
It would be wonderful to have something like the directive, so that if you put (for example) __NODISQUS__ on a page, that page would not do any Disqus stuff.

Sometimes, when our external network is slow, I'd like to temporarily disable Disqus on a page I'm working on, so that it doesn't go out to the WAN simply because i did a preview or save.

I realize pages can be excluded by listing them in LocalSettings.php, but it would be so much simpler if a page could declare itself excluded, since page editors generally don't have access to LocalSettings.php.

--Bytesmiths 07:31, 13 February 2012 (UTC)