Allow $context->setTitle( null )
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 7 Oct 2013 18:58:27 +0000 (14:58 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Mon, 7 Oct 2013 19:01:01 +0000 (15:01 -0400)
commitfc684345b11c2daf0d669900bb7ba1fea247b25c
tree8b59dee52ba0392c32d9d71d07707c40bca2eef0
parentb26cbfd830060e14f51294499d4d332c75bc37f0
Allow $context->setTitle( null )

If something is messing around with $wgTitle before MediaWiki::main()
sets $wgTitle in the first place, it needs to be able to reset it back
to null to avoid a problem like bug 53498. And to do that properly, it
also needs to be able to clear the title in the RequestContext.

Bug: 55435
Change-Id: I6c763b70bbffa0762ca52e61acf7dc200da4075f
includes/context/DerivativeContext.php
includes/context/RequestContext.php