On Dec 16, 2009, at 5:08 PM, Don Krause wrote:
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...
I don't think so. I can force the function to return an empty string
and it still gives the gap.
=Don=
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
=====================================
Jim Hu
Associate Professor
Dept. of Biochemistry and Biophysics
2128 TAMU
Texas A&M Univ.
College Station, TX 77843-2128
979-862-4054