On 10/30/07, "Marcus Schäfer" magggus@gmx.de wrote:
I forgot to activate display_errors so I didn't get any error message, just a blank page.
global $wgArticle;
'$text = $wgArticle->getContent();'
If I try to use this line of code I get the following error-message:
"Fatal error: Call to a member function getContent() on a non-object"
Well then, the problem's pretty simple. See amended code above.