Move some member variable initialization to the declarations and out of constructors...
authorAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 25 Jul 2008 01:27:51 +0000 (01:27 +0000)
committerAryeh Gregor <simetrical@users.mediawiki.org>
Fri, 25 Jul 2008 01:27:51 +0000 (01:27 +0000)
commit918d0a78c563f1d82ca7e8bbdea5610919b4c058
treed5d10f5cd9215bf66e1543de2a12639afd0c8296
parenta5c0c411b67521f036955f1a7903d43eda60f90e
Move some member variable initialization to the declarations and out of constructors.  This is better style and less error-prone: OutputPage::$mIsPrintable was first being set to true and then to false in the constructor, and $mAllowUserJs and $mLinkColours are missing defaults entirely.  Also, Tim said there's some lazy-loading or shared memory or something if it's done this way, so it might be a performance boost.
includes/OutputPage.php
includes/parser/ParserOutput.php