AYUSH GARG has uploaded a new change for review.
https://gerrit.wikimedia.org/r/188810
Change subject: Documentation of compressOld.php
......................................................................
Documentation of compressOld.php
Change-Id: Ib6e4914379568bfae32007f6e76968791798b08f
---
M maintenance/storage/compressOld.php
1 file changed, 12 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/10/188810/1
diff --git a/maintenance/storage/compressOld.php
b/maintenance/storage/compressOld.php
index cfffbbc..57c6a43 100644
--- a/maintenance/storage/compressOld.php
+++ b/maintenance/storage/compressOld.php
@@ -50,9 +50,14 @@
*/
class CompressOld extends Maintenance {
/**
- * @todo document
+ * To show that text of revision is loaded individually.
+ *
*/
const LS_INDIVIDUAL = 0;
+ /**
+ * To show that revisions are loaded in chunks.
+ *
+ */
const LS_CHUNKED = 1;
public function __construct() {
@@ -137,7 +142,8 @@
}
/**
- * @todo document
+ * Function to fetch the text row-by-row to "compressPage" function for
compression.
+ *
* @param int $start
* @param string $extdb
*/
@@ -172,7 +178,8 @@
}
/**
- * @todo document
+ * Function to compress the text in gzip format.
+ *
* @param stdClass $row
* @param string $extdb
* @return bool
@@ -214,6 +221,8 @@
}
/**
+ * Function to compress the text in chunks after concatenate the
revisions.
+ *
* @param int $startId
* @param int $maxChunkSize
* @param string $beginDate
--
To view, visit https://gerrit.wikimedia.org/r/188810
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib6e4914379568bfae32007f6e76968791798b08f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: AYUSH GARG <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits