* (bug 5355) Include skin name and style JS settings in page source;
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 4 Apr 2006 02:22:14 +0000 (02:22 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 4 Apr 2006 02:22:14 +0000 (02:22 +0000)
  fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied
  when wikibits.js was moved up before user JS inclusion.

RELEASE-NOTES
skins/MonoBook.php
skins/chick/main.css [changed mode: 0755->0644]

index 1d8432a..287363d 100644 (file)
@@ -734,6 +734,9 @@ fully support the editing toolbar, but was found to be too confusing.
 * (bug 5410) Use namespace name when a custom namespace's nstab-NS message is nonexistent
 * (bug 5432) Fix inconsistencies in cookie names when using table prefixes
 * Additional protections against HTML breakage in table parsing
+* (bug 5355) Include skin name and style JS settings in page source;
+  fixes regression where Opera 6/7 and KHTML CSS fixes weren't applied
+  when wikibits.js was moved up before user JS inclusion.
 
 
 === Caveats ===
index f4f89dc..7939654 100644 (file)
@@ -64,6 +64,7 @@ class MonoBookTemplate extends QuickTemplate {
                <!--[if IE 7]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE70Fixes.css?1";</style><![endif]-->
                <!--[if lt IE 7]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js"></script>
                <meta http-equiv="imagetoolbar" content="no" /><![endif]-->
+               <script type="<?php $this->text('jsmimetype') ?>">var skin = '<?php $this->text('skinname')?>';var stylepath = '<?php $this->text('stylepath')?>';</script>
                <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js"><!-- wikibits js --></script>
 <?php  if($this->data['jsvarurl'  ]) { ?>
                <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl'  ) ?>"><!-- site js --></script>
old mode 100755 (executable)
new mode 100644 (file)