From 9ea05545197378466dc3ceee0f55bcd5819264cb Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 21 Feb 2007 07:27:15 +0000 Subject: Aktualisierung auf MediaWiki 1.9.3 --- includes/Wiki.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes/Wiki.php') diff --git a/includes/Wiki.php b/includes/Wiki.php index 06ae8cfe..06248b35 100644 --- a/includes/Wiki.php +++ b/includes/Wiki.php @@ -422,7 +422,8 @@ class MediaWiki { } 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 ); -- cgit v1.2.3-54-g00ecf