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:
8c13e04
)
duh
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 13 Jul 2006 23:53:04 +0000
(23:53 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 13 Jul 2006 23:53:04 +0000
(23:53 +0000)
maintenance/cleanupImages.php
patch
|
blob
|
history
diff --git
a/maintenance/cleanupImages.php
b/maintenance/cleanupImages.php
index
57b36f7
..
74443d6
100644
(file)
--- a/
maintenance/cleanupImages.php
+++ b/
maintenance/cleanupImages.php
@@
-147,8
+147,8
@@
class ImageCleanup extends TableCleanup {
function buildSafeTitle( $name ) {
$x = preg_replace_callback(
"/([^$wgLegalTitleChars])/",
-
$name
,
-
array( $this, 'hexChar' )
);
+
array( $this, 'hexChar' )
,
+
$name
);
$test = Title::makeTitleSafe( NS_IMAGE, $x );
if( is_null( $test ) || $test->getDbKey() !== $x ) {