Page MenuHomePhabricator

mediawiki-HEAD_20050504T103308_0200-jsmimetype-2.patch

Authored By
bzimport
Nov 21 2014, 8:26 PM
Size
21 KB
Referenced Files
None
Subscribers
None

mediawiki-HEAD_20050504T103308_0200-jsmimetype-2.patch

Index: includes/DefaultSettings.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/DefaultSettings.php,v
retrieving revision 1.298
diff -u -r1.298 DefaultSettings.php
--- includes/DefaultSettings.php 2 May 2005 12:56:57 -0000 1.298
+++ includes/DefaultSettings.php 4 May 2005 08:29:27 -0000
@@ -374,6 +374,7 @@
$wgLegacyEncoding = false;
$wgMimeType = 'text/html';
+$wgJsMimeType = 'text/javascript';
$wgDocType = '-//W3C//DTD XHTML 1.0 Transitional//EN';
$wgDTD = 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd';
Index: includes/EditPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/EditPage.php,v
retrieving revision 1.165
diff -u -r1.165 EditPage.php
--- includes/EditPage.php 3 May 2005 20:27:34 -0000 1.165
+++ includes/EditPage.php 4 May 2005 08:29:28 -0000
@@ -633,7 +633,8 @@
* it will fall through to the normal form submission method.
*/
if( $wgLivePreview ) {
- $wgOut->addHTML( '<script type="text/javascript" src="' .
+ global $wgJsMimeType;
+ $wgOut->addHTML( '<script type="'.$wgJsMimeType.'" src="' .
htmlspecialchars( $wgStylePath . '/common/preview.js' ) .
'"></script>' . "\n" );
$liveAction = $wgTitle->getLocalUrl( 'action=submit&wpPreview=true&live=true' );
@@ -928,7 +929,7 @@
* The necessary JavaScript code can be found in style/wikibits.js.
*/
function getEditToolbar() {
- global $wgStylePath, $wgLang, $wgMimeType;
+ global $wgStylePath, $wgLang, $wgMimeType, $wgJsMimeType;
/**
* toolarray an array of arrays which each include the filename of
@@ -1020,7 +1021,7 @@
'key' => 'R'
)
);
- $toolbar ="<script type='text/javascript'>\n/*<![CDATA[*/\n";
+ $toolbar ="<script type='{$wgJsMimeType}'>\n/*<![CDATA[*/\n";
$toolbar.="document.writeln(\"<div id='toolbar'>\");\n";
foreach($toolarray as $tool) {
Index: includes/Linker.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Linker.php,v
retrieving revision 1.28
diff -u -r1.28 Linker.php
--- includes/Linker.php 30 Apr 2005 08:04:02 -0000 1.28
+++ includes/Linker.php 4 May 2005 08:29:28 -0000
@@ -718,11 +718,12 @@
/** @todo document */
function tocList($toc) {
+ global $wgJsMimeType;
return "<table id='toc' class='toc'><tr><td>"
. "<div id='toctitle'><h2>" . wfMsgForContent('toc') . "</h2></div>\n"
. $toc
. "</ul>\n</td></tr></table>\n"
- . '<script type="text/javascript">'
+ . '<script type="'.$wgJsMimeType.'">'
. ' if (window.showTocToggle) {'
. ' var tocShowText = "' . wfEscapeJsString( wfMsgForContent('showtoc') ) . '";'
. ' var tocHideText = "' . wfEscapeJsString( wfMsgForContent('hidetoc') ) . '";'
Index: includes/RawPage.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/RawPage.php,v
retrieving revision 1.29
diff -u -r1.29 RawPage.php
--- includes/RawPage.php 23 Apr 2005 08:51:39 -0000 1.29
+++ includes/RawPage.php 4 May 2005 08:29:28 -0000
@@ -20,8 +20,8 @@
class RawPage {
function RawPage( $article ) {
- global $wgRequest, $wgInputEncoding, $wgSquidMaxage;
- $allowedCTypes = array('text/x-wiki', 'text/javascript', 'text/css', 'application/x-zope-edit');
+ global $wgRequest, $wgInputEncoding, $wgSquidMaxage, $wgJsMimeType;
+ $allowedCTypes = array('text/x-wiki', $wgJsMimeType, 'text/css', 'application/x-zope-edit');
$this->mArticle =& $article;
$this->mTitle =& $article->mTitle;
@@ -38,7 +38,7 @@
} else if ($gen == 'js') {
$this->mGen = $gen;
if($smaxage == '') $smaxage = $wgSquidMaxage;
- if($ctype == '') $ctype = 'text/javascript';
+ if($ctype == '') $ctype = $wgJsMimeType;
} else {
$this->mGen = false;
}
Index: includes/Skin.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/Skin.php,v
retrieving revision 1.349
diff -u -r1.349 Skin.php
--- includes/Skin.php 27 Apr 2005 07:48:13 -0000 1.349
+++ includes/Skin.php 4 May 2005 08:29:28 -0000
@@ -172,14 +172,14 @@
}
function getHeadScripts() {
- global $wgStylePath, $wgUser, $wgContLang, $wgAllowUserJs;
- $r = "<script type=\"text/javascript\" src=\"{$wgStylePath}/common/wikibits.js\"></script>\n";
+ global $wgStylePath, $wgUser, $wgContLang, $wgAllowUserJs, $wgJsMimeType;
+ $r = "<script type=\"{$wgJsMimeType}\" src=\"{$wgStylePath}/common/wikibits.js\"></script>\n";
if( $wgAllowUserJs && $wgUser->isLoggedIn() ) {
$userpage = $wgUser->getUserPage();
$userjs = htmlspecialchars( $this->makeUrl(
$userpage->getPrefixedText().'/'.$this->getSkinName().'.js',
- 'action=raw&ctype=text/javascript'));
- $r .= '<script type="text/javascript" src="'.$userjs."\"></script>\n";
+ 'action=raw&ctype='.$wgJsMimeType));
+ $r .= '<script type="'.$wgJsMimeType.'" src="'.$userjs."\"></script>\n";
}
return $r;
}
Index: includes/SkinTemplate.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/includes/SkinTemplate.php,v
retrieving revision 1.43
diff -u -r1.43 SkinTemplate.php
--- includes/SkinTemplate.php 1 May 2005 02:39:54 -0000 1.43
+++ includes/SkinTemplate.php 4 May 2005 08:29:28 -0000
@@ -145,7 +145,7 @@
function outputPage( &$out ) {
global $wgTitle, $wgArticle, $wgUser, $wgLang, $wgContLang, $wgOut;
global $wgScript, $wgStylePath, $wgLanguageCode, $wgContLanguageCode, $wgUseNewInterlanguage;
- global $wgMimeType, $wgOutputEncoding, $wgUseDatabaseMessages, $wgRequest;
+ global $wgMimeType, $wgJsMimeType, $wgOutputEncoding, $wgUseDatabaseMessages, $wgRequest;
global $wgDisableCounters, $wgLogo, $action, $wgFeedClasses;
global $wgMaxCredits, $wgShowCreditsIfMax;
global $wgPageShowWatchingUsers;
@@ -218,6 +218,7 @@
$tpl->set( 'feeds', false );
}
$tpl->setRef( 'mimetype', $wgMimeType );
+ $tpl->setRef( 'jsmimetype', $wgJsMimeType );
$tpl->setRef( 'charset', $wgOutputEncoding );
$tpl->set( 'headlinks', $out->getHeadLinks() );
$tpl->setRef( 'wgScript', $wgScript );
@@ -898,7 +899,7 @@
$fname = 'SkinTemplate::setupUserJs';
wfProfileIn( $fname );
- global $wgRequest, $wgAllowUserJs;
+ global $wgRequest, $wgAllowUserJs, $wgJsMimeType;
$action = $wgRequest->getText('action');
if( $wgAllowUserJs && $this->loggedin ) {
@@ -906,7 +907,7 @@
# XXX: additional security check/prompt?
$this->userjsprev = '/*<![CDATA[*/ ' . $wgRequest->getText('wpTextbox1') . ' /*]]>*/';
} else {
- $this->userjs = $this->makeUrl($this->userpage.'/'.$this->skinname.'.js', 'action=raw&ctype=text/javascript&dontcountme=s');
+ $this->userjs = $this->makeUrl($this->userpage.'/'.$this->skinname.'.js', 'action=raw&ctype='.$wgJsMimeType.'&dontcountme=s');
}
}
wfProfileOut( $fname );
Index: skins/MonoBook.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/MonoBook.php,v
retrieving revision 1.26
diff -u -r1.26 MonoBook.php
--- skins/MonoBook.php 28 Mar 2005 08:15:09 -0000 1.26
+++ skins/MonoBook.php 4 May 2005 08:29:28 -0000
@@ -61,13 +61,13 @@
<!--[if lt IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE50Fixes.css";</style><![endif]-->
<!--[if IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE55Fixes.css";</style><![endif]-->
<!--[if IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
- <!--[if IE]><script type="text/javascript" src="<?php $this->text('stylepath') ?>/common/IEFixes.js"></script>
+ <!--[if IE]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js"></script>
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
- <?php if($this->data['jsvarurl' ]) { ?><script type="text/javascript" src="<?php $this->text('jsvarurl' ) ?>"></script><?php } ?>
- <script type="text/javascript" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js"></script>
+ <?php if($this->data['jsvarurl' ]) { ?><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl' ) ?>"></script><?php } ?>
+ <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js"></script>
<?php if($this->data['usercss' ]) { ?><style type="text/css"><?php $this->html('usercss' ) ?></style><?php } ?>
- <?php if($this->data['userjs' ]) { ?><script type="text/javascript" src="<?php $this->text('userjs' ) ?>"></script><?php } ?>
- <?php if($this->data['userjsprev']) { ?><script type="text/javascript"><?php $this->html('userjsprev') ?></script><?php } ?>
+ <?php if($this->data['userjs' ]) { ?><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('userjs' ) ?>"></script><?php } ?>
+ <?php if($this->data['userjsprev']) { ?><script type="<?php $this->text('jsmimetype') ?>"><?php $this->html('userjsprev') ?></script><?php } ?>
</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 } ?>
@@ -122,7 +122,7 @@
href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"
title="<?php $this->msg('mainpage') ?>"></a>
</div>
- <script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+ <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
<div class="portlet" id="p-nav">
<h5><?php $this->msg('navigation') ?></h5>
<div class="pBody">
Index: skins/Standard.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/Standard.php,v
retrieving revision 1.13
diff -u -r1.13 Standard.php
--- skins/Standard.php 12 Apr 2005 02:07:15 -0000 1.13
+++ skins/Standard.php 4 May 2005 08:29:28 -0000
@@ -21,11 +21,11 @@
*
*/
function getHeadScripts() {
- global $wgStylePath;
+ global $wgStylePath, $wgJsMimeType;
$s = parent::getHeadScripts();
if ( 3 == $this->qbSetting() ) { # Floating left
- $s .= "<script language='javascript' type='text/javascript' " .
+ $s .= "<script language='javascript' type='{$wgJsMimeType}' " .
"src='{$wgStylePath}/common/sticky.js'></script>\n";
}
return $s;
Index: skins/disabled/Amethyst.pt
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/disabled/Amethyst.pt,v
retrieving revision 1.2
diff -u -r1.2 Amethyst.pt
--- skins/disabled/Amethyst.pt 13 Jan 2005 21:09:56 -0000 1.2
+++ skins/disabled/Amethyst.pt 4 May 2005 08:29:28 -0000
@@ -7,13 +7,13 @@
<style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
<link rel="stylesheet" type="text/css" media="print" href="${stylepath}/common/commonPrint.css" />
<!--[if IE]><style type="text/css" media="all">@import "${stylepath}/${stylename}/IEFixes.css";</style>
- <script type="text/javascript" src="${stylepath}/common/IEFixes.js"></script>
+ <script type="${jsmimetype}" src="${stylepath}/common/IEFixes.js"></script>
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
- <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
- <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
+ <script tal:condition="jsvarurl" type="${jsmimetype}" tal:attributes="src jsvarurl"></script>
+ <script type="${jsmimetype}" src="${stylepath}/common/wikibits.js"></script>
<style tal:condition="usercss" type="text/css">/*<![CDATA[*/ ${usercss} /*]]>*/</style>
- <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script
- tal:condition="userjsprev" type="text/javascript">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
+ <script tal:condition="userjs" type="${jsmimetype}" tal:attributes="src userjs"></script><script
+ tal:condition="userjsprev" type="${jsmimetype}">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
</head>
<body tal:attributes="ondblclick body-ondblclick|default; class nsclass|default">
<div id="globalWrapper">
@@ -59,7 +59,7 @@
<div class="portlet" id="p-logo">
<a style="background-image: url(${logopath});" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
</div>
- <script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+ <script type="${jsmimetype}"> if (window.isMSIE55) fixalpha(); </script>
<div class="portlet" id="p-nav">
<h5 i18n:translate="string:navigation">Navigation</h5>
<div class="pBody">
Index: skins/disabled/Chick.pt
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/disabled/Chick.pt,v
retrieving revision 1.1
diff -u -r1.1 Chick.pt
--- skins/disabled/Chick.pt 18 Nov 2004 11:43:06 -0000 1.1
+++ skins/disabled/Chick.pt 4 May 2005 08:29:28 -0000
@@ -5,11 +5,11 @@
<div tal:replace="structure headlinks"></div>
<title tal:content="pagetitle">Exciting xhtml slimfast</title>
<style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
- <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
- <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
+ <script tal:condition="jsvarurl" type="${jsmimetype}" tal:attributes="src jsvarurl"></script>
+ <script type="${jsmimetype}" src="${stylepath}/common/wikibits.js"></script>
<style tal:condition="usercss" tal:content="structure usercss" type="text/css"></style>
- <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script
- tal:condition="userjsprev" tal:content="structure userjsprev" type="text/javascript"></script>
+ <script tal:condition="userjs" type="${jsmimetype}" tal:attributes="src userjs"></script><script
+ tal:condition="userjsprev" tal:content="structure userjsprev" type="${jsmimetype}"></script>
</head>
<body>
<a name="top"></a>
Index: skins/disabled/HTMLDump.php
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/disabled/HTMLDump.php,v
retrieving revision 1.1
diff -u -r1.1 HTMLDump.php
--- skins/disabled/HTMLDump.php 13 Apr 2005 11:07:43 -0000 1.1
+++ skins/disabled/HTMLDump.php 4 May 2005 08:29:28 -0000
@@ -105,10 +105,10 @@
<!--[if lt IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE50Fixes.css";</style><![endif]-->
<!--[if IE 5.5000]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE55Fixes.css";</style><![endif]-->
<!--[if IE 6]><style type="text/css">@import "<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/IE60Fixes.css";</style><![endif]-->
- <!--[if IE]><script type="text/javascript" src="<?php $this->text('stylepath') ?>/common/IEFixes.js"></script>
+ <!--[if IE]><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath') ?>/common/IEFixes.js"></script>
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
- <?php if($this->data['jsvarurl' ]) { ?><script type="text/javascript" src="<?php $this->text('jsvarurl' ) ?>"></script><?php } ?>
- <script type="text/javascript" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js"></script>
+ <?php if($this->data['jsvarurl' ]) { ?><script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('jsvarurl' ) ?>"></script><?php } ?>
+ <script type="<?php $this->text('jsmimetype') ?>" src="<?php $this->text('stylepath' ) ?>/common/wikibits.js"></script>
</head>
<body
<?php if($this->data['nsclass' ]) { ?>class="<?php $this->text('nsclass') ?>"<?php } ?>>
@@ -148,7 +148,7 @@
href="<?php echo htmlspecialchars($this->data['nav_urls']['mainpage']['href'])?>"
title="<?php $this->msg('mainpage') ?>"></a>
</div>
- <script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+ <script type="<?php $this->text('jsmimetype') ?>"> if (window.isMSIE55) fixalpha(); </script>
<div class="portlet" id="p-nav">
<h5><?php $this->msg('navigation') ?></h5>
<div class="pBody">
Index: skins/disabled/MonoBook.pt
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/disabled/MonoBook.pt,v
retrieving revision 1.5
diff -u -r1.5 MonoBook.pt
--- skins/disabled/MonoBook.pt 18 Jan 2005 00:05:35 -0000 1.5
+++ skins/disabled/MonoBook.pt 4 May 2005 08:29:28 -0000
@@ -9,13 +9,13 @@
<!--[if lt IE 5.5000]><style type="text/css"> @import "${stylepath}/${stylename}/IE50Fixes.css"; </style><![endif]-->
<!--[if IE 5.5000]><style type="text/css"> @import "${stylepath}/${stylename}/IE55Fixes.css"; </style><![endif]-->
<!--[if IE 6]><style type="text/css"> @import "${stylepath}/${stylename}/IE60Fixes.css"; </style><![endif]-->
- <!--[if IE]><script type="text/javascript" src="${stylepath}/common/IEFixes.js"></script>
+ <!--[if IE]><script type="${jsmimetype}" src="${stylepath}/common/IEFixes.js"></script>
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
- <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
- <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
+ <script tal:condition="jsvarurl" type="${jsmimetype}" tal:attributes="src jsvarurl"></script>
+ <script type="${jsmimetype}" src="${stylepath}/common/wikibits.js"></script>
<style tal:condition="usercss" tal:content="structure usercss" type="text/css"></style>
- <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script
- tal:condition="userjsprev" tal:content="structure userjsprev" type="text/javascript"></script>
+ <script tal:condition="userjs" type="${jsmimetype}" tal:attributes="src userjs"></script><script
+ tal:condition="userjsprev" tal:content="structure userjsprev" type="${jsmimetype}"></script>
</head>
<body tal:attributes="ondblclick body_ondblclick|default; class nsclass|default">
<div id="globalWrapper">
@@ -61,7 +61,7 @@
<div class="portlet" id="p-logo">
<a style="background-image: url(${logopath});" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
</div>
- <script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+ <script type="${jsmimetype}"> if (window.isMSIE55) fixalpha(); </script>
<div class="portlet" id="p-nav">
<h5 i18n:translate="string:navigation">Navigation</h5>
<div class="pBody">
Index: skins/disabled/WikimediaWiki.pt
===================================================================
RCS file: /cvsroot/wikipedia/phase3/skins/disabled/WikimediaWiki.pt,v
retrieving revision 1.2
diff -u -r1.2 WikimediaWiki.pt
--- skins/disabled/WikimediaWiki.pt 13 Jan 2005 21:09:56 -0000 1.2
+++ skins/disabled/WikimediaWiki.pt 4 May 2005 08:29:28 -0000
@@ -7,13 +7,13 @@
<style type="text/css" media="screen,projection">/*<![CDATA[*/ @import "${stylepath}/${stylename}/main.css"; /*]]>*/</style>
<link rel="stylesheet" type="text/css" media="print" href="${stylepath}/common/commonPrint.css" />
<!--[if IE]><style type="text/css" media="all">@import "${stylepath}/${stylename}/common/IEFixes.css";</style>
- <script type="text/javascript" src="${stylepath}/IEFixes.js"></script>
+ <script type="${jsmimetype}" src="${stylepath}/IEFixes.js"></script>
<meta http-equiv="imagetoolbar" content="no" /><![endif]-->
- <script tal:condition="jsvarurl" type="text/javascript" tal:attributes="src jsvarurl"></script>
- <script type="text/javascript" src="${stylepath}/common/wikibits.js"></script>
+ <script tal:condition="jsvarurl" type="${jsmimetype}" tal:attributes="src jsvarurl"></script>
+ <script type="${jsmimetype}" src="${stylepath}/common/wikibits.js"></script>
<style tal:condition="usercss" type="text/css">/*<![CDATA[*/ ${usercss} /*]]>*/</style>
- <script tal:condition="userjs" type="text/javascript" tal:attributes="src userjs"></script><script
- tal:condition="userjsprev" type="text/javascript">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
+ <script tal:condition="userjs" type="${jsmimetype}" tal:attributes="src userjs"></script><script
+ tal:condition="userjsprev" type="${jsmimetype}">/*<![CDATA[*/${userjsprev}/*]]>*/</script>
</head>
<body tal:attributes="ondblclick body-ondblclick|default; class nsclass|default">
<div id="globalWrapper">
@@ -59,7 +59,7 @@
<div class="portlet" id="p-logo">
<a style="background-image: url(${logopath});" href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"></a>
</div>
- <script type="text/javascript"> if (window.isMSIE55) fixalpha(); </script>
+ <script type="${jsmimetype}"> if (window.isMSIE55) fixalpha(); </script>
<div class="portlet" id="p-nav">
<h5 i18n:translate="string:navigation">Navigation</h5>
<div class="pBody">

File Metadata

Mime Type
text/x-diff
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1565
Default Alt Text
mediawiki-HEAD_20050504T103308_0200-jsmimetype-2.patch (21 KB)

Event Timeline