Title::newFromText(':') results in an apparently valid Title object that stringifies to "".
It seems to be caused by the following logic in Title#secureAndSplit:
if ( $dbkey == '' && $this->mInterwiki == '' && $this->mNamespace != NS_MAIN ) {
return false;
}
The last check for namespace != NS_MAIN explicitly makes it so that 'Talk:' is considered invalid, but ':' is excluded for some reason.
Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51750