Revert r23541, breaks AJAX watch and god knows what else
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 29 Jun 2007 14:12:59 +0000 (14:12 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 29 Jun 2007 14:12:59 +0000 (14:12 +0000)
RELEASE-NOTES
skins/MonoBook.php

index db14238..e52d105 100644 (file)
@@ -242,8 +242,6 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN
   whitespace (broken XML feeds, etc.)
 * 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)
 * (bug 10406) Fix Special:Listusers filter form for non-ASCII localizations
 
 
index 8582c61..ff5408f 100644 (file)
@@ -73,10 +73,6 @@ class MonoBookTemplate extends QuickTemplate {
                 
                <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js?<?php echo $GLOBALS['wgStyleVersion'] ?>"><!-- wikibits js --></script>
 <?php  if($this->data['jsvarurl'  ]) { ?>
-
-               <!-- Head Scripts -->
-<?php $this->html('headscripts') ?>
-
                <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl'  ) ?>"><!-- site js --></script>
 <?php  } ?>
 <?php  if($this->data['pagecss'   ]) { ?>
@@ -92,6 +88,8 @@ 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 } ?>