Merged MediaWiki::performRequestForTitle() and MediaWiki::handleSpecialCases() into...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 26 May 2011 16:41:11 +0000 (16:41 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 26 May 2011 16:41:11 +0000 (16:41 +0000)
commitabea84bccd0830423f7bf74279d1a44660e52a59
tree31bc3fe136f6c0af9c1de5943655710dc2c671fa
parent3bc50f69840c978e81f1464f400921d39e74c39a
Merged MediaWiki::performRequestForTitle() and MediaWiki::handleSpecialCases() into MediaWiki::performRequest():
* this allows to perform tests in the correct order, i.e. first BadTitle check and then userCanRead()
* the Article object is now returned by the function instead of passed back in pass-by-reference parameter
* Removed the "return false;" when MediaWiki detects a redirect, was causing an useless full execution
includes/Wiki.php
index.php