dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Create ChangesListSpecialPage as a base class for Watchlist and RC
[lhc/web/wiklou.git]
/
includes
/
OutputPage.php
diff --git
a/includes/OutputPage.php
b/includes/OutputPage.php
index
a0d7e30
..
9866e2c
100644
(file)
--- a/
includes/OutputPage.php
+++ b/
includes/OutputPage.php
@@
-687,10
+687,6
@@
class OutputPage extends ContextSource {
wfDebug( __METHOD__ . ": CACHE DISABLED\n", false );
return false;
}
wfDebug( __METHOD__ . ": CACHE DISABLED\n", false );
return false;
}
- if ( $this->getUser()->getOption( 'nocache' ) ) {
- wfDebug( __METHOD__ . ": USER DISABLED CACHE\n", false );
- return false;
- }
$timestamp = wfTimestamp( TS_MW, $timestamp );
$modifiedTimes = array(
$timestamp = wfTimestamp( TS_MW, $timestamp );
$modifiedTimes = array(
@@
-2488,7
+2484,7
@@
$templates
$userdir = $this->getLanguage()->getDir();
$sitedir = $wgContLang->getDir();
$userdir = $this->getLanguage()->getDir();
$sitedir = $wgContLang->getDir();
- $ret = Html::htmlHeader(
array( 'lang' => $this->getLanguage()->getHtmlCode(), 'dir' => $userdir, 'class' => 'client-nojs'
) );
+ $ret = Html::htmlHeader(
$sk->getHtmlElementAttributes(
) );
if ( $this->getHTMLTitle() == '' ) {
$this->setHTMLTitle( $this->msg( 'pagetitle', $this->getPageTitle() )->inContentLanguage() );
if ( $this->getHTMLTitle() == '' ) {
$this->setHTMLTitle( $this->msg( 'pagetitle', $this->getPageTitle() )->inContentLanguage() );
@@
-2514,6
+2510,10
@@
$templates
$ret .= Html::element( 'title', null, $this->getHTMLTitle() ) . "\n";
$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(),
$ret .= implode( "\n", array(
$this->getHeadLinks(),
$this->buildCssLinks(),