Manual:$wgTitle

Details
The Title object represents the title of an article, and does all the work of translating among various forms such as plain text, URL, database key, etc. For convenience, and for historical reasons, it also represents a few features of articles that don't involve their text, such as access rights.

The Title object is initialized by the MediaWiki object, $mediaWiki.