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:
8985708
)
-double encoding
author
Erik Moeller
<erik@users.mediawiki.org>
Sat, 30 Oct 2004 09:34:39 +0000
(09:34 +0000)
committer
Erik Moeller
<erik@users.mediawiki.org>
Sat, 30 Oct 2004 09:34:39 +0000
(09:34 +0000)
includes/Image.php
patch
|
blob
|
history
diff --git
a/includes/Image.php
b/includes/Image.php
index
9239628
..
5ea525d
100644
(file)
--- a/
includes/Image.php
+++ b/
includes/Image.php
@@
-64,9
+64,9
@@
class Image
# in case we're running a capitallinks=false wiki
$sharedname=$wgLang->ucfirst($name);
$sharedtitle=$wgLang->ucfirst($this->title->getDBkey());
# in case we're running a capitallinks=false wiki
$sharedname=$wgLang->ucfirst($name);
$sharedtitle=$wgLang->ucfirst($this->title->getDBkey());
- if($wgUseLatin1 && !$wgSharedLatin1) {
+ if($wgUseLatin1 && !$wgSharedLatin1) {
$sharedname=utf8_encode($sharedname);
$sharedname=utf8_encode($sharedname);
- $sharedtitle=utf8_encode($sharedtitle);
+ $sharedtitle=utf8_encode($sharedtitle);
}
if($wgHashedSharedUploadDirectory) {
}
if($wgHashedSharedUploadDirectory) {
@@
-251,9
+251,6
@@
class Image
$hash = $wgHashedSharedUploadDirectory;
$base = '';
$path = $wgSharedUploadPath;
$hash = $wgHashedSharedUploadDirectory;
$base = '';
$path = $wgSharedUploadPath;
- if($wgUseLatin1 && !$wgSharedLatin1) {
- $name=utf8_encode($name);
- }
} else {
$hash = $wgHashedUploadDirectory;
$base = $wgUploadBaseUrl;
} else {
$hash = $wgHashedUploadDirectory;
$base = $wgUploadBaseUrl;