[FileBackend]
authorAaron Schulz <aaron@users.mediawiki.org>
Tue, 13 Mar 2012 01:46:33 +0000 (01:46 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Tue, 13 Mar 2012 01:46:33 +0000 (01:46 +0000)
commitd19f54602fb7a51184a1c7d53c572b7ff5288255
tree9f8eb34e7307af0c6f988cdc9e6d1ef652eff5f1
parent19799ae5bb4b9dcfd77fc92ebd0853a547be7dd2
[FileBackend]
* Added FileJournal class to log file changes for file backends. This can be used for migrations (like moving to Swift), syncing mirror repos, consistency checks, finishing/reverting operation batches, and such. The default journal is the "null" journal, which simply does nothing.
* Added the optional schema change required for using the DBFileJournal (MySQL, SQLite).
includes/AutoLoader.php
includes/filerepo/backend/FileBackend.php
includes/filerepo/backend/FileBackendMultiWrite.php
includes/filerepo/backend/FileBackendStore.php
includes/filerepo/backend/FileOp.php
includes/filerepo/backend/filejournal/DBFileJournal.php [new file with mode: 0644]
includes/filerepo/backend/filejournal/FileJournal.php [new file with mode: 0644]
languages/messages/MessagesEn.php
maintenance/archives/patch-filejournal.sql [new file with mode: 0644]
maintenance/language/messages.inc