summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2007-01-09 08:56:46 +0000
committerPierre Schmitz <pierre@archlinux.de>2007-01-09 08:56:46 +0000
commit20194986f6638233732ba1fc3e838f117d3cc9ea (patch)
tree353069cf5ac40f4888eb24e146bda2e6243e8c75 /includes
parent56136136149363e23034a5e56df3bf69cefe7631 (diff)
Aktualisierung auf MediaWiki 1.8.3
Diffstat (limited to 'includes')
-rw-r--r--includes/AjaxDispatcher.php2
-rw-r--r--includes/DefaultSettings.php2
-rw-r--r--includes/StubObject.php2
3 files changed, 3 insertions, 3 deletions
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;
}