X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMWNamespace.php;h=0121bd589ceec7e541e030df07215bb98be3ed16;hb=b992f41e2c3cb6f3094f8aeaf2e5a779dcc7b7a8;hp=a36a12fcd33ec2ed644db0d62e919f3b3d202e48;hpb=e3c745fea0c5231cc425a0223c9d4567152171a0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/MWNamespace.php b/includes/MWNamespace.php index a36a12fcd3..0121bd589c 100644 --- a/includes/MWNamespace.php +++ b/includes/MWNamespace.php @@ -22,7 +22,7 @@ use MediaWiki\MediaWikiServices; /** - * @deprecated since 1.33, use NamespaceInfo instead + * @deprecated since 1.34, use NamespaceInfo instead */ class MWNamespace { /** @@ -176,19 +176,6 @@ class MWNamespace { return MediaWikiServices::getInstance()->getNamespaceInfo()->getValidNamespaces(); } - /** - * Does this namespace ever have a talk namespace? - * - * @deprecated since 1.30, use hasTalkNamespace() instead. - * - * @param int $index Namespace index - * @return bool True if this namespace either is or has a corresponding talk namespace. - */ - public static function canTalk( $index ) { - wfDeprecated( __METHOD__, '1.30' ); - return self::hasTalkNamespace( $index ); - } - /** * Does this namespace ever have a talk namespace? *