From 12bb7158e039637e16212d276fbd63a67bc6736a Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 13 Jul 2006 23:53:04 +0000 Subject: [PATCH] duh --- maintenance/cleanupImages.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) { -- 2.20.1