Refactor deferrable updates into classes & interfaces, also add helper method for...
authorChad Horohoe <demon@users.mediawiki.org>
Sat, 10 Sep 2011 06:50:30 +0000 (06:50 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Sat, 10 Sep 2011 06:50:30 +0000 (06:50 +0000)
commit22b599e06ca623d577bf1ac99c08f3da2414c292
treebe517d0a21b1403fe446d8b1aeae5c9d40c34f56
parentf15ec7bb071d1a45af2fd0c8750603138472ded3
Refactor deferrable updates into classes & interfaces, also add helper method for the most common use case:

$wgDeferredUpdateList[] = new HTMLCacheUpdate( $title, "sometable" );

I kept b/c with $wgDeferredUpdateList for now, but seeing as only 3 exts in svn use it (FileSearch, FlaggedRevs and WikiScripts), I'd like to deprecate it pretty soon :)
12 files changed:
includes/AutoLoader.php
includes/DeferredUpdates.php [new file with mode: 0644]
includes/GlobalFunctions.php
includes/SiteStats.php
includes/ViewCountUpdate.php
includes/Wiki.php
includes/WikiPage.php
includes/cache/HTMLCacheUpdate.php
includes/search/SearchUpdate.php
maintenance/importDump.php
tests/parser/parserTest.inc
tests/phpunit/suites/UploadFromUrlTestSuite.php