On Dec 16, 2009, at 12:47 PM, Jim Hu wrote:

> I'm working on a special page extension and noticed that under some  
> conditions $wgOut->addWikiText($this->function()) creates a gap  
> between the tabs and the content div.  I think I've seen this before  
> but I don't recall why.  When I use $wgOut->addWikiText("foo"),  
> there's no gap.   But I can't figure out what is in $this->function  
> that could be creating the gap.  the method just returns a string.
> 
> MW 1.14
> 
> Any thoughts on what I should be looking for?

Is it possible the the function is also returning a newline as part of the 
string? We know addWikiText("foo") doesn't...

=Don=
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to