Help:Purge/it
Il purge è un modo per forzare Commons a ricreare una pagina dal suo database, invece di fornire una versione presa dalla "cache" (memoria temporanea). La cache permette a Commons di mostrare le pagine più rapidamente, ma a volte visualizza delle versioni della pagina che non sono aggiornate.

- Manuale
- Il purge si può fare manualmente, aggiungendo il testo
?action=purgealla fine dell'URL nella barra degli indirizzi del browser, e poi premendo ↵ Enter o cliccando "Vai" per dire al browser di andare a questa URL modificata. Con questo metodo, vedrai una richiesta di conferma.[1] Se hai un URL comehttp://commons.wikimedia.org/w/index.php?title=Commons:Undeletion_requests, devi aggiungere&action=purge. Se c'è già un?action=…specificato nell'URL, sostituiscilo con l'azione di purge. - In alcuni casi va invece eseguito un salvataggio a vuoto.
- Gadget
- Il purge si può anche fare con l'aiuto di un gadget che puoi attivare dalle tue preferenze.
- Page Purge, la posizione dipende dalla skin:
- Vector 2022 (default su Commons): il comando "Purge" nel menù "Tools" in cima alla pagina.
- Vector 2010: il comando "Purge" nel menù "More" in cima alla pagina (vicino alla casella di ricerca).
- In altre skin, il comando si chiama solamente "*". Nella skin Timeless lo trovi nella barra laterale.
- ExtraTabs2 include un "Purge" insieme con altri comandi utili.
- Thumbnail Purge aggiunge un comando "Generate thumbnail" che rigenera le anteprime di una immagine (per esempio, dopo aver caricato una nuova versione di un file).
- UTCLiveClock e forniscono anch'essi un comando per aggiornare la cache di sistema.
- Page Purge, la posizione dipende dalla skin:
Salvataggio a vuoto
If a category isn't showing linked pages known to exist, or it is showing pages it should not display anymore, the affected page may be null-edited (refreshed) and will then show all properly linked pages. The same issue sometimes applies to display of link usages ("What links here", or in Commons most often "File usage on Commons") and can be solved with null edits, as well.
A null edit purges the target page (including category and backlink pages) if the page can be edited:
- Clicca sulla scheda "Edit source" in alto alla pagina, cioè avvia l'editor del codice sorgente.
- Clicca "Publish changes" sotto la casella di modifica senza fare nessuna modifica.
With a null edit, nothing is saved, and no edit is recorded. If you leave text in the edit summary, it will be discarded. Adding new blank lines only to the end of the page is also usually a null edit. Trailing blank lines are largely ignored. Section edits, however, sometimes result in changes, and get saved.
Uno spostamento o protezione di pagina è anche considerato come un salvataggio a vuoto, anche se viene registrata una modifica nella storia della pagina.
- Vantaggi
- Tutti gli altri metodi di purge non si applicano alla categorizzazione e alle modifiche "What links here" dalle modifiche del modello, ma una modifica a vuoto lo fa.
- Svantaggi
- If you can't edit the page, you can't do a null edit, obviously. If what you want is category or backlink updates but you can't null edit, just wait or ask an administrator. Usually, changes in category links are put into the job queue, and recached when the server load is low. Depending on how busy the server is, the page may take days, or even months, to be updated.
Do not confuse null edit with dummy edit. A dummy edit does modify the source, even though slightly.
Advanced manual thumbnail purging
Sometimes thumbnail purging can be a problem, even with the use of the Thumbnail Purge gadget. Here are some further steps to try.
Please purge your browser’s cache or enable JavaScript in your Browser's settings. (You only need to do it once.)
Operating system Browser | Microsoft Windows or Linux | macOS |
|---|---|---|
| Chrome | Press Ctrl+F5 or ⇧ Shift+F5 or hold down ⇧ Shift while clicking Reload |
Press ⌘ Cmd+F5 or ⇧ Shift+F5 or hold down ⇧ Shift while clicking Reload |
| Mozilla Firefox | Hold down ⇧ Shift while clicking Reload (or press Ctrl+F5 or Ctrl+⇧ Shift+R) |
Press ⌘ Cmd+R (reload page) or ⌘ Cmd+⇧ Shift+R (reload page and rewrite cache) |
| Safari | Hold down ⇧ Shift+Alt while clicking Reload | |
| Press Ctrl+R | Press ⌘ Cmd+⌥ Option+E (clear browser cache) or ⌘ Cmd+R (update) | |
| Opera | Press Ctrl+F5 or ⇧ Shift+F5 | |
| Konqueror | ||
| Internet Explorer | Press Ctrl+F5 | |
- IE : Be sure to hold "Ctrl" (IE) when you refresh (hard refresh).
Prova a cancellare la cache e premere il pulsante di aggiornamento. A volte c'è un ritardo nella generazione di una nuova miniatura per una versione più recente di un'immagine.
- Right click on the thumbnail to get to its page, append
?action=purgeto the URL, and press ↵ Enter or click "Go". - Puoi cercare di forzare una nuova miniatura a essere generata usando questo trucco:
- Visit http://commons.wikimedia.org/w/thumb.php?f=Per_Stig_M%C3%B8ller.jpg&w=450 (copy your image name from the URL bar - so non-latin characters are escaped - into the ?f= and change the w= value to the width of the thumbnail you want to regenerate) ... this is forcing a new thumbnail to be rendered. Do this for all the size thumbnails you want to be re-rendered. You can also add a
pparameter for the page number of the file, if multipaged. - Apri la pagina dell'immagine. Nell'URL, cambia "action=edit" a "action=purge". Ora, ripetutamente ricarica l'URL fino a quando non viene generata la nuova anteprima.
- Visit http://commons.wikimedia.org/w/thumb.php?f=Per_Stig_M%C3%B8ller.jpg&w=450 (copy your image name from the URL bar - so non-latin characters are escaped - into the ?f= and change the w= value to the width of the thumbnail you want to regenerate) ... this is forcing a new thumbnail to be rendered. Do this for all the size thumbnails you want to be re-rendered. You can also add a
- Una soluzione alternativa è quella di aggiungere all'URL una stringa arbitraria all'immagine della miniatura (aggiungere un segno di domanda, quindi una stringa: ?random). Dovrebbe costringere gli scalers dell'immagine a rigenerare la miniatura.
- Puoi anche possibile utilizzare il modello {{Regenerate thumbnail}} per creare l'URL:
Scrivi questo Per ottenere questo {{Regenerate thumbnail|1=California wind resource map 50m 800.jpg|2=79}} https://commons.wikimedia.org/w/thumb.php?f=California+wind+resource+map+50m+800.jpg&w=79
- If you are having persistent problems with a thumbnail updating, one workaround trick you can use is to use a thumbnail of an unusual size. Instead of allowing the default/user-specified size, request an unusual size like 199px or 201px. Because this size is not usually used, the software will have to create a brand new thumbnail, and thus will use the new updated image, instead of supplying the existing thumbnail based on an old version of the image.
- The default thumb sizes, and thus the ones most likely to have problems, are (from Special:Preferences): 120, 150, 180, 200, 250, 300 + the thumbnail for the image page (if the image is larger than this space) -- you can figure out what size this image is by right-clicking on it and choosing save as... - it will save as something like 450px-Properimagename.jpg - so the prefix tells you).
- Quando ci sarà un metodo sicuro per aggiornare le anteprime o forzare la loro rigenerazione, siate sicuri che vi informeremo.
- Se nulla di quanto sopra aiuta, un semplice cambiamento di nome di un file risolverà anche il problema delle anteprime obsolete.
Bug
Ci sono alcuni problemi noti che impediscono la corretta visualizzazione o generazione di anteprime.
- COM:MAXTHUMB
- Anteprime non generate per alcuni file PDF (phab:T72734)
- Problema di cache di immagini quando si "sovrascrive" un'immagine su Commons (varnish: phab:T119038 browser: phab:T38380)
Vedi anche