Like talk or the subject title (for a talk title). This prevents Skin.php
from trying to get the talk title of a title in a namespace that can't hold
any.
Follow up:
https://www.mediawiki.org/wiki/Special:Code/MediaWiki/80409
Bug: T110878
Change-Id: I3c803d784f931a21b47065590e567f8bb111aa2a
$titles[] = $user->getTalkPage();
}
- // Other tab link
- if ( $title->isSpecialPage() ) {
+ // Check, if the page can hold some kind of content, otherwise do nothing
+ if ( !$title->canExist() ) {
// nothing
} elseif ( $title->isTalkPage() ) {
$titles[] = $title->getSubjectPage();