https://bugzilla.wikimedia.org/show_bug.cgi?id=54044
Web browser: ---
Bug ID: 54044
Summary: Title.php should consider ":" to be an invalid title
Product: MediaWiki
Version: 1.22-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General/Unknown
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l