As this comment says, TitleFactory is currently just a thin wrapper for Title:: static methods. However, we should make it a real factory, and deprecate static methods in the Title class.
I think that a possible implementation plan would be:
- Remove external callers to Title::__construct / hard-deprecate external calls
- Add parameters to Title::__construct for initializing things like mInterwiki, mNamespace etc.
- Methods in TitleFactory would then use TitleParser::splitTitleString where applicable, and use the retval to build Title's
Note: this may be insufficient. I didn't check all methods in TitleFactory, nor all methods in Title. I chose not to investigate further, in case there's already a plan somewhere and I missed it.