On 22/06/2009, at 10:53 AM, magggus wrote:
What I actually don't understand is the way the article content is allocated to mBodytext. The only sequence I found where some content is allocated to mBodytext is the following line, which only contains the footer. $out->mBodytext .= $printfooter ;
See OutputPage::addHTML, and, in turn, Article::view.
Presumably you want to add a header or something, which can be done with the ArticleViewHeader hook, see http://mediawiki.org/wiki/Manual:Hoooks
-- Andrew Garrett Contract Developer, Wikimedia Foundation agarrett@wikimedia.org http://werdn.us