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)

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)