Last modified: 2014-09-07 20:16:51 UTC
Title::newFromText( '#Fragment' ) returns a Title object with an empty main part and with the fragment set. Title::newFromText( '#' ) returns one with both the main part and the fragment empty. Since empty string as a title is invalid, both should really just return null.
See Gerrit change #106561 for a discussion