for better localisations.
* (bug 8944) The deprecated is_a() function is used in StubObjects.php
* (bug 8978) Georgian i18n update
+* (bug 8992) Fix a remaining raw use of REQUEST_URI in history
+
== Languages updated ==
}
break;
case 'history':
- if( $_SERVER['REQUEST_URI'] == $title->getInternalURL( 'action=history' ) ) {
+ global $wgRequest;
+ if( $wgRequest->getFullRequestURL() == $title->getInternalURL( 'action=history' ) ) {
$output->setSquidMaxage( $this->getVal( 'SquidMaxage' ) );
}
$history = new PageHistory( $article );