From: Brion Vibber Date: Thu, 13 Jul 2006 23:53:04 +0000 (+0000) Subject: duh X-Git-Tag: 1.31.0-rc.0~56262 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/modifier.php?a=commitdiff_plain;h=12bb7158e039637e16212d276fbd63a67bc6736a;p=lhc%2Fweb%2Fwiklou.git duh --- diff --git a/maintenance/cleanupImages.php b/maintenance/cleanupImages.php index 57b36f7858..74443d67a8 100644 --- 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 ) {