Wikidata:Bot requests/Archive/2015/01
This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Request for EN Anatomy bot to grab infobox data
About 5,000 pages on the english WP hold the "Infobox anatomy" (that's here: en:Template:Infobox anatomy). We've recently got some major parameters up on Wikidata and it'd be very useful if a bot could grab them. The specifics are:
- Grabbed from en:Template:Infobox anatomy
- Infobox parameter "GraySubject" (label37) grabbed and put in wikidata property P1698 (P1698)
- Infobox parameter "TA" (label47) grabbed and put in wikidata property Terminologia Anatomica 98 ID (P1323) (this should already have been done for most entries)
Thank you! --LT910001 (talk) 21:12, 10 January 2015 (UTC)
- Woah please hang on. I am having trouble working out why the property 1323 is linked to Domingo Santa María (Q1323), I will fix this shortly. --LT910001 (talk) 21:36, 10 January 2015 (UTC)
- Fixed. --LT910001 (talk) 21:37, 10 January 2015 (UTC)
- @LT910001: I have the bot ready, but there is something of strange in your instruction. You said that P1698 (P1698) must have the value of "GraySubject" parameter, but the example in Property talk:P1698 use "GrayPage". So what's the correct parameter? --ValterVB (talk) 21:35, 13 January 2015 (UTC)
- Thanks a lot for your help. The parameter is GraySubject, NOT GrayPage as stated in the property example. GraySubject is used in some templates, but in many navboxes (see request below)--LT910001 (talk) 22:00, 13 January 2015 (UTC)
- Started --ValterVB (talk) 22:15, 13 January 2015 (UTC)
- You are magnificent, ValterVB! Any chance you could also help with the request below? --LT910001 (talk) 22:31, 13 January 2015 (UTC)
- Probably, I will check tomorrow :) --ValterVB (talk) 22:35, 13 January 2015 (UTC)
- You are magnificent, ValterVB! Any chance you could also help with the request below? --LT910001 (talk) 22:31, 13 January 2015 (UTC)
- Started --ValterVB (talk) 22:15, 13 January 2015 (UTC)
- Thanks a lot for your help. The parameter is GraySubject, NOT GrayPage as stated in the property example. GraySubject is used in some templates, but in many navboxes (see request below)--LT910001 (talk) 22:00, 13 January 2015 (UTC)
- @LT910001: I have the bot ready, but there is something of strange in your instruction. You said that P1698 (P1698) must have the value of "GraySubject" parameter, but the example in Property talk:P1698 use "GrayPage". So what's the correct parameter? --ValterVB (talk) 21:35, 13 January 2015 (UTC)
- Fixed. --LT910001 (talk) 21:37, 10 January 2015 (UTC)
- Done --ValterVB (talk) 22:49, 15 January 2015 (UTC)
- This section was archived on a request by: --Pasleim (talk) 23:45, 19 January 2015 (UTC)
Request for bot to grab navbox data from 600 EN WP templates
I am requesting a bot to transfer all instances of "Terminologia anatomica" and "Gray's Anatomy" numbers in the titles of navboxes in en:Category:Anatomy templates to be moved to Wikidata. Navboxes are one type of template. An example navbox is here: en:Template:Bursae and sheaths.
All instances:
- Are contained within the titles of navboxes which are part of the category en:Category:Anatomy templates and its subcategories
I am specifically requesting:
- That a bot runs through all navboxes in en:Category:Anatomy templates
- That for all navboxes that have "GA", "TA", "TE" or "TH" in the title, the data is added to Wikidata
- TA is added to Terminologia Anatomica 98 ID (P1323)
- TH is added to Terminologia Histologica (P1694)
- TE is added to Terminologia Embryologica (P1693)
- GA is added to P1698 (P1698)
Cheers, --LT910001 (talk) 21:47, 10 January 2015 (UTC)
- @LT910001: Maybe I did not understand, but there aren't template starting with TA or TH or TE or GA in Category Anatomy templates (except Template:TA98) --ValterVB (talk) 20:54, 14 January 2015 (UTC)
- Thanks for taking a look. Sorry, I mean these templates are listed in the 'title=' parameter within the templates. So many templates (eg en:Template:Medulla, en:Template:Pons, en:Template:Diencephalon) all have TA and GA numbers listed within their 'title=' fields (click and follow it through and you'll see what I mean) --LT910001 (talk) 22:34, 14 January 2015 (UTC)
- Done 103 template have TA, TH, TE or GA, 97 template don't have --ValterVB (talk) 22:51, 15 January 2015 (UTC)
- Thank you very much, I'm very grateful for your help. --LT910001 (talk) 21:26, 16 January 2015 (UTC)
- Done 103 template have TA, TH, TE or GA, 97 template don't have --ValterVB (talk) 22:51, 15 January 2015 (UTC)
- Thanks for taking a look. Sorry, I mean these templates are listed in the 'title=' parameter within the templates. So many templates (eg en:Template:Medulla, en:Template:Pons, en:Template:Diencephalon) all have TA and GA numbers listed within their 'title=' fields (click and follow it through and you'll see what I mean) --LT910001 (talk) 22:34, 14 January 2015 (UTC)
- This section was archived on a request by: --Pasleim (talk) 23:45, 19 January 2015 (UTC)
update label of kowiki
Titles of article in ko:category:일본의 남자 성우 are changed in kowiki. Please update them.--Konggaru (talk) 12:14, 14 January 2015 (UTC)
- I can update label tomorrow or Saturday. One question: I cut disambiguation? Example: page: 코바야시 카오루 (배우) Label: 코바야시 카오루 --ValterVB (talk) 22:55, 15 January 2015 (UTC)
- Done --ValterVB (talk) 11:57, 17 January 2015 (UTC)
- This section was archived on a request by: --Pasleim (talk) 23:44, 19 January 2015 (UTC)
Hungary Wikipedia + Wikidata
Hi! I have a category with lot of items: hu:Kategória:Bottal létrehozott olasz vasútállomás cikkek without wikidata contact. I would like wikidata contact, for example: Acquaviva-Casteltermini vasútállomás -> Stazione di Acquaviva-Casteltermin (it), label: Acquaviva-Casteltermini vasútállomás, description: vasútállomás Olaszországban.
Thanks! --B.Zsolt (talk) 16:19, 22 January 2015 (UTC)
- I tried to match as many articles as possible. However, it looks like 31 train stations do not have yet an article on itwiki. For those, you can create new items with http://tools.wmflabs.org/wikidata-todo/creator.html --Pasleim (talk) 21:40, 22 January 2015 (UTC)
- This section was archived on a request by: --Pasleim (talk) 11:06, 1 February 2015 (UTC)
Unlink factual errors
Please delink given name (P735)Park (Q18608215) when his/her nationality is South Korea or North Korea.
This is to fix serious factual errors described in User talk:Jura1#Korean family name. Thanks, — Revi 11:29, 25 January 2015 (UTC)
- If you are sure that they are all wrong, you can do the delinking by yourself. Open this link, add in the "Controls" box
-P735:Q18608215
and click "process commands" --Pasleim (talk) 13:52, 30 January 2015 (UTC)- I will fix it. --- Jura 17:05, 30 January 2015 (UTC)
- This section was archived on a request by: --Pasleim (talk) 11:05, 1 February 2015 (UTC)
Adding contirbutor property to Otto's encyclopedia contributors
Authors listed at this list are all contributors (P767) to Otto's encyclopedia (Q2041543). Could this property be added to items of these authors? Wesalius (talk) 13:07, 30 January 2015 (UTC)
- Manually done here. Wesalius (talk) 13:12, 30 January 2015 (UTC)
- Actually, contributor to the creative work or subject (P767) is thought to be used the other way round. Put the claims on Ottův slovník naučný (Q2041543) with values from cs:s:Kategorie:Spolupracovníci_Ottova_slovníku_naučného --Pasleim (talk) 13:42, 30 January 2015 (UTC)
- Thanks for the correction. Probably the same could be done with Encyclopædia Britannica 11th edition (Q867541) and values from en:s:Category:1911 Encyclopædia Britannica contributors. Wesalius (talk) 14:44, 30 January 2015 (UTC)
- Actually, contributor to the creative work or subject (P767) is thought to be used the other way round. Put the claims on Ottův slovník naučný (Q2041543) with values from cs:s:Kategorie:Spolupracovníci_Ottova_slovníku_naučného --Pasleim (talk) 13:42, 30 January 2015 (UTC)
Or if someone could point me to a (maybe existent) tool for non-bot accounts that inserts multiple claims to an item, I will deal with this task myself. Thanks. Wesalius (talk) 17:17, 30 January 2015 (UTC)
- I tried to use quick statements tool, but I got MySQL errors because of incorrectly filling the value for "First column are articles from:" Any advices? Wesalius (talk) 21:03, 31 January 2015 (UTC)
- For cs.wikisource the value should be cswikisource. --ValterVB (talk) 07:47, 1 February 2015 (UTC)
- Now I get "Skipping a item that could not be found." error. I have tried Q2041543 for Ottův slovník naučný (Q2041543), than a different one, but still this error. Wesalius (talk) 07:57, 1 February 2015 (UTC)
- @Wesalius: Can you past the used string and the title page? --ValterVB (talk) 08:14, 1 February 2015 (UTC)
- Using regex I extracted author names from cs:s:Kategorie:Spolupracovníci_Ottova_slovníku_naučného and then created a list out of them consisting of lines in format
Q2041543 P767 "Max Švagrovský"
which I believed would claim that Max Švagrovský is a contributor to the creative work or subject (P767) to Ottův slovník naučný (Q2041543) (and analogically for the rest of the lines). Wesalius (talk) 08:20, 1 February 2015 (UTC) - For contributor to the creative work or subject (P767) is necessary an item not a string., In your example you must use Max Švagrovský (Q15831246) (ex. Q2041543 P767 Q15831246) --ValterVB (talk) 08:30, 1 February 2015 (UTC)
- Thank you so far for the help, looks like I will soon be able to use the tool in the right way. Probably the last question would be - I need to get wikidata items for the authors. I thought I would use Link items tool for the list I generated, but it tells me there are no links in my wikitext :/ If there is another way of getting item names of pages categorised in a particular category, I would be happy to learn it. Wesalius (talk) 08:44, 1 February 2015 (UTC)
- @Wesalius: Probably not so easy, you can use Autolist, but the is necessary see the html code (search var chunks = and you have the list of item without "Q"). Below you can find the list. There are only 402 item, probably 3 author aren't on wikidata. --ValterVB (talk) 09:04, 1 February 2015 (UTC)
- Thank you so far for the help, looks like I will soon be able to use the tool in the right way. Probably the last question would be - I need to get wikidata items for the authors. I thought I would use Link items tool for the list I generated, but it tells me there are no links in my wikitext :/ If there is another way of getting item names of pages categorised in a particular category, I would be happy to learn it. Wesalius (talk) 08:44, 1 February 2015 (UTC)
- Using regex I extracted author names from cs:s:Kategorie:Spolupracovníci_Ottova_slovníku_naučného and then created a list out of them consisting of lines in format
- @Wesalius: Can you past the used string and the title page? --ValterVB (talk) 08:14, 1 February 2015 (UTC)
- Now I get "Skipping a item that could not be found." error. I have tried Q2041543 for Ottův slovník naučný (Q2041543), than a different one, but still this error. Wesalius (talk) 07:57, 1 February 2015 (UTC)
- For cs.wikisource the value should be cswikisource. --ValterVB (talk) 07:47, 1 February 2015 (UTC)
Q10282226 Q10379548 Q1040777 Q10546686 Q10710174 Q10710533 Q10729254 Q10853859 Q10854138 Q10856346 Q10859124 Q10859142 Q11059583 Q11217886 Q11218217 Q11220660 Q11706403 Q117110 Q11717415 Q11774972 Q11775196 Q11801012 Q11835032 Q11873066 Q11875020 Q11878448 Q11878456 Q11878467 Q11878525 Q11878571 Q11926322 Q11938768 Q11985613 Q11992374 Q12002679 Q12016878 Q12016885 Q12016922 Q12016955 Q12016986 Q12016990 Q12016999 Q12017000 Q12017170 Q12017213 Q12017340 Q12017356 Q12017483 Q12017545 Q12017678 Q12017686 Q12018525 Q12018531 Q12022606 Q12022655 Q12022773 Q12022779 Q12022782 Q12023215 Q12023244 Q12024813 Q12024850 Q12024855 Q12025457 Q12025973 Q12026034 Q12026224 Q12026325 Q12026580 Q12026609 Q12026644 Q12026854 Q12027881 Q12028158 Q12028161 Q12028238 Q12028285 Q12028294 Q12028567 Q12029333 Q12031484 Q12032844 Q12032980 Q12033156 Q12035501 Q12035753 Q12036073 Q12043170 Q12044104 Q12047002 Q12050236 Q12349691 Q12633384 Q1283803 Q1357129 Q1357931 Q1364258 Q14405878 Q1445628 Q1445713 Q14971389 Q15059907 Q15112111 Q15146560 Q15290723 Q15358993 Q15651962 Q15656565 Q15701306 Q15712632 Q15712667 Q15729876 Q15829864 Q15829880 Q15829884 Q15829886 Q15829906 Q15829912 Q15829915 Q15829916 Q15829927 Q15829931 Q15829946 Q15829954 Q15829955 Q15829959 Q15829963 Q15829966 Q15829971 Q15829978 Q15829982 Q15829985 Q15829987 Q15829995 Q15830003 Q15830006 Q15830007 Q15830008 Q15830009 Q15830010 Q15830016 Q15830021 Q15830022 Q15830025 Q15830029 Q15830030 Q15830032 Q15830036 Q15830039 Q15830043 Q15830045 Q15830053 Q15830056 Q15830057 Q15830061 Q15830062 Q15830065 Q15830069 Q15830071 Q15830075 Q15830078 Q15830080 Q15830081 Q15830084 Q15830108 Q15830109 Q15830110 Q15830114 Q15830115 Q15830117 Q15830118 Q15830127 Q15830136 Q15830137 Q15830138 Q15830139 Q15830143 Q15830144 Q15830147 Q15830150 Q15830152 Q15830157 Q15830163 Q15830164 Q15830166 Q15830176 Q15830177 Q15830181 Q15830183 Q15830189 Q15830196 Q15830199 Q15830200 Q15830201 Q15830202 Q15830213 Q15830223 Q15830224 Q15830232 Q15830233 Q15830237 Q15830239 Q15830246 Q15830251 Q15830254 Q15830260 Q15830261 Q15830263 Q15830266 Q15830272 Q15830274 Q15830275 Q15830278 Q15830285 Q15830290 Q15830293 Q15830294 Q15830310 Q15830311 Q15830320 Q15830321 Q15830324 Q15830329 Q15830331 Q15830338 Q15830339 Q15830340 Q15830342 Q15830344 Q15830348 Q15830350 Q15830353 Q15830357 Q15830358 Q15830359 Q15830363 Q15830372 Q15830373 Q15830374 Q15830375 Q15830377 Q15830399 Q15831246 Q15831247 Q15831251 Q15831258 Q15831262 Q15831263 Q15831266 Q15831279 Q15831283 Q15831295 Q15831302 Q15831307 Q15831319 Q15831328 Q15831337 Q15831341 Q15831342 Q15831352 Q15831356 Q15831366 Q15831368 Q15831370 Q15831372 Q15831373 Q15831375 Q15831376 Q15831377 Q15831383 Q15831384 Q15831400 Q159227 Q15960610 Q159880 Q16115762 Q161368 Q16727765 Q16731401 Q16733767 Q16735336 Q16735344 Q16735345 Q16744058 Q1681883 Q1704502 Q1704533 Q1705960 Q1706187 Q1713008 Q17186993 Q1729162 Q17297637 Q17309516 Q17395655 Q17442002 Q17442006 Q17516546 Q17516547 Q17516548 Q17516556 Q17516557 Q17516558 Q17516563 Q17516565 Q17516571 Q17516574 Q17516576 Q175285 Q17542715 Q17573825 Q18010713 Q18104831 Q18104837 Q18104840 Q18104843 Q18104846 Q18201571 Q18201572 Q18327876 Q18340533 Q18340534 Q18340535 Q18340536 Q18341651 Q18341652 Q18438071 Q18438074 Q18507589 Q18507592 Q18564507 Q18564510 Q18572941 Q18615916 Q18753548 Q18760282 Q18760284 Q18783497 Q18882246 Q18915410 Q18915412 Q1960487 Q2060862 Q2173070 Q25138 Q2526437 Q2526466 Q2651054 Q274171 Q324157 Q326565 Q327093 Q327322 Q344349 Q347471 Q3490610 Q3508777 Q3509896 Q3564902 Q3565895 Q362154 Q382358 Q4105953 Q4185002 Q4194262 Q4243064 Q4249797 Q4346860 Q4402033 Q4402153 Q461104 Q464379 Q477726 Q4832689 Q539212 Q5492598 Q6253919 Q650542 Q671725 Q683558 Q6846651 Q6876857 Q700589 Q700775 Q701743 Q713838 Q720345 Q722409 Q722701 Q74864 Q7599180 Q762176 Q77779 Q7940515 Q7940549 Q7940617 Q7940730 Q7940749 Q7940790 Q857545 Q872815 Q9176311
I used the Autolist2 instead of quickstatements. Its working and running. Thank you very much for tutoring me! Wesalius (talk) 09:44, 1 February 2015 (UTC)
- This section was archived on a request by: --Pasleim (talk) 11:06, 1 February 2015 (UTC)
Removing redundant prefix from labels
In many items about various writers, that are probably harvested from Czech wikisource is a prefix "Autor:" before the writers name. Could any bot operator remove these? I have done it manually - example 1 and example 2. Thanks.
After that, those labels could all be copied to english labels aswell, since the names of authors stay in the same form as in the original (Czech) language. Thanks again.
Wesalius (talk) 21:11, 31 January 2015 (UTC)
- I will do this using http://quarry.wmflabs.org/ and http://tools.wmflabs.org/wikidata-todo/quick_statements.php Matěj Suchánek (talk) 11:16, 1 February 2015 (UTC)
- This section was archived on a request by: Matěj Suchánek (talk) 17:25, 1 February 2015 (UTC)
Import 12.000 images from it and pl.wiki
Hi all,
I have made categories on it.wiki (10.100 pages) and pl.wiki (2.600 pages), that shows pages with an image where Wikidata does not have an image. All articles are of people and the images are in a template, so they are specific for the subject. Maybe someone can use this category to place these images on Wikidata. Sincerely, Taketa (talk) 20:36, 6 January 2015 (UTC)
- PS: The category on simple.wiki (1.600 pages) might also be of interest, since it is on an English language project and should be easy for botusers that speak English. It is not just biographies, but all images are specific for the topic and in a template. All the best, Taketa (talk) 21:26, 6 January 2015 (UTC)
- Hi Taketa, do you have Pywikibot installed? You can just use illustrate_wikidata.py. That's the bot I wrote and used to import images from the Dutch Wikipedia and other languages.
- For example to import the plwp images:
python pwb.py illustrate_wikidata.py -family:wikipedia -lang:pl -cat:Grafika_za%C5%82adowana_lokalnie_jest_taka_sama_jak_w_serwisie_Wikidata
. I don't think that's the right category btw. I see plenty of articles in there that have an image here, take for example pl:Roberto Aballay. Multichill (talk) 21:41, 6 January 2015 (UTC)- I have no bot. Not technical so that goes beyond me. You are right. I picked the wrong one (I don't speak Polish :P). I have corrected the error. 2.000 images in this category. All the best, Taketa (talk) 22:09, 6 January 2015 (UTC)
- Done with the script of Multichill. Remaining images in the categories are stored locally and not commons. --Pasleim (talk) 15:01, 1 March 2015 (UTC)
- I have no bot. Not technical so that goes beyond me. You are right. I picked the wrong one (I don't speak Polish :P). I have corrected the error. 2.000 images in this category. All the best, Taketa (talk) 22:09, 6 January 2015 (UTC)
- This section was archived on a request by: --Pasleim (talk) 15:01, 1 March 2015 (UTC)
Mayor election results in Hungary
Good day!
Last year, the mayors voted in Hungary. The French Wikipedia hungarian settlements mayor to update information. The data are available on the valasztas.hu: [1] --นายกเทศมนตรี (talk) 12:32, 6 January 2015 (UTC)
- I will have a look at that during the week-end. Orlodrim (talk) 11:52, 16 January 2015 (UTC)
- I updated the data templates on the French Wikipedia.
- I don't know if it's possible to put the mayors on Wikidata without creating an item for each mayor, but if someone is interested, I put the list in CSV format on this page.
- Orlodrim (talk) 21:56, 16 January 2015 (UTC)