Per special request: eliminate $wgTitle usage.

Now with more documentation!

Change-Id: Ie9c83c37a4616823f68f69fcdfb98c18a5db5f34