dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
adjust method comment for Ia19f1011
[lhc/web/wiklou.git]
/
maintenance
/
cleanupImages.php
diff --git
a/maintenance/cleanupImages.php
b/maintenance/cleanupImages.php
index
6a6a446
..
687a95c
100644
(file)
--- a/
maintenance/cleanupImages.php
+++ b/
maintenance/cleanupImages.php
@@
-192,9
+192,8
@@
class ImageCleanup extends TableCleanup {
}
private function buildSafeTitle( $name ) {
- global $wgLegalTitleChars;
$x = preg_replace_callback(
-
"/([^$wgLegalTitleChars]|~)/"
,
+
'/([^' . Title::legalChars() . ']|~)/'
,
array( $this, 'hexChar' ),
$name );