X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FMWNamespace.php;h=0121bd589ceec7e541e030df07215bb98be3ed16;hb=e26d8176514f344316d968192b405518f527ec9a;hp=a36a12fcd33ec2ed644db0d62e919f3b3d202e48;hpb=7ecbff2360a07755f771c648ed1e27ee3dca8ad5;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? *