33 'wgLanguageCode' =>
'en',
34 'wgContLang' => Language::factory(
'en' ),
35 'wgExtraNamespaces' => [ 100 =>
'Portal' ],
43 'MainNamespaceArticle'
47 'MainNamespaceArticle'
85 $testTitle = $factory->createTitleFromForeignTitle( $foreignTitle );
86 $title = Title::newFromText( $titleText );
88 $this->assertTrue( $title->equals( $testTitle ) );
A simple, immutable structure to hold the title of a page on a foreign MediaWiki installation.
testBasic(ForeignTitle $foreignTitle, $titleText)
basicProvider
A class to convert page titles on a foreign wiki (ForeignTitle objects) into page titles on the local...