From: Aryeh Gregor Date: Thu, 20 Mar 2008 17:07:07 +0000 (+0000) Subject: Wait, never mind, revert that. This is supposed to be DB keys . . . X-Git-Tag: 1.31.0-rc.0~48930 X-Git-Url: http://git.cyclocoop.org/%27.%28%24current%20%3E%202?a=commitdiff_plain;h=95682c75b834767667492b0e762cce0bd33da84d;p=lhc%2Fweb%2Fwiklou.git Wait, never mind, revert that. This is supposed to be DB keys . . . --- diff --git a/includes/Category.php b/includes/Category.php index d9a09fea7c..37127d5484 100644 --- a/includes/Category.php +++ b/includes/Category.php @@ -50,7 +50,7 @@ abstract class CategoryListBase { * @return mixed Normalized name, or false if the name was invalid. */ private static function setNamesCallback( $name ) { - $title = Title::makeTitleSafe( NS_CATEGORY, $name ); + $title = Title::newFromText( "Category:$name" ); if( !is_object( $title ) ) { return false; }