From: Aryeh Gregor Date: Fri, 29 Jun 2007 06:01:50 +0000 (+0000) Subject: (bug 10184) Site CSS/JS should be included after that added dynamically (e.g. by... X-Git-Tag: 1.31.0-rc.0~52335 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=68e7ddf1e0c2cf90ad45d0a639dc40d8412bc8fa;p=lhc%2Fweb%2Fwiklou.git (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. --- 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') ?>"