Expand wfShowMaxLagError() into index.php. It was only being called from here and...
authorHappy-melon <happy-melon@users.mediawiki.org>
Sun, 3 Apr 2011 20:43:50 +0000 (20:43 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sun, 3 Apr 2011 20:43:50 +0000 (20:43 +0000)
commit3319058b88f6794c90bddaf888ca1c4b07767ff3
tree667a049920efe02a1a458d34b1e24af0b3928b75
parent4a0500a514231090917cb13d0cc6f96aac76c100
Expand wfShowMaxLagError() into index.php.  It was only being called from here and it's pretty non-portable.  Doing so reveals that it's safe to move the declaration of $mediaWiki below the maxlag test, which will fractionally improve performance in that instance (partly compensating for having to parse OutputPage as introduced in r85278).
includes/GlobalFunctions.php
index.php