From: River Tarnell Date: Sun, 3 Jul 2005 04:46:44 +0000 (+0000) Subject: typos X-Git-Tag: 1.5.0beta2~65 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=b90802e4ceff57c25467d40b9b8e19afc11a00bb;p=lhc%2Fweb%2Fwiklou.git typos --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index a3a0039977..dd78e39ec4 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -238,7 +238,7 @@ class ImagePage extends Article { } } - function getSharedImageText() { + function printSharedImageText() { global $wgRepositoryBaseUrl, $wgFetchCommonsDescriptions, $wgOut; $url = $wgRepositoryBaseUrl . urlencode($this->mTitle->getDBkey()); @@ -252,7 +252,7 @@ class ImagePage extends Article { if ($wgRepositoryBaseUrl && $wgFetchCommonsDescriptions) { $ur = ini_set('allow_url_fopen', true); $text = @file($url); - ini_set('allow_url_fopen', false); + ini_set('allow_url_fopen', $ur); if ($text) $wgOut->addHTML($text); }