aboutsummaryrefslogtreecommitdiffstats
path: root/includes/MWNamespace.php
diff options
context:
space:
mode:
authorDerick Alangi <alangiderick@gmail.com>2019-04-20 16:24:39 +0100
committerDerick Alangi <alangiderick@gmail.com>2019-04-20 21:07:50 +0100
commit06d906e06e8b9d7fa5828adb4c611ec273160c44 (patch)
tree710bacfd504000c3978276abe3387d2b4848249f /includes/MWNamespace.php
parent6b89deff202b6b89d671b5da6beb04cd75f179ab (diff)
downloadmediawikicore-06d906e06e8b9d7fa5828adb4c611ec273160c44.tar.gz
mediawikicore-06d906e06e8b9d7fa5828adb4c611ec273160c44.zip
MWNamespace: Remove deprecated method ::canTalk() and test suit
This method was deprecated in .30 hence remove as the usage is actually zero in extensions and one only in core. Usage: https://codesearch.wmflabs.org/search/?q=%3A%3AcanTalk%5C(&i=nope&files=&repos= Change-Id: Ia18c63f95c969d13c28ffb1afa376ec2df2002a3
Diffstat (limited to 'includes/MWNamespace.php')
-rw-r--r--includes/MWNamespace.php13
1 files changed, 0 insertions, 13 deletions
diff --git a/includes/MWNamespace.php b/includes/MWNamespace.php
index 1529473a9281..0121bd589cee 100644
--- a/includes/MWNamespace.php
+++ b/includes/MWNamespace.php
@@ -179,19 +179,6 @@ class MWNamespace {
/**
* 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?
- *
* @since 1.30
*
* @param int $index Namespace ID