|
MediaWiki
REL1_24
|
Class to represent a recompression operation for a single CGZ blob. More...
Public Member Functions | |
| __construct ($parent, $blobClass) | |
| Create a transaction from a RecompressTracked object. | |
| addItem ($text, $textId) | |
| Add text. | |
| commit () | |
| Commit the blob. | |
| getSize () | |
| recompress () | |
| Recompress text after some aberrant modification. | |
Public Attributes | |
| $blobClass | |
| $cgz | |
| $parent | |
| $referrers | |
Class to represent a recompression operation for a single CGZ blob.
Definition at line 707 of file recompressTracked.php.
| CgzCopyTransaction::__construct | ( | $ | parent, |
| $ | blobClass | ||
| ) |
Create a transaction from a RecompressTracked object.
| RecompressTracked | $parent | |
| string | $blobClass |
Definition at line 718 of file recompressTracked.php.
References $blobClass, $parent, and array().
| CgzCopyTransaction::addItem | ( | $ | text, |
| $ | textId | ||
| ) |
Add text.
Returns false if it's ready to commit.
| string | $text | |
| int | $textId |
Definition at line 732 of file recompressTracked.php.
Commit the blob.
Does nothing if no text items have been added. May skip the move if --copy-only is set.
Definition at line 766 of file recompressTracked.php.
References $res, array(), as, recompress(), and wfGetDB().
Definition at line 744 of file recompressTracked.php.
Recompress text after some aberrant modification.
Definition at line 751 of file recompressTracked.php.
Referenced by commit().
| CgzCopyTransaction::$blobClass |
Definition at line 709 of file recompressTracked.php.
Referenced by __construct().
| CgzCopyTransaction::$cgz |
Definition at line 710 of file recompressTracked.php.
| CgzCopyTransaction::$parent |
Definition at line 708 of file recompressTracked.php.
Referenced by __construct().
| CgzCopyTransaction::$referrers |
Definition at line 711 of file recompressTracked.php.