No need to call parseTitle() directly in MediaWiki::__construct().
authorAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 19 Jul 2012 08:04:50 +0000 (10:04 +0200)
committerAlexandre Emsenhuber <ialex.wiki@gmail.com>
Thu, 19 Jul 2012 08:04:50 +0000 (10:04 +0200)
commitf121e64c185f242af5983a70aa7127a58550e24f
treea193ca4e8a6fbbc2b8aacead623e60a4ffb34ddb
parent5dc1a63f204c3167cc9d497d02aca4e517ca5288
No need to call parseTitle() directly in MediaWiki::__construct().

We have MediaWiki::getTitle() which will call parseTitle() if needed.
That method will be called in MediaWiki::main() when the Title object
is really needed. This allows to not have to call parseTitle() when
the DB replication lag is higher than the maxlag parameter or on
action=ajax requests.

Change-Id: Iebca2b3029e95879ea7739367b09c8c37502e71c
includes/Wiki.php