* Added WikiPage to RequestContext and related so that it can be shared to avoid...
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 6 Jan 2012 20:00:04 +0000 (20:00 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Fri, 6 Jan 2012 20:00:04 +0000 (20:00 +0000)
commit418b3503b15f859b02a2a4885db30810965b39ae
tree28a020478dfc638e871e8530855040f501c38a79
parent75edf9f7d255f5f8527e67f5c96c2d30d2b040da
* Added WikiPage to RequestContext and related so that it can be shared to avoid creating a new object each time and thus avoiding database queries to load the state of the object
* Added Article::getPage() as accessor to the WikiPage object so that it can be set in the context from MediaWiki::initializeArticle()
* Use it WikiPage::main() to call doViewUpdates()

I'm doing to this now so that I can revert r105790 and use the WikiPage object before the 1.19 release
includes/Article.php
includes/Wiki.php
includes/context/ContextSource.php
includes/context/DerivativeContext.php
includes/context/IContextSource.php
includes/context/RequestContext.php