dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9eaaf7
)
Fix to avoid IE "compatibility view"
author
yaron
<yaron57@gmail.com>
Mon, 23 Dec 2013 18:11:16 +0000
(21:11 +0300)
committer
Siebrand
<siebrand@wikimedia.org>
Mon, 23 Dec 2013 21:41:58 +0000
(21:41 +0000)
Bug: 25378
Bug: 49548
Bug: 54343
Change-Id: I1e94128e8578e3ac3ab7a64bbc0431a454085d02
includes/OutputPage.php
patch
|
blob
|
history
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
b6a8d24
..
9866e2c
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-2510,6
+2510,10
@@
$templates
$ret .= Html::element( 'title', null, $this->getHTMLTitle() ) . "\n";
+ // Avoid Internet Explorer "compatibility view", so that
+ // jQuery can work correctly.
+ $ret .= Html::element( 'meta', array( 'http-equiv' => 'X-UA-Compatible', 'content' => 'IE=EDGE' ) );
+
$ret .= implode( "\n", array(
$this->getHeadLinks(),
$this->buildCssLinks(),