diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-01-24 10:06:59 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-01-24 10:06:59 +0100 |
commit | 554e44d001b2048a31b4b9e488fcb5832fdba6ea (patch) | |
tree | 1f1b61c0dfd15e820f418dd329427c4c04ed31fa /includes | |
parent | 417cbeee53be17146ab8bbe0f67f90ea2ccee1d1 (diff) |
Aktualisierung auf Mediawiki 1.11.1
Diffstat (limited to 'includes')
-rw-r--r-- | includes/AutoLoader.php | 1 | ||||
-rw-r--r-- | includes/DefaultSettings.php | 2 | ||||
-rw-r--r-- | includes/LinkBatch.php | 4 |
3 files changed, 3 insertions, 4 deletions
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 ("; |