On Sat, Jun 21, 2008 at 12:36 PM, Sergey Chernyshev wikitech-l@antispam.sergeychernyshev.com wrote:
I'm getting complaints from users using my Widgets and HeaderTabs extensions' parser functions that their output is mangled with <p> tags.
In Widgets.php, it sounds like maybe you want to replace:
return array($output, 'noparse' => true, 'isHTML' => true, 'noargs' => true);
with
return $parser->insertStripItem($output, $parser->mStripState);
There was a similar issue here:
http://www.mediawiki.org/w/index.php?title=Extension_talk:Icon&diff=prev...
Joshua