Discussion modèle:Profil Fed Cup

Le contenu de la page n’est pas pris en charge dans d’autres langues.
Une page de Wikipédia, l'encyclopédie libre.
Autres discussions [liste]
  • Admissibilité
  • Neutralité
  • Droit d'auteur
  • Article de qualité
  • Bon article
  • Lumière sur
  • À faire
  • Archives
  • Commons

FedCup ID's[modifier le code]

Three weeks ago all FedCup ID's were changed overnight. I have updated this template, so it will take the data from WikiData, as the FedCupID's are updated on WikiData far more quickly then it will be done locally on fr-wiki. Now my change got reverted, I'm afraid many players will point out to their old and therefor wrong / not working ID (starting with a 1/2/3). This also means that the fr-wiki community needs to go along every tennisplayer, and update the FedCup-ID. This is far more work than using the FedCupID offered by WikiData. Edoderoo (discuter) 3 septembre 2016 à 18:23 (CEST)[répondre]

Hello Notification Edoderoo : Of course, I didn't want to revert it just to make things go wrong, but because I didn't have noticed that it worked with Wikidata. I reverted because I foresee to change all ID, but afer having read you, I'm sure it will be better with Wikidata. That's why I reverted my own modification. Can you just confirm that, in this way, all links go in the right profile now ? For Fed Cup + for David Cup ? Thanks a lot, A.Gust14 (discuter) 3 septembre 2016 à 19:08 (CEST)[répondre]
Yes, it does. It might take a little more while before *all* female tennis players have an updated FedCupID on Wikidata. Right now there are 732 that need to be converted, which is a manual look up on the FedCup website, and a cut-and-paste of the new value into WikiData. I can do like 60 an hour, hopefully others will help too ;-) I find those to be done with the SparQL query:
select ?item ?itemLabel ?fedcupID where {?item wdt:P2642 ?fedcupID . {service wikibase:label {bd:serviceParam wikibase:language "en"}} FILTER ((strstarts(?fedcupID,"1")) || (strstarts(?fedcupID,"2"))) }
that I paste into https://query.wikidata.org/. Regards, Edoderoo (discuter) 3 septembre 2016 à 20:41 (CEST)[répondre]