From 554e44d001b2048a31b4b9e488fcb5832fdba6ea Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 24 Jan 2008 10:06:59 +0100 Subject: Aktualisierung auf Mediawiki 1.11.1 --- includes/AutoLoader.php | 1 - includes/DefaultSettings.php | 2 +- includes/LinkBatch.php | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'includes') diff --git a/includes/AutoLoader.php b/includes/AutoLoader.php index 25c728cd..5e1b8156 100644 --- a/includes/AutoLoader.php +++ b/includes/AutoLoader.php @@ -96,7 +96,6 @@ function __autoload($className) { 'HTMLCacheUpdate' => 'includes/HTMLCacheUpdate.php', 'Http' => 'includes/HttpFunctions.php', 'IP' => 'includes/IP.php', - 'ThumbnailImage' => 'includes/Image.php', 'ImageGallery' => 'includes/ImageGallery.php', 'ImagePage' => 'includes/ImagePage.php', 'ImageHistoryList' => 'includes/ImagePage.php', diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index 1ed8779a..5afb969d 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -31,7 +31,7 @@ require_once( "$IP/includes/SiteConfiguration.php" ); $wgConf = new SiteConfiguration; /** MediaWiki version number */ -$wgVersion = '1.11.0'; +$wgVersion = '1.11.1'; /** Name of the site. It must be changed in LocalSettings.php */ $wgSitename = 'MediaWiki'; diff --git a/includes/LinkBatch.php b/includes/LinkBatch.php index 8ab3393e..20bcd3d4 100644 --- a/includes/LinkBatch.php +++ b/includes/LinkBatch.php @@ -158,9 +158,9 @@ class LinkBatch { } if (count($dbkeys)==1) { // avoid multiple-reference syntax if simple equality can be used - + $singleKey = array_keys($dbkeys); $sql .= "({$prefix}_namespace=$ns AND {$prefix}_title=". - $db->addQuotes(current(array_keys($dbkeys))). + $db->addQuotes($singleKey[0]). ")"; } else { $sql .= "({$prefix}_namespace=$ns AND {$prefix}_title IN ("; -- cgit v1.2.2