https://bugzilla.wikimedia.org/show_bug.cgi?id=53556
Web browser: --- Bug ID: 53556 Summary: A single colon (:) as title is handled differently Product: MediaWiki Version: 1.22-git Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General/Unknown Assignee: wikibugs-l@lists.wikimedia.org Reporter: duplicate...@googlemail.com Classification: Unclassified Mobile Platform: --- The string ':' is treated differently. It is a valid title in Title.php, but also a bad title at other situation: * Gives no 'invalid': https://en.wikipedia.org/w/api.php?action=query&titles=: * {{fullurl::}} gives a '//en.wikipedia.org/wiki/' * but {{fullurl:>}} as invalid title would not parsed * [[:]] is not parsed * You cannot view the page corrosponding to : https://en.wikipedia.org/w/index.php?title=: * Using api action=edit gives a exception: error;{code=internal_api_error_MWException, info=Exception Caught: Something is trying to edit an article with an empty title}; * A move will give articleexists, because there is strlen < 1 check. * api action=protect allows the (create) protection of that title In my opinion Title::secureAndSplit should reject a single colon as title. -- 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 Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l