32 'MainNamespaceArticle', 0,
36 'MainNamespaceArticle',
null,
48 'Bogus:Nice_talk', 9000,
56 'Talk:Extra:Nice_talk', 1,
60 'Talk:Extra:Nice_talk',
null,
71 $testTitle = $factory->createForeignTitle(
$title, $ns );
73 $this->assertEquals( $testTitle->isNamespaceIdKnown(),
77 $testTitle->isNamespaceIdKnown() &&
80 $this->assertEquals( $testTitle->getNamespaceId(),
84 $this->assertEquals( $testTitle->getNamespaceName(),
86 $this->assertEquals( $testTitle->getText(), $foreignTitle->
getText() );
88 $this->assertEquals( str_replace(
' ',
'_',
$title ),