From: Jens Frank Date: Sun, 23 Jan 2005 15:13:41 +0000 (+0000) Subject: BUG#1364 Backport whitespace regex from 1.55.2.15 X-Git-Tag: 1.5.0alpha1~858 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=9a25f70f32e7f34446ffec0a9cbacf9c465d2bf8;p=lhc%2Fweb%2Fwiklou.git BUG#1364 Backport whitespace regex from 1.55.2.15 --- diff --git a/includes/Title.php b/includes/Title.php index 7e32e6bf9b..9be6415611 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -1073,7 +1073,7 @@ class Title { # Clean up whitespace # - $t = preg_replace( '/[\\s_]+/', '_', $this->mDbkeyform ); + $t = preg_replace( '/[ _]+/', '_', $this->mDbkeyform ); $t = trim( $t, '_' ); if ( '' == $t ) {