Manual:$wgCompressRevisions

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:$wgCompressRevisions and the translation is 50% complete.

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎magyar • ‎polski • ‎português • ‎português do Brasil • ‎suomi • ‎日本語
Soporte de almacenamiento comprimido: $wgCompressRevisions
Comprimir, de ser posible, las nuevas revisiones de páginas
Introducido en la versión:1.2.0
Eliminado en la versión:aún se usa
Valores permitidos:(booleano)
Valor predeterminado:false
Otros configuración: Alfabéticamente | Por Función

Detalles

If this is set on, all future revisions will be compressed on page save, but only if zlib support is available and enabled in PHP.

We can also compress text in the old revisions; for this, use the script compressOld.php located in directory /maintenance/storage. Any compressed revisions will be decompressed on load regardless of this setting but will not be readable at all if zlib support is not available.

Nota

Once you enable $wgCompressRevisions, the compressed texts will no longer be searchable/replaceable via SQL scripts. Extensions which require such scripts may not work properly.

Using the compressOld.php script periodically instead of enabling $wgCompressRevisions may avoid this problem.

Extensiones afectadas