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