Move the DeferredUpdates hierarchy to its own directory
authorTim Starling <tstarling@wikimedia.org>
Fri, 1 Nov 2013 04:59:17 +0000 (15:59 +1100)
committerTim Starling <tstarling@wikimedia.org>
Sun, 3 Nov 2013 23:32:40 +0000 (10:32 +1100)
commit64d0dc06a036c38574877fe72f940c27cf172a90
treea3f22b7996df533f5b7ba7e37166d79f6199565d
parent958a08f1b2408e4b672620c3277f734eca0247d6
Move the DeferredUpdates hierarchy to its own directory

The grouping makes at least as much sense as job/, and certainly makes
more sense than cache/. With directories named after base classes, it is
fairly easy to tell what should go where. The grouping of
DeferredUpdates, DataUpdate and CallableUpdate would surely be
uncontroversial.

The move of SearchUpdate out of search/ demonstrates the conflict between
arrangement by module versus arrangement by type, which is the most
difficult design question here. I think arrangement by type is more
consistent with e.g. the arrangement of the core root, i.e. tests/,
resources/, maintenance/, etc. where a given feature will have its files
split up into a mostly type-based hierarchy.

I also tidied up AutoLoader.php by moving includes/content to the correct
location, sorted alphabetically by subdirectory.

Verified with AutoLoaderTest.

Change-Id: Ib369411d0caca38e72978084aa57348f1b892ed0
21 files changed:
includes/AutoLoader.php
includes/CallableUpdate.php [deleted file]
includes/DataUpdate.php [deleted file]
includes/DeferredUpdates.php [deleted file]
includes/LinksUpdate.php [deleted file]
includes/SiteStats.php
includes/SqlDataUpdate.php [deleted file]
includes/ViewCountUpdate.php [deleted file]
includes/cache/HTMLCacheUpdate.php [deleted file]
includes/cache/SquidUpdate.php [deleted file]
includes/deferred/CallableUpdate.php [new file with mode: 0644]
includes/deferred/DataUpdate.php [new file with mode: 0644]
includes/deferred/DeferredUpdates.php [new file with mode: 0644]
includes/deferred/HTMLCacheUpdate.php [new file with mode: 0644]
includes/deferred/LinksUpdate.php [new file with mode: 0644]
includes/deferred/SearchUpdate.php [new file with mode: 0644]
includes/deferred/SiteStatsUpdate.php [new file with mode: 0644]
includes/deferred/SqlDataUpdate.php [new file with mode: 0644]
includes/deferred/SquidUpdate.php [new file with mode: 0644]
includes/deferred/ViewCountUpdate.php [new file with mode: 0644]
includes/search/SearchUpdate.php [deleted file]