MediaWiki r9851 - Code Review

Jump to: navigation, search
Repository:MediaWiki
Revision:r9850‎ | r9851 (on ViewVC)‎ | r9852 >
Date:04:46, 3 July 2005
Author:kateturner
Status:old
Tags:
Comment:
typos
Modified paths:

Diff [purge]

Index: trunk/phase3/includes/ImagePage.php
@@ -238,7 +238,7 @@
239239 }
240240 }
241241
242 - function getSharedImageText() {
 242+ function printSharedImageText() {
243243 global $wgRepositoryBaseUrl, $wgFetchCommonsDescriptions, $wgOut;
244244
245245 $url = $wgRepositoryBaseUrl . urlencode($this->mTitle->getDBkey());
@@ -252,7 +252,7 @@
253253 if ($wgRepositoryBaseUrl && $wgFetchCommonsDescriptions) {
254254 $ur = ini_set('allow_url_fopen', true);
255255 $text = @file($url);
256 - ini_set('allow_url_fopen', false);
 256+ ini_set('allow_url_fopen', $ur);
257257 if ($text)
258258 $wgOut->addHTML($text);
259259 }

Status & tagging log

  • 01:58, 13 October 2010 ^demon (Talk | contribs) changed the status of r9851 [removed: new added: old]
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Support
Download
Development
Communication
Toolbox