dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f392152
)
typos
author
River Tarnell
<kateturner@users.mediawiki.org>
Sun, 3 Jul 2005 04:46:44 +0000
(
04:46
+0000)
committer
River Tarnell
<kateturner@users.mediawiki.org>
Sun, 3 Jul 2005 04:46:44 +0000
(
04:46
+0000)
includes/ImagePage.php
patch
|
blob
|
history
diff --git
a/includes/ImagePage.php
b/includes/ImagePage.php
index
a3a0039
..
dd78e39
100644
(file)
--- a/
includes/ImagePage.php
+++ b/
includes/ImagePage.php
@@
-238,7
+238,7
@@
class ImagePage extends Article {
}
}
- function
ge
tSharedImageText() {
+ function
prin
tSharedImageText() {
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);
}