Valeva la pena di girarvi questo pezzetto della documentazione di mediawiki (puro humor da programmatori): OutputPage->addWikiText() For most output, you should be using this function. It's a bit of a black magic function: wikitext goes in, HTML comes out, and a whole lotta arcane code and demon summonings happen in between.