Wikipedia:Bar/Discussioni/Annuncio: limite

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca
Annuncio: limite NAVIGAZIONE


Da wikitech-l:

Please copy this to your local village pump or other relevant on-wiki forum.

Werdna's #ifexist limit feature is now live. In response to complaints of template breakage, I have increased the limit on Wikimedia wikis temporarily, from 100 to 2000. Barring a coup, it will stay at 2000 for about a week, and then we'll lower it to 100.

Please use this one-week period to check pages and templates that use #ifexist heavily. Look in the HTML source of the preview or page view. There will be a "limit report" that looks like this:

<!--
Pre-expand include size: 617515/2048000 bytes
Post-expand include size: 360530/2048000 bytes
Template argument size: 51168/2048000 bytes
#ifexist count: 1887/2000
-->

This is the limit report from http://commons.wikimedia.org/wiki/Template:Potd/2007-12 , one of the pages that will break.

At the end of the week, any pages which have a #ifexist count of over 100 will cease to be rendered correctly (after the next edit or cache clear). All #ifexist calls after the hundredth will be treated as if the target does not exist.

In some cases it may be possible to rewrite your templates so that they still do the same thing, but with less #ifexist calls. In other cases, you will need to remove template features. Removing features is always sad, as a sofware developer I know that, but sometimes it is necessary for the good of the project. This is one of those times.



In due parole: #ifexist verrà limitato a 100 utilizzi per template entro una settimana. Adesso è stato messo un limite più "largo" a 2000, e nel sorgente della pagine risultante appare il totale. Occorre in questa settimana controllare i vari template che lo usano e, se necessario, rimuovere i troppi . Alfio (msg) 13:37, 1 dic 2007 (CET)[rispondi]

scusa ma chi è così cervellotico da creare un template con più di 100 #ifexist? Non so all'estero, ma qui i più complessi ne avranno massimo una decina.PersOnLine 13:47, 1 dic 2007 (CET)[rispondi]

Mi pare che parla di pagine, non di singoli template, quindi se ce n'è più di uno gli ifexist si sommano... E' possibile tramite bot generare una lista delle pagine che superano il limite? --Bultro 13:54, 1 dic 2007 (CET)[rispondi]
scusa ma che intendi per pagine: dove esistono pagine che hanno così tanti template da superare i 100 #ifexist? nei template di contenuto e un parser che non si usa, si usa in quelli di servizio, ma oltre alle pagine di cancellazione non mi può venire in mente un uso così massivo di tl nella stessa pagina. PersOnLine 18:01, 1 dic 2007 (CET)[rispondi]
Ma scegliersi una pagina e parlarne tutti lì? v. Wikipedia:Bar/Discussioni/A tutti i templatizzatori -- ELBorgo (sms) 14:15, 1 dic 2007 (CET)[rispondi]
Chiesto il botolo. Jalo 14:17, 1 dic 2007 (CET)[rispondi]
Oops sorry, non avevo visto il messaggio precedente! Alfio (msg) 21:51, 1 dic 2007 (CET)[rispondi]
{{ #ifexist: Wikipedia:Bar/Discussioni/{{SAMECONTENT}} | Don_t_clone | {{#ifloop: we_get_upset | infinite }} }}
:P --gLibero sapere in libero web 14:32, 1 dic 2007 (CET)[rispondi]
Aggiungo la lista delle pagine interessate:
elenco
{{Utente:Wiso/Sandbox/Uno}}

--wiso 01:30, 3 dic 2007 (CET)[rispondi]

Ritengo che siano quindi da rivedere almeno i template: Template:Bandiera, Template:Cita web, Template:F, Template:Problematico essendo usati più volte in una voce. --wiso 13:06, 3 dic 2007 (CET)[rispondi]
{{Bandiera}}: ✔ Fatto C'è qualcuno in grado di aggiornare le statistiche, per vedere a che punto siamo? --gvnn scrivimi! 01:04, 6 dic 2007 (CET)[rispondi]
Prova a chiedere a Jalo --wiso 19:10, 12 dic 2007 (CET)[rispondi]