Kill a bunch of '=&' references for LinkCache, ParserCache, and MimeMagic singletons.
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Apr 2008 18:23:34 +0000 (18:23 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 9 Apr 2008 18:23:34 +0000 (18:23 +0000)
commit784d10e4d3f018ef65f0d4a708274b22944a7cf2
treea86022a36a1f4a599e9239633bb58b5538dbf505
parent355c0103a0d12efa1c7d076a92842ceb3a329e64
Kill a bunch of '=&' references for LinkCache, ParserCache, and MimeMagic singletons.
This is an old PHP 4-ism; only needed today if you want to be able to replace the singleton with another object by using the reference as an lval. :)
Killing them because they annoy me.
13 files changed:
includes/Article.php
includes/LinkBatch.php
includes/OutputPage.php
includes/Parser.php
includes/Parser_OldPP.php
includes/RefreshLinksJob.php
includes/SpecialImport.php
includes/SpecialUpload.php
includes/StreamFile.php
includes/Title.php
includes/api/ApiParse.php
includes/filerepo/File.php
maintenance/cleanupTitles.php