This link explains use of $wgOut for doing the work of echo:
http://meta.wikimedia.org/wiki/Writing_a_new_special_page#OutputPage_.24wgO…
"Hugh Prior" <mediawiki(a)localpin.com> wrote in
message news:drkqkc$1p6$1@sea.gmane.org...
One of the biggest things I have noticed is:
a) echo, doesn't