Cleanup in Wiki.php and index.php:
authorHappy-melon <happy-melon@users.mediawiki.org>
Sun, 3 Apr 2011 15:56:29 +0000 (15:56 +0000)
committerHappy-melon <happy-melon@users.mediawiki.org>
Sun, 3 Apr 2011 15:56:29 +0000 (15:56 +0000)
commit08e7495043ec45f3d52f0f110f554cf37fd57d19
tree900774f62a42b83c1b221a76351608f273c2396c
parent308d853986a81e159477138992d8ccfff7f1722f
Cleanup in Wiki.php and index.php:
* Add visibility to MediaWiki::*() methods.
* Refactor out MediaWiki::preliminaryChecks(), was actually just one preliminary check :D
* maxlag is a property of the database, not the wiki, so MediaWiki::checkMaxLag() doesn't belong.  Since it was only called in index.php I just expanded it there, it's only a trivial wrapper anyway.
* Run stylize.php over code.
includes/Wiki.php
index.php