X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FCategory.php;h=b22f0942320106dbc3f885814b802b69816e0f2e;hb=1e7e73444a9357be1c58301e8707c029f31f5ef7;hp=e924b5eebab994cbc8253e2fdd4b3dd52fa7ff7f;hpb=d3a1c5c739965b58140df17cccb37b5c11c51c1f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Category.php b/includes/Category.php index e924b5eeba..b22f094232 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::newFromText( $name ); + $title = Title::newFromText( "Category:$name" ); if( !is_object( $title ) ) { return false; }