Suppress notices
This commit is contained in:
parent
a8f30f1807
commit
a55d07c1ef
2 changed files with 2 additions and 2 deletions
|
|
@ -1748,7 +1748,7 @@ class Article {
|
|||
and ($wgUser->getId() == 0)
|
||||
and (!$wgUser->getNewtalk())
|
||||
and ($this->mTitle->getNamespace() != NS_SPECIAL )
|
||||
and ($action == 'view' || empty( $action ))
|
||||
and (empty( $action ) || $action == 'view')
|
||||
and (!isset($oldid))
|
||||
and (!isset($diff))
|
||||
and (!isset($redirect))
|
||||
|
|
|
|||
|
|
@ -703,7 +703,7 @@ function wfClientAcceptsGzip() {
|
|||
'/\bgzip(?:;(q)=([0-9]+(?:\.[0-9]+)))?\b/',
|
||||
$_SERVER['HTTP_ACCEPT_ENCODING'],
|
||||
$m ) ) {
|
||||
if( ( $m[1] == 'q' ) && ( $m[2] == 0 ) ) return false;
|
||||
if( isset( $m[2] ) && ( $m[1] == 'q' ) && ( $m[2] == 0 ) ) return false;
|
||||
wfDebug( " accepts gzip\n" );
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue