Manual:Purga

From mediawiki.org
This page is a translated version of the page Manual:Purge and the translation is 44% complete.

Purgar obliga a MediaWiki a limpiar la versión en caché de una página dada, forzando a la página a ser mostrada de nuevo a partir de su código fuente o scripts para reiniciarse. Es usado para asegurarse de que los cambios recientes sean inmediatamente hechos visibles.

Una manera simple de "purgar" una página de MediaWiki es hacer clic en la pestaña "View history" de una página, después en la barra de direcciones de tu navegador borra solo la palabra "history" del final de la URL, escribe "purge" (después del "=") al final de la URL, y presiona Enter. Tu URL debería verse algo como una de estas de abajo.

Ejemplos

  • Para purgar una página, agrega ?action=purge a la URL de la página que estás viendo. Por ejemplo:
http://example.org/wiki/Main_Page?action=purge
  • Si la URL tiene otros parámetros en su cadena de solicitud, agrega la acción de purga a la cadena de solicitud con un ampersand (&). Por ejemplo:
http://example.org/wiki/index.php?title=Main_Page&action=purge
Recuerda cambiar example.org en las URLs de arriba al nombre de host de tu instalación de MediaWiki.

Las solicitudes deben ser confirmadas

Las solicitudes de purga hechas a través de POST son automáticamente llenadas. A los usuarios haciendo solicitudes de purga vía cadena de solicitud se les presentará una forma de confirmación.[1] This form must be submitted before the purge request will be completed. This behavior is a precaution to keep web spiders from accidentally purging pages when following links.

Purge and image thumbnails

If purge is run on an image description page, the cached thumbnails for the image will be purged.

Categories

MediaWiki version:
1.38
Gerrit change 756107

If purge is run on a category with less than 5000 members, the category will be recounted from scratch (T85696).

Null edits

Purging will only update the rendering of the page, it won't update the link tables. These tables control lists that the page is listed in (for example, pages listed on category pages, Special:Whatlinkshere, along with several other "query" special pages). In order to force an update of the link tables, you can do what is called a null edit. Click on "Edit" and save without changing anything. No entry in the page's history will appear, but all link tables should be refreshed.

An alternative way to update the links table is to use the API's purge module with the forcelinkupdate option.

This option only applies to the API. Adding forcelinkupdate to an index.php URL has no effect.


See also

References