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.

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.

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)