Manual talk:Title.php

Is there a function to convert $wgTitle to the Title.php format, e.g. by converting spaces to underscores? I mean, I guess one could use Title::getDBkey, but then you're not getting the whole title. Tisane 14:18, 20 March 2010 (UTC)

The values returned by ->getLocalURL or ->getFullURL are missing necessary namespace parts. Is there a suitable workaround? (using MediaWiki 1.16.3) --HonoredMule 18:27, 5 July 2011 (UTC)