diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2008-08-15 01:29:47 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2008-08-15 01:29:47 +0200 |
commit | 370e83bb0dfd0c70de268c93bf07ad5ee0897192 (patch) | |
tree | 491674f4c242e4d6ba0d04eafa305174c35a3391 /maintenance/storage | |
parent | f4debf0f12d0524d2b2427c55ea3f16b680fad97 (diff) |
Update auf 1.13.0
Diffstat (limited to 'maintenance/storage')
-rw-r--r-- | maintenance/storage/blobs.sql | 2 | ||||
-rw-r--r-- | maintenance/storage/checkStorage.php | 10 | ||||
-rw-r--r-- | maintenance/storage/compressOld.inc | 4 | ||||
-rw-r--r-- | maintenance/storage/compressOld.php | 10 | ||||
-rw-r--r-- | maintenance/storage/dumpRev.php | 4 | ||||
-rw-r--r-- | maintenance/storage/moveToExternal.php | 8 | ||||
-rw-r--r-- | maintenance/storage/resolveStubs.php | 4 |
7 files changed, 28 insertions, 14 deletions
diff --git a/maintenance/storage/blobs.sql b/maintenance/storage/blobs.sql index b50865c6..0b1b82d8 100644 --- a/maintenance/storage/blobs.sql +++ b/maintenance/storage/blobs.sql @@ -4,5 +4,5 @@ CREATE TABLE /*$wgDBprefix*/blobs ( blob_id integer UNSIGNED NOT NULL AUTO_INCREMENT, blob_text longblob, PRIMARY KEY (blob_id) -) TYPE=MyISAM MAX_ROWS=1000000 AVG_ROW_LENGTH=1000000; +) ENGINE=MyISAM MAX_ROWS=1000000 AVG_ROW_LENGTH=1000000; diff --git a/maintenance/storage/checkStorage.php b/maintenance/storage/checkStorage.php index d50ef366..245c2fec 100644 --- a/maintenance/storage/checkStorage.php +++ b/maintenance/storage/checkStorage.php @@ -1,7 +1,9 @@ <?php - /** * Fsck for MediaWiki + * + * @file + * @ingroup Maintenance ExternalStorage */ define( 'CONCAT_HEADER', 'O:27:"concatenatedgziphistoryblob"' ); @@ -22,8 +24,10 @@ if ( !defined( 'MEDIAWIKI' ) ) { //---------------------------------------------------------------------------------- -class CheckStorage -{ +/** + * @ingroup Maintenance ExternalStorage + */ +class CheckStorage { var $oldIdMap, $errors; var $dbStore = null; diff --git a/maintenance/storage/compressOld.inc b/maintenance/storage/compressOld.inc index 421f5304..52b9c40b 100644 --- a/maintenance/storage/compressOld.inc +++ b/maintenance/storage/compressOld.inc @@ -1,6 +1,7 @@ <?php /** - * @addtogroup Maintenance + * @file + * @ingroup Maintenance ExternalStorage */ /** */ @@ -300,4 +301,3 @@ function compressWithConcat( $startId, $maxChunkSize, $maxChunkFactor, $factorTh } return true; } -?> diff --git a/maintenance/storage/compressOld.php b/maintenance/storage/compressOld.php index 794e89d1..dda765d7 100644 --- a/maintenance/storage/compressOld.php +++ b/maintenance/storage/compressOld.php @@ -1,13 +1,7 @@ <?php /** - * Compress the text of a wiki + * Compress the text of a wiki. * - * @addtogroup Maintenance - */ - -/** */ - -/** * Usage: * * Non-wikimedia @@ -28,6 +22,8 @@ * -h <threshold> is a minimum number of KB, where <max-factor> cuts in * --extdb <cluster> store specified revisions in an external cluster (untested) * + * @file + * @ingroup Maintenance ExternalStorage */ $optionsWithArgs = array( 't', 'c', 's', 'f', 'h', 'extdb', 'endid', 'e' ); diff --git a/maintenance/storage/dumpRev.php b/maintenance/storage/dumpRev.php index 4c31b4e1..720eb958 100644 --- a/maintenance/storage/dumpRev.php +++ b/maintenance/storage/dumpRev.php @@ -1,4 +1,8 @@ <?php +/** + * @file + * @ingroup Maintenance ExternalStorage + */ require_once( dirname(__FILE__) . '/../commandLine.inc' ); diff --git a/maintenance/storage/moveToExternal.php b/maintenance/storage/moveToExternal.php index 993aa64c..a8b2f93b 100644 --- a/maintenance/storage/moveToExternal.php +++ b/maintenance/storage/moveToExternal.php @@ -1,9 +1,15 @@ <?php +/** + * Move revision's text to external storage + * + * @file + * @ingroup Maintenance ExternalStorage + */ define( 'REPORTING_INTERVAL', 1 ); if ( !defined( 'MEDIAWIKI' ) ) { - $optionsWithArgs = array( 'm', 's' ); + $optionsWithArgs = array( 'e', 's' ); require_once( dirname(__FILE__) . '/../commandLine.inc' ); require_once( 'ExternalStoreDB.php' ); diff --git a/maintenance/storage/resolveStubs.php b/maintenance/storage/resolveStubs.php index 5dfaa598..3db9e480 100644 --- a/maintenance/storage/resolveStubs.php +++ b/maintenance/storage/resolveStubs.php @@ -1,4 +1,8 @@ <?php +/** + * @file + * @ingroup Maintenance ExternalStorage + */ define( 'REPORTING_INTERVAL', 100 ); |