From 20194986f6638233732ba1fc3e838f117d3cc9ea Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Tue, 9 Jan 2007 08:56:46 +0000 Subject: Aktualisierung auf MediaWiki 1.8.3 --- includes/AjaxDispatcher.php | 2 +- includes/DefaultSettings.php | 2 +- includes/StubObject.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/AjaxDispatcher.php b/includes/AjaxDispatcher.php index 618c2736..c2744980 100644 --- a/includes/AjaxDispatcher.php +++ b/includes/AjaxDispatcher.php @@ -55,7 +55,7 @@ class AjaxDispatcher { if (! in_array( $this->func_name, $wgAjaxExportList ) ) { header( 'Status: 400 Bad Request', true, 400 ); - echo "unknown function {$this->func_name}"; + print "unknown function " . htmlspecialchars( (string) $this->func_name ); } else { try { $result = call_user_func_array($this->func_name, $this->args); diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 767e551b..ee1ed3a0 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -32,7 +32,7 @@ require_once( 'includes/SiteConfiguration.php' ); $wgConf = new SiteConfiguration; /** MediaWiki version number */ -$wgVersion = '1.8.2'; +$wgVersion = '1.8.3'; /** Name of the site. It must be changed in LocalSettings.php */ $wgSitename = 'MediaWiki'; diff --git a/includes/StubObject.php b/includes/StubObject.php index ed3b117a..63945f27 100644 --- a/includes/StubObject.php +++ b/includes/StubObject.php @@ -121,7 +121,7 @@ class StubUser extends StubObject { $user->setLoaded( true ); } else { $user = User::loadFromSession(); - wfRunHooks('AutoAuthenticate',array($user)); + wfRunHooks('AutoAuthenticate',array(&$user)); } return $user; } -- cgit v1.2.2