From a910dd03bab51d43a66bc712fde0f12308c4cadf Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 11 Aug 2008 13:41:52 +0000 Subject: [PATCH] Fix broken execution order. Setting the bodytext variable once already sent doesn't work. --- includes/Skin.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 68b179878e..60ddde9c2f 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -265,6 +265,9 @@ class Skin extends Linker { wfProfileIn( __METHOD__ ); $this->initPage( $out ); + // See self::afterContentHook() for documentation + $this->afterContentHook(); + $out->out( $out->headElement() ); $out->out( "\nout( $out->mBodytext . "\n" ); - // See self::afterContentHook() for documentation - $out->out ($this->afterContentHook()); - $out->out( $this->afterContent() ); $out->out( $this->bottomScripts() ); -- 2.20.1