public static function getAssociated( $index ) {
self::isMethodValidFor( $index, __METHOD__ );
- if( self::isMain( $index ) ) {
+ if( self::isSubject( $index ) ) {
return self::getTalk( $index );
} elseif( self::isTalk( $index ) ) {
return self::getSubject( $index );
* Returns whether the specified namespace exists
*
* @param $index
- *
+ *
* @return bool
* @since 1.19
*/