Şablon müzakirəsi:2019–20 koronavirus pandemiyası verilənləri

Avtomatlaşdırma

Şablondakı rəqəmlər demək olar hər saatda bir neçə dəfə dəyişir. Bütün bu dəyişiklikləri əl ilə etmək çox çətindir. Bunu avtomatlaşdırmaq mümkündürmü? İngilis dilindəki versiyada rəqəmlərdə hər hansı dəyişiklik olan kimi anidən bu şablondakı rəqəmlər də dəyişsin. — Thunder Storm (müzakirə) 17:11, 27 mart 2020 (UTC)

Toghrul Rahimli kömək edə bilər bəlkə. — Araz Yaquboglu (müzakirə) 17:17, 27 mart 2020 (UTC)
@Verman1, Araz Yaquboglu, salam. İngilis dilindəki şablondan məlumatları götürmək mümkünsüzdür, amma vikidataya bağlamaq olar. Bir neçə gün öncə sınaqdan keçirdim, yaxşı nəticə vermir. Vikidata tez-tez dəyişir deyə kifayət qədər problem gətirir oradan. — Toghrul Rahimli • M/F 07:38, 28 mart 2020 (UTC)
Toghrul Rahimli şablonu ingilis dilindəki kimi yığcam edə və sağ tərəfə sürüşdürə bilərsiz ki, məqalədə də sağ tərəfdə peyda olsun? Mən konteynerə ala bildim, amma yığcam etmək və sağ tərəfə sürüşdürmək alınmadı. — Thunder Storm (müzakirə) 11:08, 5 aprel 2020 (UTC)
@Verman1, salam. Siz deyəni , amma məqalə kiçik olduğundan istinadların yerləşməsində ciddi problemlər yarandı. Əgər istifaə olunan məqalə indikindən 3-4 dəfə böyük olsa, həmin problem yaranmaz. Ona görə standart cədvəl formasına qaytarmalı oldum. Toghrul RahimliM/F 12:52, 5 aprel 2020 (UTC)
Toghrul Rahimli məqalə həmin vaxtdan bəri 3-4 dəfə böyüyüb. Yenidən cəhd edə bilərsiz zəhmət olmasa? — Thunder Storm (müzakirə) 13:33, 5 aprel 2020 (UTC)
@Verman1, salam, Etdim, məncə yaxşı görünür. Toghrul RahimliM/F 08:08, 8 aprel 2020 (UTC)

Salam. Əgər avtomatlaşdırmaq mümkün deyilsə, məncə, ölkələri müəyyən istifadəçilər üzrə qruplaşdırmaq olar ki, həmin dövlətlərin statistikasını müvafiq istifadəçi yeniləsin. Bunu həmin şəxslər gündə ən az 1-2 dəfə etsə, onda siyahının yenilənməsi problemi azalar. Qeyd: Bir də ki, ölkələrin qarşısında sıra nömrəsi olması da yaxşı olardı. -- Rüfət Həsənli 10:16, 10 aprel 2020 (UTC)

Bot

(Sorry for writing in English)

Greetings everyone. I developed a bot to automatically update the number of cases from the wiki.en template. This bot is currently active on wiki.pt and wiki.uk, and I am sending this message to check if there is interest in using the bot on this wiki as well. If so, please let me know. Thank you! Albertoleoncio (müzakirə) 18:04, 17 iyun 2020 (UTC)

Hello Albertoleoncio. Many thanks for your message. Using this bot in Azerbaijani Wikipedia would be really useful. Can you use this bot yourself here or do you need any kind of assistance? I'm ready to help. Regards, — Thunder Storm (müzakirə) 09:34, 18 iyun 2020 (UTC)
@Verman1, Great! In order to run the bot, I would need two helps:
  1. Bot flag approval.
  2. Insert bot tags in the template like this example. Thus, the bot will update only the numbers and refs between these markings. This was planned to limit the bot, allowing the community to make other changes to the table (such as style and country order) that are different from the wiki-en. Even if the community prefers to update any country independently, with data other than wiki-en, just remove the mark on the corresponding line and the bot will not edit it.
Albertoleoncio (müzakirə) 12:02, 18 iyun 2020 (UTC)
Salam Toghrul Rahimli. Bot approval verə bilərsiz? Şablondakı dəyişiklikləri mən özüm edərəm. — Thunder Storm (müzakirə) 16:14, 18 iyun 2020 (UTC)
Hello, Albertoleoncio, thanks a lot for your intention. It requires a bureaucrat to approve the right. You can get the bot status here by copy-pasting the dummy text and tweaking it a bit. Toghrul RahimliM/F 10:40, 19 iyun 2020 (UTC)
@Toghrul Rahimli, Verman1,   Qəbul edildi at Vikipediya:Botlar#AlbeROBOT. Albertoleoncio (müzakirə) 23:17, 19 iyun 2020 (UTC)

Hi Albertoleoncio, could you please check made by bot? Looks like there's a problem in updating India numbers.— Thunder Storm (müzakirə) 21:00, 24 iyun 2020 (UTC)

@Verman1, It is not really a problem with the bot, but with {{wdib}}. At wiki.en, India data are get directly by Wikidata (Q84055514), and I don't know how to use Module:Wikidata here. @Toghrul Rahimli,, have any ideia how to solve this? Meanwhile, I recommend to update India data manually, by removing #bot# tags on that line. Albertoleoncio (müzakirə) 21:34, 24 iyun 2020 (UTC)
I will update India data manually until a solution is found. — Thunder Storm (müzakirə) 21:42, 24 iyun 2020 (UTC)
@Albertoleoncio, hello. The Wikidata module is taken from ruwiki; modified for Azeri language and added a few functions. One of the examples from the aforementioned edit can be converted like this: {{wdib|ps=1|P1603|qid=Q84055514|list=p-1}} → {{wikidata|P1603|from=Q84055514}}. But It will show all values. It's possible to take the first value using [1] → {{wikidata|P1603[1]|from=Q84055514}}, but now sure about the last one. I tried to add a parameter [pos:1], but failed.
Anyway, it can be used with the help of another other template, by trimming out the last 7 digits of the value. It will not show the reference, sadly.
{{str rightc|{{wikidata|P1603|from=Q84055514|plain=true}}|7}} → 766.707
Cheers Toghrul RahimliM/F 16:24, 26 iyun 2020 (UTC)
@Toghrul Rahimli, Verman1, It is good enough. I made some adaptations at Şablon:Wdib and now it's working perfectly. Thanks for the help! Albertoleoncio (müzakirə) 17:30, 26 iyun 2020 (UTC)

Hi Albertoleoncio, do you think it is possible to develop a script to apply your bot to this article as well? — Thunder Storm (müzakirə) 10:40, 20 sentyabr 2020 (UTC)

@Verman1, You mean... in the same way as the COVID-19 table at Wiki-fr? Albertoleoncio (müzakirə) 15:22, 20 sentyabr 2020 (UTC)
@Albertoleoncio, Not exactly sure what you mean by French Wiki article, but my idea is to transform the Population per country article data the same way your bot is doing in this article here. To update the article information by pulling the info from Wikidata automatically. Is this possible there? — Thunder Storm (müzakirə) 18:18, 20 sentyabr 2020 (UTC)
@Verman1, I understood. Unfortunately, I am out of time to start a new project with the bot. If helps, I have from Wikidata that can help you with. Albertoleoncio (müzakirə) 20:18, 20 sentyabr 2020 (UTC)
Mənbə — ""
"2019–20 koronavirus pandemiyası verilənləri" səhifəsinə qayıt.

Informasiya Melumat Axtar

Anarim.Az

Sayt Rehberliyi ile Elaqe

Saytdan Istifade Qaydalari

Anarim.Az 2004-2023