Revert r107066, see CR comments for full rationale. Basically this moves the previewe...
authorRoan Kattouw <catrope@users.mediawiki.org>
Wed, 4 Jan 2012 17:15:25 +0000 (17:15 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Wed, 4 Jan 2012 17:15:25 +0000 (17:15 +0000)
includes/OutputPage.php

index f975a1f..05b3bf0 100644 (file)
@@ -3196,7 +3196,7 @@ $templates
                                        array( 'excludepage' => $this->getTitle()->getPrefixedDBkey() )
                                );
                                // Load the previewed CSS
-                               $this->addInlineStyle( $this->getRequest()->getText( 'wpTextbox1' ) );
+                               $otherTags .= Html::inlineStyle( $this->getRequest()->getText( 'wpTextbox1' ) );
                        } else {
                                // Load the user styles normally
                                $moduleStyles[] = 'user';