Title->getCdnUrls().
* Title::escapeFragmentForURL(), deprecated in 1.30, was removed. Use
Sanitizer::escapeIdForLink() or escapeIdForExternalInterwiki() instead.
+* Title->canTalk(), deprecated in 1.30, was removed. Instead, use
+ Title->canHaveTalkPage().
=== Deprecations in 1.33 ===
* The configuration option $wgUseESI has been deprecated, and is expected
getNsText( MWNamespace::getTalk( $this->mNamespace ) );
}
- /**
- * Can this title have a corresponding talk page?
- *
- * @deprecated since 1.30, use canHaveTalkPage() instead.
- *
- * @return bool True if this title either is a talk page or can have a talk page associated.
- */
- public function canTalk() {
- return $this->canHaveTalkPage();
- }
-
/**
* Can this title have a corresponding talk page?
*
$this->assertSame( $expected, $actual, $title->getPrefixedDBkey() );
}
- /**
- * @dataProvider provideCanHaveTalkPage
- * @covers Title::canTalk
- *
- * @param Title $title
- * @param bool $expected
- */
- public function testCanTalk( Title $title, $expected ) {
- $actual = $title->canTalk();
- $this->assertSame( $expected, $actual, $title->getPrefixedDBkey() );
- }
-
public static function provideGetTalkPage_good() {
return [
[ Title::makeTitle( NS_MAIN, 'Test' ), Title::makeTitle( NS_TALK, 'Test' ) ],