From 68e7ddf1e0c2cf90ad45d0a639dc40d8412bc8fa Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Fri, 29 Jun 2007 06:01:50 +0000 Subject: [PATCH] (bug 10184) Site CSS/JS should be included after that added dynamically (e.g. by extensions). Shouldn't break anything, I think. MediaWiki:GeSHi.css could be removed now. --- RELEASE-NOTES | 2 ++ skins/MonoBook.php | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0cfd0ba2c0..7f8c4fb474 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -240,6 +240,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN equivalent to a whitelisted title * Don't use garbled parser cache output when viewing custom CSS or JavaScript pages +* (bug 10184) Site CSS/JS should be included after that added dynamically (e.g. + by extensions) == API changes since 1.10 == diff --git a/skins/MonoBook.php b/skins/MonoBook.php index ff5408f907..8582c6111f 100644 --- a/skins/MonoBook.php +++ b/skins/MonoBook.php @@ -73,6 +73,10 @@ class MonoBookTemplate extends QuickTemplate { data['jsvarurl' ]) { ?> + + +html('headscripts') ?> + data['pagecss' ]) { ?> @@ -88,8 +92,6 @@ class MonoBookTemplate extends QuickTemplate { data['trackbackhtml']) print $this->data['trackbackhtml']; ?> - -html('headscripts') ?> data['body_ondblclick']) { ?>ondblclick="text('body_ondblclick') ?>" data['body_onload' ]) { ?>onload="text('body_onload') ?>" -- 2.20.1