This is the
talk page for discussing improvements to the
Sports reference template. |
|
![]() | Sports Template‑class | |||||||||||||
|
I adjust the code (delete the part wikth .html tha liked to "not found"). Now it's OK. -- Kasper2006 ( talk) 18:03, 11 April 2012 (UTC)
...I would go with referring to {{ Sports-reference}}, is it preferable to use it as EL or as inline source? It's otherwise justifiable an user that rolls back who inserts it?
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 ( talk) 20:24, 29 August 2014 (UTC)
{{Sports-Reference|do/tom-doe-1|Tom Doe}}
{{Sports-Reference|id=do/tom-doe-1|name=Tom Doe}}
{{sports-reference|tatyana-roshchina-2|Tatyana Roshchina - 2010 Olympic results}}
[http://www.sports-reference.com/olympics/athletes/ro/tatyana-roshchina-2.html Tatyana Roshchina - 2010 Olympic results] at [[Sports Reference]]
[http://www.sports-reference.com/olympics/athletes/ro/tatyana-roshchina-osipova-1.html Tatyana Ossipova] at [[Sports Reference]]
{{Sports-Reference| do/tom-doe-1 | Tom Doe }}
id=
(or unnamed parameter 1) to backupid=
.name=
(or unnamed parameter 2) if the name specified matches the article title (minus any disambiguation).id=
and (or unnamed parameter 1) is not defined.backupid=
is defined, only use that when the Wikidata value is not found (similar to how you are currently handling id=
).id=
(or unnamed parameter 1) is defined, use that in the URL (after the bot run, this should only be instances of the template where the "id" did not match the Wikidata).name=
(or unnamed parameter 2) is defined, use that in the link text (after the bot run, this should only be instances of the template where the "name" did not match the {{PAGENAME}}
).There's a note "Site Closing" on the
Sports Reference website. The pages can of course still be accessed via the Internet Archive. As we have page IDs in wikidata, can something automated be done to update existing references on Wikipedia? In the short term, can archive-url
and archive-date
please be added to the template?
Schwede
66
18:33, 1 December 2016 (UTC)
The result of the move request was: done ( page mover nac) ___ CAPTAIN MEDUSA talk 12:45, 22 June 2019 (UTC)
– Module and template should have the same name * Pppery * it has begun... 14:49, 8 June 2019 (UTC)
This is the
talk page for discussing improvements to the
Sports reference template. |
|
![]() | Sports Template‑class | |||||||||||||
|
I adjust the code (delete the part wikth .html tha liked to "not found"). Now it's OK. -- Kasper2006 ( talk) 18:03, 11 April 2012 (UTC)
...I would go with referring to {{ Sports-reference}}, is it preferable to use it as EL or as inline source? It's otherwise justifiable an user that rolls back who inserts it?
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 ( talk) 20:24, 29 August 2014 (UTC)
{{Sports-Reference|do/tom-doe-1|Tom Doe}}
{{Sports-Reference|id=do/tom-doe-1|name=Tom Doe}}
{{sports-reference|tatyana-roshchina-2|Tatyana Roshchina - 2010 Olympic results}}
[http://www.sports-reference.com/olympics/athletes/ro/tatyana-roshchina-2.html Tatyana Roshchina - 2010 Olympic results] at [[Sports Reference]]
[http://www.sports-reference.com/olympics/athletes/ro/tatyana-roshchina-osipova-1.html Tatyana Ossipova] at [[Sports Reference]]
{{Sports-Reference| do/tom-doe-1 | Tom Doe }}
id=
(or unnamed parameter 1) to backupid=
.name=
(or unnamed parameter 2) if the name specified matches the article title (minus any disambiguation).id=
and (or unnamed parameter 1) is not defined.backupid=
is defined, only use that when the Wikidata value is not found (similar to how you are currently handling id=
).id=
(or unnamed parameter 1) is defined, use that in the URL (after the bot run, this should only be instances of the template where the "id" did not match the Wikidata).name=
(or unnamed parameter 2) is defined, use that in the link text (after the bot run, this should only be instances of the template where the "name" did not match the {{PAGENAME}}
).There's a note "Site Closing" on the
Sports Reference website. The pages can of course still be accessed via the Internet Archive. As we have page IDs in wikidata, can something automated be done to update existing references on Wikipedia? In the short term, can archive-url
and archive-date
please be added to the template?
Schwede
66
18:33, 1 December 2016 (UTC)
The result of the move request was: done ( page mover nac) ___ CAPTAIN MEDUSA talk 12:45, 22 June 2019 (UTC)
– Module and template should have the same name * Pppery * it has begun... 14:49, 8 June 2019 (UTC)