Do not use $wgRequest['title']

When short URLs are active, $wgRequest['title'] is typically unset.
Instead, use the method for subclasses of BaseTemplate suggested here:

	http://www.mediawiki.org/wiki/Manual:%24wgTitle#Replacement

Thanks to DaSch for pointing out that $wgTitle is deprecated.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Merge commit '6c69512b357fba7e82c9325622f11efbc1b3671d'

Conflicts:
	Cavendish.php