duh, typo
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Jul 2006 06:37:03 +0000 (06:37 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 14 Jul 2006 06:37:03 +0000 (06:37 +0000)
maintenance/cleanupImages.php

index 74443d6..8ae5561 100644 (file)
@@ -145,6 +145,7 @@ class ImageCleanup extends TableCleanup {
        }
        
        function buildSafeTitle( $name ) {
+               global $wgLegalTitleChars;
                $x = preg_replace_callback(
                        "/([^$wgLegalTitleChars])/",
                        array( $this, 'hexChar' ),