Yaron Koren has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/103387


Change subject: Fix to avoid IE "compatibility view"
......................................................................

Fix to avoid IE "compatibility view"

Change-Id: I1e94128e8578e3ac3ab7a64bbc0431a454085d02
---
M includes/OutputPage.php
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/87/103387/1

diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index b6a8d24..9866e2c 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -2510,6 +2510,10 @@
 
                $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(),

-- 
To view, visit https://gerrit.wikimedia.org/r/103387
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e94128e8578e3ac3ab7a64bbc0431a454085d02
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Yaron Koren <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to