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:
a63adee
)
importImages.php: Run input file names through UTF8 normalization
author
ananay
<i@ananayarora.com>
Fri, 8 Jan 2016 23:07:57 +0000
(
04:37
+0530)
committer
TTO
<at.light@live.com.au>
Sat, 9 Jan 2016 04:15:53 +0000
(
04:15
+0000)
Bug: T78060
Change-Id: I545ea8f28ff3a1aac03c29d27355c0371632ef4d
maintenance/importImages.php
patch
|
blob
|
history
diff --git
a/maintenance/importImages.php
b/maintenance/importImages.php
index
a040248
..
701af62
100644
(file)
--- a/
maintenance/importImages.php
+++ b/
maintenance/importImages.php
@@
-136,7
+136,7
@@
$count = count( $files );
if ( $count > 0 ) {
foreach ( $files as $file ) {
- $base =
wfBaseName( $file
);
+ $base =
UtfNormal\Validator::cleanUp( wfBaseName( $file )
);
# Validate a title
$title = Title::makeTitleSafe( NS_FILE, $base );