Discussioni template:SchedaSR

Da Wikipedia, l'enciclopedia libera.
Vai alla navigazione Vai alla ricerca

Malfunzionamento

[modifica wikitesto]

Segnalo malfunionamento dopo le modifiche di oggi. {{SchedaSR|le/carl-lewis-1.html||11 gennaio 2014}} genera un errore: (EN) SchedaSR, su sports-reference.com, Sports Reference LLC. URL consultato l'11 gennaio 2014..
Sarebbe opportuno sistemare. --DelforT (msg) 12:18, 11 gen 2014 (CET)[rispondi]

Hai ragione, ma non capisco perché non funzioni. Per ora ho modificato il manuale, se inserisci {{SchedaSR|le/carl-lewis-1.html|accesso=11 gennaio 2014}} funziona tutto correttamente. --BohemianRhapsody (msg) 18:47, 11 gen 2014 (CET)[rispondi]

Wikidata alternative

[modifica wikitesto]

Hi! There is now a property for Sports Reference ID in Wikidata. I have imported the IDs used in this template from all Wikipedias, so it can now be used on Wikipedias by using a module. I have made a module in the Norwegian (Bokmål) Wikipedia that can be copied here and be used with some modification – if you would like me to help set it up, I'd be more than happy to help (just let me know). The module will use the ID from Wikidata preferentially, but if there is no ID on Wikidata it can take an argument from the local wiki, and will categorise pages that are missing the ID in Wikidata. The reason I set it up that way is that I discovered there are many erroneous IDs used on Wikipedias, and it is much simpler to fix in Wikidata, especially since we have this nifty report of errors. One more thing, the Wikidata property does not support links for countries (and country-specific Olympic articles), but that can easily be circumvented in the template itself. Let me know if you'd like me to help set it up here as well! Jon Harald Søby (msg) 22:24, 29 ago 2014 (CEST)[rispondi]

@Sesquipedale, as template creator, do you have any comments? :-) Jon Harald Søby (msg) 17:51, 3 set 2014 (CEST)[rispondi]

Parametro codice SportReference

[modifica wikitesto]

Nei prossimi giorni farò una passata col bot sulle circa 10000 voci che usano il template per rimuovere dal codice la parte finale ".html" (per Carl Lewis sarà quindi "le/carl-lewis-1" invece dell'attuale "le/carl-lewis-1.html") in modo da renderlo compatibile con Wikidata e le altre wiki, dove è già così. Predisporrò una versione del template che permetta trasparentemente la transizione. --Rotpunkt (msg) 09:52, 15 lug 2015 (CEST)[rispondi]

Passaggio a Wikidata

[modifica wikitesto]

La quasi totalità degli utilizzi del template (9500 su 10000) ha il codice già identico a quello presente su Wikidata. Quindi, nei prossimi giorni, in assenza di pareri contrari, passerò col bot sui template per rimuovere il parametro e ottenere il codice da Wikidata (esempio: sostituirò nei collegamenti esterni la riga {{SchedaSR|me/dino-meneghin-1}} con {{SchedaSR}}). La stessa operazione l'ho fatta nei giorni scorsi con {{Imdb}}, lì erano 80000 su 86000 identici. --Rotpunkt (msg) 12:33, 27 lug 2015 (CEST)[rispondi]

Doppio identificativo su wikidata

[modifica wikitesto]

a volte mi è capitato di trovare (es: Chan Peng Soon) un doppio identificatore SR su wikidata, in teoria entrambi corretti e con le stesse informazioni, varia solo l'ordinamento del nome (d:Q1061577). il risultato non è molto bello.. come si può rimediare? --Gabbg82 (msg) 11:31, 18 ott 2016 (CEST)[rispondi]

In questi casi aggiungo al template Wikidata il parametro n=1, che seleziona solo il primo identificatore. Se invece si volessero visualizzare entrambi gli identificatori allora bisognerà fare delle modifiche al codice, magari anche solo al Modulo:Citazione in modo da fargli gestire un parametro "url" con più valori. --Rotpunkt (msg) 12:28, 18 ott 2016 (CEST)[rispondi]
Perfetto, grazie! --Gabbg82 (msg) 13:04, 18 ott 2016 (CEST)[rispondi]