Code simplification (-205 bytes :P):
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 May 2008 22:00:14 +0000 (22:00 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 23 May 2008 22:00:14 +0000 (22:00 +0000)
commit4ed81df65fc4f626d89a705cf40da23dc4eb8eec
treec871c38c948924f443af158aba1651c062cee548
parent42b14d0442e4ba35c11035e55ab5b0aadf8d5e6a
Code simplification (-205 bytes :P):
* Add MWNamespace::hasSubpages() and use that instead of $wgNamespacesWithSubpages everywhere
* Put early returns first, and don't else { } the rest of the code
includes/Namespace.php
includes/Parser.php
includes/Skin.php
includes/SpecialMovepage.php
includes/Title.php
includes/api/ApiQuerySiteinfo.php