* (bug 10184) Extensions' stylesheets and scripts should be loaded before user-custom...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 13 Dec 2007 23:35:34 +0000 (23:35 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Thu, 13 Dec 2007 23:35:34 +0000 (23:35 +0000)
RELEASE-NOTES
skins/MonoBook.php

index 8adae17..7f0dbd8 100644 (file)
@@ -229,7 +229,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * (bug 12148) Text highlight wasn't applied to cleanly deleted and added
   lines in diff output
 * (bug 10166) Fix a PHP warning in Language::getMagic
-* Only mark rollback edits as minor if the user can normally mark edits as minor.
+* Only mark rollback edits as minor if the user can normally mark edits minor
 * Escape page names in the move successful page (e.g. for pages with two
   apostrophes).
 * (bug 12145) Add localized names of kk-variants
@@ -237,7 +237,10 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
 * Set proper page title for successful file deletion
 * (bug 11221) Do not show 'Compare selected versions' button for a history page
   with one revision only
-* (bug 12267) Set the default date format to Thai solar calender for the Thai language
+* (bug 12267) Set the default date format to Thai solar calender for the Thai
+  language
+* (bug 10184) Extensions' stylesheets and scripts should be loaded before
+  user-customized ones (like Common.css, Common.js)
 
 == Parser changes in 1.12 ==
 
index d0148a7..b47e81e 100644 (file)
@@ -71,6 +71,8 @@ class MonoBookTemplate extends QuickTemplate {
                <?php print Skin::makeGlobalVariablesScript( $this->data ); ?>
                 
                <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"><!-- wikibits js --></script>
+               <!-- Head Scripts -->
+<?php $this->html('headscripts') ?>
 <?php  if($this->data['jsvarurl'  ]) { ?>
                <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl'  ) ?>"><!-- site js --></script>
 <?php  } ?>
@@ -87,8 +89,6 @@ class MonoBookTemplate extends QuickTemplate {
                <script type="<?php $this->text('jsmimetype') ?>"><?php $this->html('userjsprev') ?></script>
 <?php  }
                if($this->data['trackbackhtml']) print $this->data['trackbackhtml']; ?>
-               <!-- Head Scripts -->
-<?php $this->html('headscripts') ?>
        </head>
 <body <?php if($this->data['body_ondblclick']) { ?>ondblclick="<?php $this->text('body_ondblclick') ?>"<?php } ?>
 <?php if($this->data['body_onload'    ]) { ?>onload="<?php     $this->text('body_onload')     ?>"<?php } ?>