Merge "title: Rewrite Title::getBaseText() for performance/readability"