also fix image names with magic tildes in them, got a few on enwiki
This commit is contained in:
parent
d64452ffe1
commit
f7c0be43eb
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ class ImageCleanup extends TableCleanup {
|
|||
function buildSafeTitle( $name ) {
|
||||
global $wgLegalTitleChars;
|
||||
$x = preg_replace_callback(
|
||||
"/([^$wgLegalTitleChars])/",
|
||||
"/([^$wgLegalTitleChars]|~)/",
|
||||
array( $this, 'hexChar' ),
|
||||
$name );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue