[plug] Warning in Mediawiki extension PHP

Chris Caston chris at caston.id.au
Sun Dec 19 08:58:17 WST 2010


Hello,

I am testing out an extension that integrates Disqus commenting into
Mediawiki. The extension appears to be working ok except for some bugs
and an ugly warning message that comes up at the top of the page:

Warning: Missing argument 2 for onSkinAfterContent_AddMpDisqus1() in
/f5/sexmeup/public/extensions/MpDisqus/MpDisqus.php on line 54


Line 54 is:

function onSkinAfterContent_AddMpDisqus1(&$data, $skin)

The full code is at:


http://www.mediawiki.org/wiki/Extension:MpDisqus

The Mediawiki install I am playing with is at:

http://www.sexmeup.org/index.php/Test1

best regards,

Chris



More information about the plug mailing list