// XML/HTML character entity references
// Note: Commented out because they are not marked invalid by the PHP test as
// Title::newFromText runs Sanitizer::decodeCharReferencesAndNormalize first.
- //'A é B',
- //'A é B',
- //'A é B',
+ // 'A é B',
+ // 'A é B',
+ // 'A é B',
// Subject of NS_TALK does not roundtrip to NS_MAIN
array( 'Talk:File:Example.svg', 'title-invalid-talk-namespace' ),
// Directory navigation
$linkCache->clearLink( $title );
$linkCache->addBadLinkObj( $title );
- $this->assertEquals( false, $title->exists(), 'exists() should rely on link cache unless GAID_FOR_UPDATE is used' );
- $this->assertEquals( true, $title->exists( Title::GAID_FOR_UPDATE ), 'exists() should re-query database when GAID_FOR_UPDATE is used' );
+ $this->assertEquals(
+ false,
+ $title->exists(),
+ 'exists() should rely on link cache unless GAID_FOR_UPDATE is used'
+ );
+ $this->assertEquals(
+ true,
+ $title->exists( Title::GAID_FOR_UPDATE ),
+ 'exists() should re-query database when GAID_FOR_UPDATE is used'
+ );
}
}