Discussioni template:SchedaSR: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
Nessun oggetto della modifica |
|||
(5 versioni intermedie di 3 utenti non mostrate) | |||
Riga 6:
== Wikidata alternative ==
Hi! There is now [[d:Property:P1447|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 [[:no:Modul:SportsReference|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 [[:no:Brukerdiskusjon:Jon Harald Søby|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 [[d:Wikidata:Database reports/Constraint violations/P1447|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! [[Utente:Jon Harald Søby|Jon Harald Søby]] ([[Discussioni utente:Jon Harald Søby|msg]]) 22:24, 29 ago 2014 (CEST)
:@[[User:Sesquipedale|Sesquipedale]], as template creator, do you have any comments? :-) [[Utente:Jon Harald Søby|Jon Harald Søby]] ([[Discussioni utente:Jon Harald Søby|msg]]) 17:51, 3 set 2014 (CEST)
== Parametro codice SportReference ==
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. --[[Utente:Rotpunkt|Rotpunkt]] ([[Discussioni utente:Rotpunkt|msg]]) 09:52, 15 lug 2015 (CEST)
== Passaggio a Wikidata ==
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 <nowiki>{{SchedaSR|me/dino-meneghin-1}} con {{SchedaSR}}</nowiki>). La stessa operazione l'ho fatta nei giorni scorsi con {{tl|Imdb}}, lì erano 80000 su 86000 identici. --[[Utente:Rotpunkt|Rotpunkt]] ([[Discussioni utente:Rotpunkt|msg]]) 12:33, 27 lug 2015 (CEST)
== Doppio identificativo su wikidata ==
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? --[[Utente:Gabbg82|Gabbg82]] ([[Discussioni utente:Gabbg82|msg]]) 11:31, 18 ott 2016 (CEST)
: In questi casi [//it.wikipedia.org/w/index.php?title=Template:SchedaSR&diff=prev&oldid=83839993 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. --[[Utente:Rotpunkt|Rotpunkt]] ([[Discussioni utente:Rotpunkt|msg]]) 12:28, 18 ott 2016 (CEST)
::Perfetto, grazie! --[[Utente:Gabbg82|Gabbg82]] ([[Discussioni utente:Gabbg82|msg]]) 13:04, 18 ott 2016 (CEST)
|