User talk:Mike Peel/Archive 4

From Wikidata
Jump to navigation Jump to search
This page is an archive. Please do not modify it. Use the current page, even to continue an old discussion.

P8989 vs. P8933

Pi Bot made this change but I think it is wrong to apply Property:P8989, it should be Property:P8933. How does Pi Bot decide which to take?? -- Gerd Fahrenhorst (talk) 18:50, 3 March 2021 (UTC)

@Gerd Fahrenhorst: It uses the phrase "view from" vs. "view of" in the category title. Feel free to change the property, the bot won't try to revert the edit as long as the Commons category is sitelinked. Thanks. Mike Peel (talk) 18:59, 3 March 2021 (UTC)
The bot should be able to detect whether both "of" and "from" exist and then either ignore such cases, or poperly order both objects of object1 from object2. Gerd Fahrenhorst (talk) 19:24, 3 March 2021 (UTC)

Hi, Pi Bot linked to the commons site of a Carla Gallo different from the actress of the element, please prevent the bot from linking back to this clearly incorrect site. Regards Valdemar2018 (talk) 08:54, 8 March 2021 (UTC)

Pi bot added again this incorrect link. Regards Valdemar2018 (talk) 18:36, 8 March 2021 (UTC)
@Valdemar2018: Sorry for the slow reply, I was mostly offline yesterday. I've created Carla Gallo (Q105834895) and moved the Commons link there, please add more info to that item if you can! Thanks. Mike Peel (talk) 11:08, 9 March 2021 (UTC)

Pi bot creates new items for renamed articles on enwiki

Yesterday someone renamed en:Holger Rune and immediately after your bot created a new wikidata item: https://www.wikidata.org/w/index.php?title=Q105858882&action=history, after which some newbie moves the danish article to the new item. I've merged the new item back into the old. Can unfortunate behaviour like this somehow be prevented? Thanks --Hjart (talk) 07:05, 12 March 2021 (UTC)

@Hjart: I'm not actually too sure how this happened. When @Subaryan: moved the page, it should have automatically updated the sitelink here as well, but they don't even seem to have an account here. I've posted this at Wikidata:Contact_the_development_team#Page_move_on_enwp_doesn't_update_here. Thanks. Mike Peel (talk) 10:09, 12 March 2021 (UTC)

Unparished areas

Hi Mike,

Since WikiCommons infoboxes are some of the active reusers of located in the administrative territorial entity (P131) chains, can I ask you could give me any thoughts on Wikidata:WP EMEW/Subdivisions/Unparished ?

I have started trying to refine English P131 statements to more consistently point to a parish-level item, rather than some higher-level authority.

But where some of a local authority is an "unparished area", what would be your view of the better way forward:

-- given your knowledge of how P131 chains can be used at Commons, and might be used by other reusers?

Any thoughts or sounding-board input you could give on this would be very appreciated. Thanks, Jheald (talk) 14:27, 16 March 2021 (UTC)

@Jheald: I think it depends on whether it is actually an 'administrative area' or not, which is separate from whether it is a parish. But I'm not so sure, you're probably better off asking on wikiprojects on wikis, or maybe on the infobox talk page on Commons, to see what people there think - mostly people complain about redundant information in the category tree (e.g., Bob, City of Bob, Municipality of Bob, Greater Bob, etc.). BTW, be careful with cases like en:Jodrell Bank Observatory - where the observatory site is split between multiple parishes... Thanks. Mike Peel (talk) 20:40, 17 March 2021 (UTC)
I have gone with Q26278822#P131 for the moment, based in part on OSM taking a strong view that the absence of an administrative area does not constitute an administrative area, so should not be designated as such. It will also avoid repetitions like "unparished part of Adur", "Adur" in Commons infoboxes and similar. (eg c:Category:Teversal Manor -- not Teversal, unparished part of Ashfield, Ashfield, Nottinghamshire). But if somebody wants to do something different, it will be easy enough to change given the information there.
For the moment I am going to leave alone statements like P131 = Brighton if they are already present, with Brighton = P31 "unparished area", even though the area with an official E43 number is "Brighton and Hove (unparished part)". This could be returned to in due course, but for the moment not a priority.
Thanks for the warning about Jodrell Bank! I was aware of the issue for rivers etc. At the moment I have just added the parish-level P131s for listed buildings, which apart from radio telescopes and the odd bridge should mostly be located in a single parish. Also I have only removed higher-level P131s if they follow from the parish; so bridges that straddle local authority borders should still have a second P131. Eventually they should all probably be reviewed against a download of the Listed Building register, but that also will have to be for another day.
Anyway, let me know what you think of Q26278822#P131 as a statement. I can always tweak them if necessary! Thanks, Jheald (talk) 12:01, 18 March 2021 (UTC)
@Jheald: I'm neutral on that approach - the infobox code won't use the qualifier, so it won't change what is displayed there. Thanks. Mike Peel (talk) 12:06, 18 March 2021 (UTC)
Is there anything you think would be better? Or anything that should be added, eg "object has role" = "unparished area". I think what's there is sufficient, and allows items in such areas to be retrieved with fragments like <code<p:P131/pq:P805/wdt:P31 wd:Q7897276, so I'll probably go with it, unless you have any good ideas. Jheald (talk) 12:13, 18 March 2021 (UTC)
My mind is blank, sorry. Thanks. Mike Peel (talk) 12:14, 18 March 2021 (UTC)

Same for [1] --- Jura 12:56, 22 March 2021 (UTC)

@Jura1: That script just copies labels, it doesn't modify them or come up with new ones. It's assumed that if there are brackets in the name already then they should be there (although I'm not sure how many names have brackets in them!). Thanks. Mike Peel (talk) 12:59, 22 March 2021 (UTC)
In that case, it may be preferable that it doesn't copy them. Thanks. --- Jura 13:00, 22 March 2021 (UTC)
OK, I'll look at making that change when I'm at home. The script has finished clearing the backlog, btw, so it will only be new cases in the future, once I add it to the cron job. Thanks. Mike Peel (talk) 13:02, 22 March 2021 (UTC)
Good. I made a request for similar at Wikidata:Bot_requests#request_to_fix_labels_of_humans_-_disambiguator_(2021-01-24). It should find (e.g. [2]) --- Jura 16:01, 22 March 2021 (UTC)
@Jura1: Fixed with this diff. I can also help with the bot request, but I'll comment on it at that page. Thanks. Mike Peel (talk) 19:47, 24 March 2021 (UTC)

Your Pi bot-edit, of moving category

Hello Pi bot owner, Mike Peel. Your removal/moving of my previous edit makes it look like I'm not fully aware of wanted structure at articles and categories of countries and participants at games-links. See my category work on Wikimedia.Commons for Norway at Winter Olympics regarding athletes and images taken during the olympics. Could you clarify around this for me a bit, please ? Best regards Migrant (talk) 12:26, 2 April 2021 (UTC)

@Migrant: The general consensus here is that Commons category sitelinks go with the category items where they exist (and the topic items where they don't). In this case there is Category:Norway at the 2008 Summer Olympics (Q9644053), which is linked from Norway at the 2008 Summer Olympics (Q147041) by topic's main category (P910) and category's main topic (P301). Pi bot will automatically move it if needed and if it can. There's more background at User:Mike Peel/Commons linking if that helps. Thanks. Mike Peel (talk) 15:10, 2 April 2021 (UTC)
Thanks for your answer with explanation and your link to the policy. I bookmarked it for further updates. Happy holidays and best regards Migrant (talk) 19:25, 2 April 2021 (UTC)

Esquerra Independentista

About this change, the Commons category is better suited to the article (https://ca.wikipedia.org/wiki/Esquerra_Independentista) than to https://ca.wikipedia.org/wiki/Categoria:Esquerra_Independentista--AlbertRA (talk) 15:31, 8 April 2021 (UTC)

@AlbertRA: I already reverted. Where the category item exists, then the convention is that the commons category goes there, not in the article item. See User:Mike Peel/Commons linking for my understanding of the convention here. Thanks. Mike Peel (talk) 15:32, 8 April 2021 (UTC)

Outreachy

For others watching my talk page that are wondering what is going on, please see phab:T276329. :-) Thanks. Mike Peel (talk) 19:41, 30 March 2021 (UTC)

I'd be keen to help with your project. I will need to get up to speed on the coding and bot work but let me know if there is anything I can do! MSGJ (talk) 21:17, 31 March 2021 (UTC)
@MSGJ: Thanks! If you could check through phab:T276329 and particularly the linked tickets under 'Tasks' to make sure they make sense (and feel free to add hints/links to documentation), that would be really helpful. Thanks. Mike Peel (talk) 21:24, 31 March 2021 (UTC)
It looks good. The part about P numbers and Q numbers will probably be very confusing to newcomers because I remember grappling with them initially. I'll see if I can make it clearer. You've got a good response so far! MSGJ (talk) 21:36, 31 March 2021 (UTC)
I've left a couple of comments for people, hope that's okay. Not sure how you were going to coordinate this because they are posting in lots of different places (enwiki, wikidata, phab) MSGJ (talk) 22:04, 31 March 2021 (UTC)

Esther Osayande: Outreachy Applicant

Hello Mike and everyone, my name is Esther, an Outreachy internship applicant. I have gone through the project repo and I am currently getting myself familiar with the source code and also setting up my development environment.

I am really excited about working on this project, getting mentorship and learning more new things in a fun and practical way.

Cloned down the code from GitHub!

Hello! I am excited to become more familiar with this project. I will do my best to find ways to contribute, but I would also love a little guidance with any tasks I could complete that would be the most helpful. :) I know there is a lot of good documentation, but I haven't stumbled across an obvious list of potential tasks yet. Is there is a page/location where I can find contribution recommendations? Thanks!  – The preceding unsigned comment was added by LisaMasko (talk • contribs) at 03:09, 30 March 2021‎ (UTC).

Starting off

Hello Mike, I am Astha, an Outreachy applicant. I am going through wikidata and how to work with it and have been checking pywikibot out and it looks fun. Should I start working on parsing articles for specific information? I've broadly familiarised myself with the repo so is there anywhere else you think I should start from?  – The preceding unsigned comment was added by Asthaj (talk • contribs) at 09:46, 30 March 2021‎ (UTC).

Outrea Applicant

Hello @Mike and to other outreachy applicant I am excited to be here and I'm looking forward in making the most of this contribution phase as a journey in open source contribution. I've looked on wiki data structure and familiarizing myself with other areas. Are there tasks available ? Fonyuy237 (talk) 11:49, 30 March 2021 (UTC)

Outreachy applicant

Hello Mike, my name is Ifeanyi and I am an outreachy applicant. The pywikibot and wikidata are new concepts for and I would love to learn them in the best way I can. Thank you for taking the mentorship position and I look toward to learning with you.  – The preceding unsigned comment was added by Ifeanyi liam (talk • contribs) at 13:53, 30 March 2021‎ (UTC).

Need Guidance

Hello, I am Naznin Haque. I have read the project details and found my interest in this project. Can you guide me where to start exactly and what should I do in this project to make my contribution count?  – The preceding unsigned comment was added by 103.136.230.235 (talk • contribs) at 15:42, 30 March 2021‎ (UTC).

Outreachy Applicant

Hello @mike and other applicants, I am midhun, I have started to getting myself familiar with the source code. Looking forward to learn under your guidance, like others have asked could you please show us a starting point. – The preceding unsigned comment was added by Midhunvarman (talk • contribs) at 16:44, 30 March 2021‎ (UTC).

Outreachy Applicant: Self Introduction

Hey there! My name is Mo. I'm brand new to programming - I've recently taught myself to code in Python and I'm honored to have the chance to contribute to some impactful FOSS projects with you all! I'm brand new to Git and version control repositories and haven't actually participated in a git workflow and I'm pumped to start to feel like a "real" programmer! I've taken a look at Mike's source code and I've also not seen an issues list. I plan to check in on the repo for issues and monitor the chat for any workable issues for newcomers. I'll continue to get familiar with the source code, wikidata, and pywikibot! Momor72 (talk) 17:36, 30 March 2021 (UTC)

Reply

Hi @AviatorIfeanyi, LisaMasko, Asthaj, Fonyuy237, Ifeanyi liam, Midhunvarman: I hope you don't mind me replying in one go, I wasn't expecting so much interest in this project! The main page for info about this project is phab:T276329 - I've added two sub-tickets (phab:T278860 and phab:T278863) that give guidance for the first few tasks/contributions (getting to know Wikidata and Pywikibot - I’ll add more soon). Let me know if you have any questions! If you want to talk off-wiki, then you can reply to the phabricator tickets (log in using your Wikimedia account), or you can email me (I think my email is available on Outreachy, or see http://www.mikepeel.net/contact/ ). Thanks. Mike Peel (talk) 19:41, 30 March 2021 (UTC)

Outreachy Introduction

Hello, my name is Amine, I'm an Outreachy applicant and I'm excited to work with you all. I had a question about the project. Can multiple people work on the same issue or do you assign it to a specific person? Thanks,

@Amine hassou: My understanding is that everyone can do the initial tasks, but only one person can be accepted to do the full project. Thanks. Mike Peel (talk) 20:18, 30 March 2021 (UTC)
@Mike Peel: Thank you, I replied on ticket 1 with the link to my wikidata user outreachy page. Thanks, Amine hassou

Outreachy Introduction

Hi Mike, I am Hashini, an Outreachy applicant. I am going through the project now but I would like to know if there's a particular place you'd like me to look into?  – The preceding unsigned comment was added by HashiniPS (talk • contribs) at 21:03, 30 March 2021‎ (UTC).

@HashiniPS: Please see phab:T276329. Thanks. Mike Peel (talk) 21:05, 30 March 2021 (UTC)

Outreach Applicant

Hello everyone, This is Mahaboob Shariff an outreachy applicant from India and I would like to contribute to this task  – The preceding unsigned comment was added by Mehaboob shariff (talk • contribs) at 09:28, 31 March 2021‎ (UTC).

@Mehaboob shariff: Hi, I moved your comment here from the project chat. Please have a look at phab:T276329! Thanks. Mike Peel (talk) 09:53, 31 March 2021 (UTC)

Outreach Applicant

Hello, everyone. I am Anubhuti, an outreachy applicant. I have tried to make a user page for the first task T276329 but it seems I can only make a page User:username and not change its name further. Can anyone guide me about this please.  – The preceding unsigned comment was added by Anu as.shruti (talk • contribs) at 11:52, 31 March 2021‎ (UTC).

@Anu as.shruti: You should be able to create User:Anu as.shruti/Outreachy 1 - try clicking on that link? You can also create it by typing the URL into your browser's address bar, going to the non-existent page, and click on 'create this page'. Thanks. Mike Peel (talk) 13:25, 31 March 2021 (UTC)

Outreachy Applicant

Hello. I am Faisal an outreachy applicant from Ghana. I am excited to be part of this project. Its my hope I contribute to the best of my ability. Really glad to have you as a mentor and hope to learn more from you. DaSupremo (talk) 16:19, 31 March 2021 (UTC)

@DaSupremo: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 18:12, 31 March 2021 (UTC)

Outreachy Applicant

Hello Mike and everyone! I'm Poornima from India. I love programming in Python. Looking forward to learning with you all, and of course, Mike. Cheers! Poornima7 (talk) 17:35, 31 March 2021 (UTC)

@Poornima7: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 18:12, 31 March 2021 (UTC)

Outreachy Applicant: Srishti Gupta

Hi Mike and everyone, I am Srishti Gupta, Outreachy Applicant. I was going through the project and this project really interests me for many reasons but basically that being a beginner to programming I can contribute and learn.  – The preceding unsigned comment was added by Srishti0gupta (talk • contribs) at 15:32, 31 March 2021‎ (UTC).

@Srishti0gupta: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 18:12, 31 March 2021 (UTC)

Hello

My name is Nina, and I am very excited that I am able to contribute to this project! I hope that I will make it! Good Luck Everyone :) Nina Siam (talk) 15:43, 31 March 2021 (UTC)

@Nina Siam: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 18:12, 31 March 2021 (UTC)

Mariana: Outreachy Applicant

Hello! My name is Mariana, I am from Venezuela, and I am an Outreachy Applicant. I am so excited to collaborate in this project, to contribute to open source, I find it very interesting, in addition to being able to learn more about Python. I am attentive to solve the tasks.  – The preceding unsigned comment was added by MarianaMarq (talk • contribs) at 05:58, 1 April 2021‎ (UTC).

@MarianaMarq: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 12:20, 1 April 2021 (UTC)

Outreachy Applicant

Hello, I'm Kaushambi Sharma and I'm interested in gaining and sharing knowledge and experience by contributing to this project.  – The preceding unsigned comment was added by Sharmakaushambi (talk • contribs) at 06:56, 1 April 2021‎ (UTC).

@Sharmakaushambi: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 12:20, 1 April 2021 (UTC)

Outreachy Applicant

Hello, Hello Mike Peel I am vidhya001, I have gone through task 1 that you have given and did some work on it. I have posted my work URL on the same phabricator page. Looking forward to your insights. Thanks vidhya001 10:40 am, 2 April 2021 (UTC)

Hi Vidhya, did you see my comments at User talk:Vidhya001/outreachy 1 yet? Feel free to reply there — Martin (MSGJ · talk) 13:36, 2 April 2021 (UTC)

Is the project still open for new contributions?

Hi! Mike, I'm Daneshwari and I'm applying for Outreachy'21. I have worked with python and also in group projects with different skills. I find the project "Synchronising Wikidata and Wikipedias using pywikibot" interesting and I'm keen to contribute to it. I have gone through the tasks and looking forward to work on the tasks. But I found that already many applicants have started to contribute to it. Is the project still open for contributions from new applicants? – The preceding unsigned comment was added by DaneshwariK (talk • contribs) at 17:03, 1 April 2021‎ (UTC).

Hi Daneshwari, Please see phab:T276329 for more info about the project. You can even start contributing to it  – The preceding unsigned comment was added by MSGJ (talk • contribs) at 13:36, 2 April 2021‎ (UTC).

@DaneshwariK: The project is still open for contributions, but bear in mind that it has had a lot of interest - you may want to look at other projects that have had less interest. The place to start with this project is phab:T276329. Thanks. Mike Peel (talk) 15:05, 2 April 2021 (UTC)

Thanks Mike and MSGJ. I'll surely keep this in mind and I'll do my best.  – The preceding unsigned comment was added by DaneshwariK (talk • contribs) at 04:03, 3 April 2021‎ (UTC).

outreachy applicant

hello mike and everybody, i am Pushpanjali and i am interested in doing this project. Looking forward to learn much more things from this proje  – The preceding unsigned comment was added by Pushp24 (talk • contribs) at 11:07, 2 April 2021‎ (UTC).

@Pushp24: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 15:06, 2 April 2021 (UTC)

Outreachy Applicant: Leena

Hello! I'm Leena from Pakistan, very grateful to be able to contribute and give back to Wikimedia. I've began my first contribution, will be linking it on the Phabricator page soon!  – The preceding unsigned comment was added by Leena Harani (talk • contribs) at 16:02, 4 April 2021‎ (UTC).

@Leena Harani: Hi! Please see phab:T276329 for more info about the project. Thanks. Mike Peel (talk) 15:30, 5 April 2021 (UTC)

Outreachy applicant: Ifeanyi_liam

I tried creating a page through the pywikibot API but the created page does not accept the text from the project 1 page. Any ideas on what I am doing wrong and should do?  – The preceding unsigned comment was added by Ifeanyi liam (talk • contribs) at 16:23, 5 April 2021‎ (UTC).

@Ifeanyi liam: It looks like you created User:Ifeanyi liam/Outreachy 2 but it's blank? If you have pywikibot running, I'd need to see the code you're using to see what is happening. Also, see task 1 feedback at User talk:Ifeanyi liam/Outreachy 1. Thanks. Mike Peel (talk) 16:37, 5 April 2021 (UTC)

Outreachy applicant: question

Hello, I just wanted to verify if you received my task 2 submission through email. Thanks, Amine  – The preceding unsigned comment was added by Amine hassou (talk • contribs) at 20:53, 5 April 2021‎ (UTC).

@Amine hassou: Received, will reply soon, sorry for the delay. Thanks. Mike Peel (talk) 15:43, 7 April 2021 (UTC)

Outreachy applicant: Ifeanyi_liam

I also mailed you my task_2 and the task_1 correction. I would like to get your feedback before I process to task_3. Thanks.  – The preceding unsigned comment was added by Ifeanyi liam (talk • contribs) at 12:47, 7 April 2021‎ (UTC).

@Ifeanyi liam: Received, will reply soon, sorry for the delay. Thanks. Mike Peel (talk) 15:43, 7 April 2021 (UTC)

Outreachy applicant: Ifeanyi_liam

Here is the code I used

  • import pywikibot
  • # initial the website connection
  • site = pywikibot.Site()
  • # get the pages
  • page = pywikibot.Page(site, "User:Ifeanyi_liam/Outreachy_1")
  • page_2 = Page(site, 'User:Ifeanyi_liam/Outreachy_2')
  • # get and print the text in page one
  • text = page.text
  • print(text)
  • append a string to the text
  • text += "* Hello Mike Peel, This is Ifeanyi liam's second project"
  • #save the string 'text' to page two
  • page_2.text = text
  • page_2.save("edited and saved the project 1 page")

Concerning task3, is my script purpose to go through the wikipedia page and the wikidata item together or just the wikipedia page alone?  – The preceding unsigned comment was added by Ifeanyi liam (talk • contribs) at 11:57, 8 April 2021‎ (UTC).

@Ifeanyi liam: That looks good for the first half of Task 2, but see point 5 of phab:T278863 - "Load a Wikidata item (use 'Q4115189' to start with - it is the sandbox), and print out information from it. You could also try loading some of the other items you looked at in the first task." - you should do this as well to complete that task. For Task 3, I've clarified phab:T278997 - you only need to load the Wikipedia page to complete the task, but you can also try loading the Wikidata item and printing the values alongside the ones from the article if you want. Thanks. Mike Peel (talk) 15:36, 8 April 2021 (UTC)

Outreachy tasks

Hello Mike, I have sent you some emails, but I have not heard back from you. Ammarpad (talk) 17:12, 9 April 2021 (UTC)

I also haven't heard back either. -Amine

@Ammarpad, Amine_hassou: Sorry for the delay, I've been catching up with my backlog today, you should both have received replies now. Thanks. Mike Peel (talk) 14:47, 10 April 2021 (UTC)
@Mike Peel: No problem, thank you for the feedback! Amine

Outreachy applicant: Ifeanyi_liam

Hi @Mike_Peel I also sent you an email containing the links to my second and third task solutions.  – The preceding unsigned comment was added by Ifeanyi liam (talk • contribs) at 13:37, 10 April 2021‎ (UTC).

@Ifeanyi liam: I've replied by email. Thanks. Mike Peel (talk) 14:48, 10 April 2021 (UTC)

Outreachy applicant: Tru2198

Hello @Mike_Peel, I have updated my task-2 and used functions. Do review it if you find it appropriate. Also, I have mailed you my solution to task_3. Thank you for your time.  – The preceding unsigned comment was added by Tru2198 (talk • contribs) at 14:41, 10 April 2021‎ (UTC).

Replied at User talk:Tru2198 and User talk:Tru2198/Outreachy 3. Thanks. Mike Peel (talk) 16:58, 10 April 2021 (UTC)

Sports team seasons

Ideally, items like Q104839818 would include a instance of (P31) = sports season of a sports club (Q1539532) (or more specific) and a sport (P641) value. Maybe the presence of an infobox and some pattern matching on the name of the article could determine it? --- Jura 10:14, 12 April 2021 (UTC)

@Jura1: My general plan to improve this is phab:T276329... Thanks. Mike Peel (talk) 12:04, 13 April 2021 (UTC)
Maybe a task could focus specifically on adding sport (P641) to relevant items. The problem with sports is that it generates a large number of items that are not necessarily useful outside the field and the items have to exist primarily for interwiki purposes (even if they could be expanded as road bicycle racing (Q3609) demonstrates), but tend to saturate searches for other things in the meantime. Once in a while, I sorted through some of these (@MisterSynergy: does much more), but obviously a bot that that runs continuously would be better. Ghouston's category contains (P4224) might help. --- Jura 12:43, 13 April 2021 (UTC)

Outreachy applicant: Ifeanyi_liam

Hi @Mike_Peel, please review the updated task2 and 3 codes I mailed you. Thanks.

@Ifeanyi_liam: I have replied by email. Thanks. Mike Peel (talk) 12:17, 14 April 2021 (UTC)
@Mike_Peel: thanks for reviewing my project, I have also made changes to the solutions, mailed it to you.
@Ifeanyi_liam: I have replied by email again. Thanks. Mike Peel (talk) 13:13, 15 April 2021 (UTC)

Hi @Mike_Peel, I have updated the solution of the third task. This is the link: https://www.wikidata.org/wiki/User:Ifeanyi_liam/Outreachy_3

@Mike_Peel: it's me again, just checking to see if everything is okay, you've not responded to my email. So...

Hi @Mike_Peel, I know you are busy but it would be nice to get your feedback on the solution I sent you.

@Ifeanyi_liam: Sorry for the slow reply, I've emailed you. Thanks. Mike Peel (talk) 12:27, 20 April 2021 (UTC)

Hi Mike Peel

I trust you're doing great.
Please can I have PI BOT for my third party wiki??129.205.122.242 08:13, 20 April 2021 (UTC)

All of Pi bot's code is at [3], you are welcome to reuse it. Thanks. Mike Peel (talk) 11:33, 20 April 2021 (UTC)
Thanks very much @Mike Peel: 129.205.122.242 13:17, 20 April 2021 (UTC)
Please can I get a guide ?? @Mike Peel:129.205.122.242 13:30, 20 April 2021 (UTC)
There are description linked to in the 'Task' column at User:Pi bot, that's about all there is I'm afraid. Thanks. Mike Peel (talk) 13:48, 20 April 2021 (UTC)
@Mike Peel: I mean how I can set it up from creating the bot account to configuring and so. Please 129.205.122.242 14:05, 20 April 2021 (UTC)
Ah, for that, see https://www.mediawiki.org/wiki/Manual:Pywikibot/Installation . Thanks. Mike Peel (talk) 14:09, 20 April 2021 (UTC)
😍 You're awesome!! I'll try and give you a feedback. Thanks man. 129.205.122.242 14:14, 20 April 2021 (UTC)

Connection of articles in enwiki about city and municipality

Hello Mike! In English wikipedia very often exists one article about both city (or town, or village) and a municipality to which it belongs. Even if the municipality contains not only this populated place but some others, sometimes even bigger ones. I see that you always connect english article to the wikidata element about municipality even if it was connected to a wikidata element for populated place for many years. Why do you do this? For me it looks strange, because in english articles 90% of the content is about the city (or town, or village) and not corresponding municipalities. But before reverting all your edits I want to understand why have you done these changes? Delasse (talk) 21:09, 28 April 2021 (UTC)

@Delasse: I try to go for the container items in such cases: if the article is supposed to be about both the city and municipality, then it should be linked to the municipality. Really, the article should be split, so there are separate ones about the city and municipality, but that requires someone with local knowledge that can split out the content appropriately - which isn't me. So all I can do is try to triage things, and encourage others (like you?) to improve them further. This is important for the Commons category links, where the article and category should be in the same item (or items linked with P910/P301), and often the articles that combine city+municipality link to the municipalities. The links from enwp to commons use Wikidata, so it's important to get the connections right. Thanks. Mike Peel (talk) 10:30, 29 April 2021 (UTC)
I agree with you that the best solution is to split the articles, so there would be separate ones about the city and municipality. But if we force to choose whether we link to the city entity or to the municipality entity I still see no reason to link to the municipality entity. Delasse (talk) 10:59, 29 April 2021 (UTC)
@Delasse: Is there a specific example you want to talk about? I still see no reason why the link should be at the city rather than municipality item. Thanks. Mike Peel (talk) 11:00, 29 April 2021 (UTC)
For example Goes (Q10072) and Goes (Q81220). Or Harlingen (Q60475) and Harlingen (Q2536628). But I saw hundreds of cases Delasse (talk) 11:18, 29 April 2021 (UTC)
@Delasse: Taking Goes as an example, en:Goes links to commons:Category:Goes, which is about Goes (Q10072) - so the enwp link should be on that item as well (or in this case, Category:Goes (Q8969036), which is linked through P910/P301). That's the kind of link I'm working through fixing, if you wanted to have both at Goes (Q81220) then that would be OK with me, but Commons seems to mostly be about the municipality. The ideal solution would be to have separate articles and commons categories, though. Thanks. Mike Peel (talk) 11:25, 29 April 2021 (UTC)
OK, I start splitting categories on Commons. BTW en:Forbes article is about magazine, thus I moved it back. --Delasse (talk) 20:57, 29 April 2021 (UTC)
Also Fier (Q190897) and Fier municipality (Q16350079). English article is more about city and less about municipality. Moreover Fier (Q190897) has 64 links and Fier municipality (Q16350079) - only 3. Thus I think that English article should be connected to Fier (Q190897). Delasse (talk) 21:05, 29 April 2021 (UTC)
@Delasse: If you fix the Commons category link at the same time, then I'm happy. If en:Forbes is about the magazine, then it shouldn't link to commons:Category:Forbes about the organisation... Thanks. Mike Peel (talk) 21:07, 29 April 2021 (UTC)
As far as I can see commons:Category:Forbes links to Category:Forbes (Q9885282) which is about organisation. So everything is OK. Delasse (talk) 21:11, 29 April 2021 (UTC)
@Delasse: Check the bottom of the enwp article. Thanks. Mike Peel (talk) 21:16, 29 April 2021 (UTC)
It have nothing to do with linking. I removed the statement, now are you happy? Delasse (talk) 21:22, 29 April 2021 (UTC)
@Delasse: No, the link at en:Forbes#External_links, which checks against Wikidata, and now puts the category at en:Category:Commons category link is defined as the pagename. Everything's connected. Thanks. Mike Peel (talk) 08:59, 30 April 2021 (UTC)

Outreachy app: Ifeanyi_liam

Hi @Mike_Peel, this "https://www.wikidata.org/wiki/User:Ifeanyi_liam/Outreachy_4" is the code for the fourth task (it has not been refactored yet). It is just remaining the add_num method but I thought it would be better you review the rest before I continue.

@Ifeanyi liam: I've replied by email. Thanks. Mike Peel (talk) 09:38, 30 April 2021 (UTC)

Use of Commons Category names as English labels

Hello Mike,

I am working with a lot of French railway data, and I noticed the English names of a lot of railway stations and railway lines are set to "gare de .." and "ligne de .." by the piBot, because it uses the Commons Category name as the label value. These are not English language Commons Category names, so I don't think it is correct to simply copy them over.

Lnkvt (talk) 17:43, 30 April 2021 (UTC)

@Lnkvt: The convention on Commons is that category names should be in English, so I'm not sure why these aren't. Either way, just change the label as needed - Pi bot only imports the category name when the English label is blank. Thanks. Mike Peel (talk) 18:41, 30 April 2021 (UTC)

Isola del Giglio

I really do not understand you. Giglio (Q204152) is about both island (Q23442) and commune of Italy (Q747074). English article is also about both island and comune. Giglio (Q204152) has more than 60 iwiki links. Giglio (Q13409862) has only 5 (cis!) links and is only about island (Q23442). Why to remove it? Delasse (talk) 09:26, 2 May 2021 (UTC)

So the island is the wider topic - again needs splitting for an optimal solution. Thanks. Mike Peel (talk) 09:28, 2 May 2021 (UTC)

Adding inverse P301 for P973

Can you Pibot control if is item Q4167836) (or if have some other P31) before adding P301 [4] ? JAn Dudík (talk) 18:49, 2 May 2021 (UTC)

@JAn Dudík: Not really, since so many items don't have a P31 value, and since this script has been running for a long time now it's only new mistakes that should cause problems, where hopefully you can check where the input came from. As long as you remove both the new property and the source property, Pi bot won't make the same edit again. Thanks. Mike Peel (talk) 09:06, 3 May 2021 (UTC)

Franz Conrad Albert Ahn

Hi Mike, please wait until creating new data sets. This one already exists! We have had this discussion several times. —Lantus 17:28, 4 May 2021 (UTC)

Without a QID, I'm not sure which you're talking about? Thanks. Mike Peel (talk) 20:18, 4 May 2021 (UTC)
As already discussed several times, also with User:M2k~dewiki, it's actually about the basic problem that you touch new German-language articles too early. In this specific case, the two data sets Q106702934 and Q94905105 were affected, which I then had to merge. Thank you for your attention. —Lantus 04:15, 5 May 2021 (UTC)
OK, same as usual. Merging is easy enough... Thanks. Mike Peel (talk) 17:56, 5 May 2021 (UTC)

Interwiki conflicts

Hello Mike.

You recently protected Q30090726 from editing, quoting "ongoing vandalism" and "weird edits".

Because your changes mistake earphones for headphones you are asked to revert them.

Also to avoid futher confusion between the two items, the article on en:Headphones should be moved from earphone (Q30090726) (i.e. earphones) to headphone (Q186819).

--89.206.112.11 20:13, 4 May 2021 (UTC)

The appropriate item seems to be earphone (Q30090726), since the enwp article and the corresponding Commons category are both about pairs of headphones, headphone (Q186819) seems to be either about the speaker in headphones or earphones depending on where you look at it. So how things stand seems correct? Mike Peel (talk) 20:17, 4 May 2021 (UTC)
The Commons categories are of no help here: headphone (Q186819) even has earphones as its category but headphones as gallery, while the latters very own category in turn links to earphone (Q30090726) making the confustion complete... Every language article except enwp and svwp disagree with your understanding. --89.206.112.11 20:38, 4 May 2021 (UTC)
OK, how does that look now? Thanks. Mike Peel (talk) 18:03, 5 May 2021 (UTC)

Sandbox

Are we not supposed to experiment and examine the sandbox the way I did here: [5]?--LittleGun (talk) 17:49, 5 May 2021 (UTC)

@LittleGun: No, that was fine, I was just tidying up. It helps if you leave the sitelinks unless you're testing them. Thanks. Mike Peel (talk) 17:50, 5 May 2021 (UTC)
OK, thank you.--LittleGun (talk) 20:50, 5 May 2021 (UTC)

something screwy

https://www.wikidata.org/w/index.php?title=Q11707743&diff=1416199732&oldid=1416027133 undid it and properly assigned the cat, didn't explore further to work out why or fix greater issues.  — billinghurst sDrewth 01:16, 12 May 2021 (UTC)

@billinghurst: I think this was a caching issue, it looks like it copied the commons category from the previous, vandalised version, which was reverted earlier that day. Thanks for spotting and fixing it! Thanks. Mike Peel (talk) 09:35, 12 May 2021 (UTC)

Pi bot created duplicate

Pi bot created Coleus comosus (Q106816861), which is a duplicate of the already existing Coleus comosus (Q97962269). I've merged them, but this should presumably not happen. Peter coxhead (talk) 07:29, 13 May 2021 (UTC)

@Peter coxhead: The problem seems to be that @Radovan1809: removed the enwp sitelink, since it then met all the bot tests it was assumed to be different and a new item was created. Not sure how to add a check to catch things like that. Thanks. Mike Peel (talk) 07:44, 13 May 2021 (UTC)
Ah, I see. The problem seems to have been the incorrect removal by Radovan1809, which then showed up in enwiki because the taxonbar had the Wikidata link. Hopefully a rare example. Peter coxhead (talk) 07:52, 13 May 2021 (UTC)

Is there any way of searching for items created by Pi bot that are instances of taxon? (I've no experience of advanced searches in Wikidata.) I noticed that Succinanthera (Q106816837), also created by Pi bot, could usefully be completed. Peter coxhead (talk) 07:55, 13 May 2021 (UTC)

@Peter coxhead: Not easily, you could ask at Wikidata:Request a query and see what they suggest. For newly created items, Pi bot doesn't set instance of taxon, though. BTW, I'm hoping that an Outreachy student this summer will be able to improve on this, see phab:T276329. Thanks. Mike Peel (talk) 07:57, 13 May 2021 (UTC)

Bot ideas

  • There are a number of items having some Chinese variant labels but not Chinese labels, such as Q106548764. A bot may copy labels from zh-cn, zh-sg, zh-my to zh-hans; zh-hk, zh-tw, zh-mo to zh-hant; zh-cn, zh-sg, zh-my, zh-hk, zh-tw, zh-mo, zh-hans and zh-hant to zh (the copying is one-way only, do not copy from zh to any variants).
  • A bot to create items for new pages in zhwiki, with a setting similar to such in enwiki.

--GZWDer (talk) 13:19, 15 May 2021 (UTC)

@GZWDer: Could you raise these at Wikidata:Requests for permissions/Bot/Pi bot 20 and Wikidata:Requests for permissions/Bot/Pi bot 19 respectively, and we can see if they can be covered under those tasks? Implementing them is straightforward, if there is approval. Thanks. Mike Peel (talk) 14:10, 15 May 2021 (UTC)

NON NON NON

NON NON NON--Philippe rogez (talk) 07:50, 19 May 2021 (UTC)

Oui, c'est normal. Merci. Mike Peel (talk) 07:51, 19 May 2021 (UTC)

Arrêt des modifications de PI Bot sur PARAIMPLA

Bonjour très cher utilisateur anglais qui préféres les révocations sans dialoguer !!!!!!!!!... ça fait déjà deux fois que vous intervenez sur des modifications faites manuellement sur Paraimpla wikidata est déjà plein de contraintes sinon je peux aussi mettre les liens en fixe dans l'article... !!!!!!!! : est-ce qu'un bot est meilleur qu'un humain qualifié ???? je vous surveille et attends une réponse : il est vrai et certain qu'un article est relié à sa catégorie sur commons.... et vous ne me ferez pas créer un article dans Commons : DONC REDRESSEZ votre PI BOT et vous en remerciant d'avance... A vous lire --Philippe rogez (talk) 07:25, 18 May 2021 (UTC)

I think this is about moving the Commons category link from Parapimpla (Q18103692) to Category:Parapimpla (Q14986406)? If so, this is the correct change per convention here, the Commons category goes on the category item where it exists. See User:Mike Peel/Commons linking for background. Please stop undoing the change. Thanks. Mike Peel (talk) 07:34, 18 May 2021 (UTC)
Bonjour l'admin l'anglais : votre Bot n'est même pas capable de détecter les fautes d'orthographe ! c'est pas parce que vous le faites que c'est justifié ............ un article est relié à sa catégorie sur commons. sur tous les wikis... donc NON NON NON ... --Philippe rogez (talk) 07:53, 19 May 2021 (UTC)
The bot doesn't look for spelling mistakes. Again, it is normal that the Commons category link is on the category item where it exists. Thanks. Mike Peel (talk) 07:55, 19 May 2021 (UTC)
Catégorie de Commons
Vers une catégorie de Wikimedia Commons
Pour lier vers une catégorie de Wikimedia Commons.
Sur les autres projets Wikimedia :
Autres projets, sur Wikimedia Commons
{{Autres projets
| commons = Category:Plants
}}
--Philippe rogez (talk) 08:36, 19 May 2021 (UTC)
Catégorie Commons avec lien local différent sur Wikidata‎ – 36773 P • 74 C
Catégorie Commons avec lien local identique sur Wikidata‎ – 279075 P • 3616 C
Catégorie Commons sans lien sur Wikidata‎ – vide
--Philippe rogez (talk) 08:39, 19 May 2021 (UTC)
It is normal that the Commons category link is on the category item where it exists. c'est votre déclaration qui ne coorespond en rien aux usages courants de la wikipédia française.... --Philippe rogez (talk) 08:46, 19 May 2021 (UTC)
Voir Les catégories Commons--Philippe rogez (talk) 08:59, 19 May 2021 (UTC)
@Philippe rogez: Please update the commonscat template code on frwp from en:Template:Commons category, this properly follows topic's main category (P910) links where needed. Also pinging @joalpe: who may be able to help in French. Thanks. Mike Peel (talk) 09:20, 19 May 2021 (UTC)
Also maybe @Jean-Frédéric: could help? Thanks. Mike Peel (talk) 09:36, 19 May 2021 (UTC)

@Philippe rogez: Bonjour à vous. C'est en effet la pratique courante sur Wikidata de lier une catégorie sur Wikipédia à sa catégorie correspondante sur Wikimedia Commons. La recommandation de modifier le code de commonscat sur frwp me semble adéquate, per Mike Peel. Aussi, j'ai récemment moi-même vérifié que les catégories sur frwp manquent souvent de liaison avec Wikidata, un problème que peut-être Mike pourrait aider à résoudre. Bien à vous. --Joalpe (talk) 10:32, 19 May 2021 (UTC)

@Joalpe, Mike Peel, Jean-Frédéric: Bonjour et merci d'entrer dans la discussion pour ne faire un BREXIT COMMONS. Il reste que dans une wikiépdia comme celle française, un article est relié à une catégorie commons : je ne comprends pas que vous vouliez enlever ce lien par un bot. Que vient faire commonscat dans la discussion que je n'utilises pas : arriverons nous à nous entendre ? wiki est devenu bien compliqué ! faire la synthèse de quatre projets wiki.fr, commons, wikidata, wikispecies pour finalement être obligé de se battre contre un bot anglais, c'est carrément une barrière culturelle que wikimedia est en train d'ériger en principe.... ce n'est pas très étonnant, qu'il y a de plus en plus de contributeurs découragés : il faut au moins un ingénieur informaticien multilangues, jeune et souple d'esprit avant d'entrer dans le jeu ::: à vous lire--Philippe rogez (talk) 12:01, 19 May 2021 (UTC)

Technically, the bot was born in Brazil. Thanks. Mike Peel (talk) 12:05, 19 May 2021 (UTC)
Hello,
On behalf of the French-speaking community, I’d like to apologise for this user’s behaviour and his inappropriate and irrelevant comparaisons with Brexit, he’s not representative of the community.
Kind regards. --Thibaut (talk) 06:59, 20 May 2021 (UTC)

Your both and episode redirects

Hey Mike,

I often get notices from your bot connecting categories I created and was wondering if your bot could connect episode redirects (that fit a specific criteria) with their Wikidata entry, or create one if one doesn't exist. Is that possible? --Gonnym (talk) 13:51, 21 May 2021 (UTC)

@Gonnym: It's possible, but there's a technical issue at the moment. To link a Wikidata item to a redirect, you have to remove #REDIRECT from the article, link it, and then add back #REDIRECT. Hopefully that will be fixed at some point, but I'm not sure that enwp would like that kind of edit being done in bulk... Thanks. Mike Peel (talk) 14:15, 21 May 2021 (UTC)
Yeah, probably not. Strange that that is the only way possible. --Gonnym (talk) 14:23, 21 May 2021 (UTC)
@Gonnym: Originally, redirects weren't allowed to be linked to from Wikidata. Then there was an RfC that said that they could. However, MediaWiki/Wikibase hasn't caught up yet... Thanks. Mike Peel (talk) 14:27, 21 May 2021 (UTC)

The notability of Commonswiki categories on Wikidata

Hi Mike,

Recently a decision was made regarding the proposal to extend notability to ALL Wikimedia Commons categories and I think that we can learn quite a number of lessons from its failures and how we can make a better strategy from it. For one, the earliest comments are almost all about how this will essentially invalidate Wikidata's notability policies as Wikimedia Commons has none as basically everything is notable on Commonswiki, then it received criticisms regarding "composite" categories. Later some of the criticisms shift to that Structured Data on Wikimedia Commons (SDC) would eventually replace categories and that some users just hope that Commonswiki categories will be deprecated as soon as possible. The last opposing vote namely "I just can't reconcile allowing Wikidata entries for every Commons category with my concept of 'notability'. I personally have four Commons categories and I'm the most unremarkable, non-notable person you could meet. We really need to have some notability criteria more stringent than "topic has a Commons category". --RexxS (talk) 00:13, 10 March 2019 (UTC)" sums up most of the sentiment quite well. But to some extend I think that this proposal should be looked at in its historical context, namely, that the Structured Data on Wikimedia Commons (SDC) depicts programme was just rolled out and faced a lot of opposition on Wikimedia Commons itself as well as SDC proponents that hope that it will fully replace Commonswiki categories without ever having to rely on them.

Later the neutral votes make a clear list on what Commonswiki categories should be included, like intersectional categories, meta categories, and a few others. GPSLeo made a list below and at the time I was a bit too overzealous to want to accept anything than TOTAL admission (though being aware that it would lead to Wikidata's "Spampocalyse", I was more convinced that "Wikidata should just for Structured Data on Wikimedia Commons (SDC)"), but as a year has passed circumstances have changed and I think that we might benefit from proposing GPSLeo's ideas. Yann later also raised a list of SDC-compatible categories that should be added. What is interesting is that the oppose and neutral votes ended in 2019 but the support votes continued into 2020, this points to perhaps a shift in the culture as the SDC project is greatly expanding.

Perhaps instead of re-proposing the initial proposal we will try to limit the next RFC based on the feedback from this one? I personally still wish to see "universal notability" for Commonswiki categories, but I think that if you (or someone else interested in it) were to create a new RFC for expanding the Wikidata notability policy for SDC it will work if it incorporates the feedback from GPSLeo and / or the suggestions from Yann. -- Donald Trung/徵國單  (討論 🀄) (方孔錢 💴) 19:02, 21 May 2021 (UTC)

@Donald Trung: I'm not sure. I think the infobox is now useful in all types of Commons categories, including the combination categories. My preference is still to go for universal notability. It's only 4 million more items or so (given that there are ~7 million Commons categories and ~3 million linked to Wikidata already), which only increases Wikidata items by ~4%. I don't know the best way to proceed at the moment, though, so I'm working on adding more links + other things at the moment. Thanks. Mike Peel (talk) 09:13, 26 May 2021 (UTC)

glucose

You do not have even a bit of tact to first ask about the changes? It's not easy to maintain coherent classification structure if someone come and revert changes just like that. See Talk:Q37525 and also User:Wostr/Carbohydrates. Wostr (talk) 17:37, 28 May 2021 (UTC)

@Wostr: Did you ask before making them? You broke the links between the articles and the Commons categories, and provided no explaination for why 'D-glucose' = glucose and 'glucose' doesn't. Mike Peel (talk) 17:39, 28 May 2021 (UTC)
My explanation is in the discussion page. Commons category is in the right item, some sitelinks may not be, but the reason why is also on the discussion page. Wostr (talk) 17:40, 28 May 2021 (UTC) Also, moving sitelinks from one item to another does not require to revert all the changes... It's just one click to move them from one item to the other. Wostr (talk) 17:41, 28 May 2021 (UTC)
@Wostr: Your explanation doesn't make sense. It seems to be wrong for enwp. Mike Peel (talk) 17:42, 28 May 2021 (UTC)
Wrong for en.wp... Actually, it's perfectly right for en.wp, but may be wrong for some other projects:
There are projects that are incorrectly in D-glucose (Q75079224), for the reason given on he dicussion page, but for en.wp this change was actually correct. Wostr (talk) 17:51, 28 May 2021 (UTC) PS And just like I wrote on the discussion page, I'm neutral to placing sitelinks in one item or the other, but (1) without reverting all the changes to statements in the same time, (2) placing all items in one item will always generate errors, because articles in Wikipedia are not equivalent to Wikidata items (and in this case will never be), some Wikipedias describe both isomers, some describe only D and some describe mostly D Wostr (talk) 17:54, 28 May 2021 (UTC)
@Wostr: So the commons category link in enwp is wrong, then? Let's see how long [6] lasts. Mike Peel (talk) 17:55, 28 May 2021 (UTC)
I really don't care if a template in en.wp was correct or not, as I'm not an editor of en.wp. I wrote once that I really don't care if the sitelinks are in glucose (Q37525) or in D-glucose (Q75079224), I explained to Infovarius that the best solution for Wikidata would be to place some sitelinks in glucose (Q37525) and some in D-glucose (Q75079224), but that would be probably not acceptable by Wikipedia editors and that I think the most appropriate item for placing all the sitelinks is D-glucose (Q75079224) (as most articles that I can read is describing only or mostly D isomer). What I won't accept is the way you revert all the changes to statements without giving any reason, just because some sitelinks were in wrong item. I found it rude and unconstructive, especially since moving links between elements does not even require to revert other changes. Wostr (talk) 18:08, 28 May 2021 (UTC)
You should care, otherwise you're causing problems for people using the data. Going through moving sitelinks back one by one is not my idea of a fun evening. Mike Peel (talk) 18:10, 28 May 2021 (UTC)
[7] one by one... in one edit? Wostr (talk) 18:18, 28 May 2021 (UTC)
@Wostr: How? Mike Peel (talk) 18:19, 28 May 2021 (UTC)
It's a good question. I just have a button next to 'Edit' button. I have to check why it is there, as from your question it seems it's not there by default... Wostr (talk) 18:22, 28 May 2021 (UTC)
It think it is Move: Adds a move tool to the sitelink edit toolbar to move a sitelink to another item in Gadgets. Wostr (talk) 18:24, 28 May 2021 (UTC)
Hmm, I seem to have that button as well, have never tried it though. I've always clicked 'edit' and then you get individual links. Thanks. Mike Peel (talk) 18:27, 28 May 2021 (UTC)
Right now sitelinks are in glucose (Q37525), but in chemistry-related items it's not possible to link Wikipedia articles to equivalent Wikidata items. In such situation like with glucose, this concept is described usually in one Wikipedia article, sometimes in two articles; the same concept can have at max about 10–13 Commons categories (but usually it has max. 5–6); in Wikidata the same concept is described by at least 20 items. Right now en.wp can easily use Commons category stored in glucose (Q37525), but it will be more complicated to use data from D-glucose (Q75079224) and its subclasses for infobox in en:Glucose. Just to make it clear: there is no ideal solution for linking articles about chemical compounds to Wikidata items, there will be always some inaccuracies and data re-users like Wikipedia will have problems with reusing the data. Wostr (talk) 18:50, 28 May 2021 (UTC)
This implies that Wikidata is modelling things wrong, or the Wikipedia articles need splitting. Mike Peel (talk) 19:15, 28 May 2021 (UTC)

Srishti Outreachy Task 6

Hi Mike, If possible kindly review task 6 https://www.wikidata.org/wiki/User:Srishti0gupta/outreachy_6. Thanks, Srishti

Just a note for archiving. Mike Peel (talk) 18:58, 4 June 2021 (UTC)

once againg

Dear Mike, will you please have a look to Q58824287 (Donald F. Squires, was Q107011767)? Perhaps we should start a project page to collect your doublettes and document your pleas (like "merging is easy enough")? ;-)) —Lantus 16:09, 28 May 2021 (UTC)

@Lantus: Let's see what happens with phab:T276329. Thanks. Mike Peel (talk) 16:25, 28 May 2021 (UTC)
So you should stop your activity until the result is found: Maria Catharina Haaß (Q88372678), Your new creation of the datatset: Q107014415. —Lantus 04:37, 29 May 2021 (UTC)
I stopped it before for dewp, but was asked to resume it. Mike Peel (talk) 08:33, 29 May 2021 (UTC)
I don't really see how Q107014415 could have been avoided. I'm probably the first one to complain when there are many, but I don't think they can be avoided entirely. Mike's bot generally does a good job in item creation. --- Jura 09:57, 29 May 2021 (UTC)
Hello @Lantus: the number of duplicates created by a user can be found for example at
  • https://wikidata.wikiscan.org/user/Lantus
    • "Pages created on all namespaces" gives the number of wikidata objects created so far (e.g. 195)
    • "Redirects created" gives the absolut number as well as the percentage of newly create wikidata objects, which have been redirected, i.e. have been merged (19 duplicates have been created or 10 % of all created objects have been duplicates)

The actual duplicates created by a user can be found for example at

Examples: d:Q104551483, d:Q89626492, d:Q87817711, d:Q87751145, d:Q79100546, d:Q66309616, d:Q65944604, d:Q64788399, d:Q61744350, d:Q58806348, d:Q56440774, d:Q47010806, d:Q26270195, d:Q26213397, d:Q20829643, d:Q20088613, d:Q19931475, d:Q19847236, d:Q19837336

In comparison,

show a percentage of 3 % for "Redirects created". --M2k~dewiki (talk) 15:26, 29 May 2021 (UTC)

  • Sometimes these stats are tricky to interpret. A nice thing about Mike's bot is that it attempts to add statements on items it creates and it's quite possible that, if it does create a duplicate, the item may actually hold more information than the item we already have. As most users merge to the lower QID, it's not impossible that the item later gets merged into one that has no statements and only a label in a rare script. Compare this to bot that created these before: it lead to thousands of items with no statements at all. --- Jura 08:04, 31 May 2021 (UTC)
I am absolutely not against Mike's activity. I'm just saying that he should wait a few days until the German community has had a chance to do it themselves. —Lantus 04:56, 1 June 2021 (UTC)
My question why you, Mike, do not wait a few days with your activity, you have unfortunately still not answered and also not yet followed. New example: Q107044330Q75374624. —Lantus 06:22, 3 June 2021 (UTC)
@Lantus: The script looks through recent changes to find the articles. Recent changes doesn't store a few days worth of new articles. Mike Peel (talk) 08:04, 3 June 2021 (UTC)
I can't imagine that you couldn't change the script accordingly … —Lantus 21:35, 3 June 2021 (UTC)
@Lantus: I have versions that can look through Special:UnconnectedPages or tracking categories, but I have no idea what those are like on dewp. Thanks. Mike Peel (talk) 08:02, 4 June 2021 (UTC)

--M2k~dewiki (talk) 08:30, 4 June 2021 (UTC)

Hello Mike, I would appreciate, if a bot could check de:Spezial:Nicht_verbundene_Seiten every hour and try to connect articles to existing objects, but maybe without creating new objects - in this way automatically created duplicates would be avoided on the one hand and the backlog for manual actions will be kept short(er) on the other hand. In addition, all articles moved from the user namespace to the article namespace will be handled by the bot, which are currently ignored by the bot; as well as articles, where categories are added at a later point in time. --M2k~dewiki (talk) 09:05, 4 June 2021 (UTC)
@M2k~dewiki, Lantus: OK, config changed. Pi bot will no longer look through dewiki hourly, it will look through de:Spezial:Nicht_verbundene_Seiten and de:Kategorie:Wikipedia:Artikel ohne Wikidata-Datenobjekt once per day. It still looks through duplicity as well. Thanks. Mike Peel (talk) 18:20, 4 June 2021 (UTC)
Thanks, Mike. That sounds great. Hopefully it will work and do not evoke other problems. I'll still have an eye on it. ;-)) —Lantus 18:56, 4 June 2021 (UTC)

Call for participation in the interview study with Wikidata editors

Dear Mike Peel,

I hope you are doing good,

I am Kholoud, a researcher at King’s College London, and I work on a project as part of my PhD research that develops a personalized recommendation system to suggest Wikidata items for the editors based on their interests and preferences. I am collaborating on this project with Elena Simperl and Miaojing Shi.

I would love to talk with you to know about your current ways to choose the items you work on in Wikidata and understand the factors that might influence such a decision. Your cooperation will give us valuable insights into building a recommender system that can help improve your editing experience.

Participation is completely voluntary. You have the option to withdraw at any time. Your data will be processed under the terms of UK data protection law (including the UK General Data Protection Regulation (UK GDPR) and the Data Protection Act 2018). The information and data that you provide will remain confidential; it will only be stored on the password-protected computer of the researchers. We will use the results anonymized (?) to provide insights into the practices of the editors in item selection processes for editing and publish the results of the study to a research venue. If you decide to take part, we will ask you to sign a consent form, and you will be given a copy of this consent form to keep.

If you’re interested in participating and have 15-20 minutes to chat (I promise to keep the time!), please either contact me at kholoudsaa@gmail.com or use this form https://docs.google.com/forms/d/e/1FAIpQLSdmmFHaiB20nK14wrQJgfrA18PtmdagyeRib3xGtvzkdn3Lgw/viewform?usp=sf_link with your choice of the times that work for you.

I’ll follow up with you to figure out what method is the best way for us to connect.

Please contact me using the email mentioned above if you have any questions or require more information about this project.

Thank you for considering taking part in this research.

Regards

Kholoud

I replied by email. Thanks. Mike Peel (talk) 18:57, 4 June 2021 (UTC)

Coordinates

Hi, while importing coordinates from enwiki please consider to apply coordinate location (P625) constraint violations filter to avoid edits like this or this. Thanks! --Jklamo (talk) 16:02, 16 June 2021 (UTC)

@Jklamo: If you think the coordinates are misplaced, please remove the coordinates from enwp as well and the bot won't import them any more. Thanks. Mike Peel (talk) 07:06, 17 June 2021 (UTC)
Can I specify a filter so that no coordinates are imported into the list type item? (1, 2, 3 etc.) Palotabarát (talk) 17:35, 20 June 2021 (UTC)
@Palotabarát: Good spot, done. Thanks. Mike Peel (talk) 17:37, 20 June 2021 (UTC)
Thank you very much ! Palotabarát (talk) 17:40, 20 June 2021 (UTC)

I spotted some of them in my watch list. Should we revert it? ([8][9][10][11][12][13]) --KajenCAT (talk) 14:46, 22 June 2021 (UTC)

@KajenCAT: If you do, please also fix (remove) them on enwp as well... Thanks. Mike Peel (talk) 14:47, 22 June 2021 (UTC)

Not accurate name of category. More then one Izdebki.VVerka5 (talk) 07:04, 30 June 2021 (UTC)

@VVerka5: Then you should either improve the Commons category, or remove the Commons category (P373) value as well as the sitelink. Thanks. Mike Peel (talk) 07:37, 30 June 2021 (UTC)
Commons category is renamed and i wrote in c:User talk:CommonsDelinker/commands/Category moves to move files. I can't edit link in wikidata (not active "publish", despite many tries).VVerka5 (talk) 07:45, 30 June 2021 (UTC)
@VVerka5: It looks like @MSGJ: has sorted it out. :-) I'm not sure why you couldn't see an active 'publish' - possibly it's because you have to click 'edit' then 'remove', rather than blanking the field and then trying to click 'publish', but that would have only worked for the P373 value, the sitelink you should have been able to update... Thanks. Mike Peel (talk) 07:58, 30 June 2021 (UTC)
Yes that was me. Hope I got them the right way round now! — Martin (MSGJ · talk) 08:14, 30 June 2021 (UTC)

Michael Peel (Q26207216)

Hi. Why don't you add your year of birth to Michael Peel (Q26207216)? No reference from reliable sources? Well, "20th Century" does not have a source, either. If you do not want to edit your own item, tell my the date and I will add it there. Best. --E4024 (talk) 16:03, 8 July 2021 (UTC)

I added my year of birth, I'm not sure there's any reference available for it though, sorry! Thanks. Mike Peel (talk) 18:29, 8 July 2021 (UTC)

Wikidata:Notability and Commons categories

1.4, "Category items with a sitelink only to Wikimedia Commons are not permitted, unless either a) there is a corresponding main item which has a sitelink to a Commons gallery or b) the item is used in a Commons-related statement, such as category for pictures taken with camera (P2033)." So no, Roman Abrate (Q59484321) is not notable and you shouldn't have undeleted it. As an admin your supposed to know and follow the policies. Multichill (talk) 18:13, 8 July 2021 (UTC)

@Multichill: Meh, notability wording really needs to be changed. But in this case they are also independently notable anyway - please restore the item again. Mike Peel (talk) 18:22, 8 July 2021 (UTC)
Also, it's not a 'Category item', so that line of the notability guidelines is irrelevant in this case. Mike Peel (talk) 18:25, 8 July 2021 (UTC)
You didn't even give me the time to undelete it. Using your admin rights and your bot to circumvent an established policy which you don't agree with doesn't reflect well on you. Multichill (talk) 10:37, 9 July 2021 (UTC)
@Multichill: So let me get this straight: you deleted an item without participating in any discussion, after I !voted keep on the RfD page, deleted it again after I restored it and added references to it, quoted the wrong part of notability at me (it's not a instance of (P31)==Wikimedia category (Q4167836)), ignored the correct parts of notability (see #2, also there's nothing there that excludes non-'Category' items with Commons categories), then complained that I didn't give you time to undelete it after you went offline during the discussion yesterday, and you think this reflects badly on *me*? Mike Peel (talk) 12:57, 9 July 2021 (UTC)

Pi bot

Special thanks to Pi bot for this edit which resulted in the Commons category of this person displaying wikidata. I have managed to do the same with another case which previously did not have wikidata visible at the time, this edit here. Thanks for making this bot possible. Iggy the Swan (talk) 12:36, 16 July 2021 (UTC)

@Iggy the Swan: Thanks for adding links to Commons! Thanks. Mike Peel (talk) 15:41, 16 July 2021 (UTC)

Gratitude & A Query

Thank you so much, Mike Peel! for connecting many of my created articles from simple English wikipedia with others through wikidata. In fact, you lessen many of my works indeed! Great! Well, (1) could you please teach me how to merge an item with another in wikidata? Sometimes, I, unaware of the existence of the wikidata item of a particular article, created a new one. So, in such cases, I need to merge one another. Another query, (2) could you please teach me how to add an image in the wikidata item? Haoreima (talk) 12:36, 25 July 2021 (UTC)

@Haoreima: On (1), the easiest way is with the merge gadget (Preferences -> Gadgets -> 'Merge'). That should then appear under the 'More' link at the top-right (next to View history), as 'Merge with' - click on that, and you can paste the QID of the item to merge with, and then click 'Merge' on the top-right to do it. For more details, see Help:Merge. On (2), from the Wikidata item, click 'add statement', then enter 'image' (or 'P18'), then enter the filename of the image without the initial "File:" part. Then you should be able to click on 'Publish'. Thanks. Mike Peel (talk) 12:41, 25 July 2021 (UTC)

How to make a link between the Commons category and the NL Wikipedia?

Dear Mike Peel, Yesterday I made a link between the (new) Commons category c:Category:Gerrit Th. Rotman and the NL Wikipedia page nl:Gerrit Rotman, I guess via Q23000808 (I made it via the possibility to make links to other projects at the left bottom at Commons). But now this link has disappeared (perhaps because of your change?) and I get an error message if I try to make it again. How can I make such a link now? JopkeB (talk) 16:01, 26 July 2021 (UTC)

Use {Wikidata Infobox} instead of {People by name|Rotman|Gerard|M||1893|1944} ... Stalking. :) --E4024 (talk) 16:32, 26 July 2021 (UTC)
@E4024: Thanks! It works. Problem has been solved. JopkeB (talk) 02:52, 27 July 2021 (UTC)

Page history

Hi. Can you please redirect Q6005126 to oklava (Q17306507) instead of rolling pin (Q207763)? I understand due to a mistake that probably I made (?) in the past, now the searches for oklava (rolling stick) take you to merdane (rolling pin). BTW after so much work in WD I could not find out how to make an RD myself... Thanks and cheers. --E4024 (talk) 16:03, 26 July 2021 (UTC)

@E4024: The issue is that both tr:Oklava and tr:Merdane exist, so you can't roll back the redirect and then redirect to the new place since you have a sitelink conflict. Nothing links to the redirect anyway, so I would suggest just forgetting about it, unless it's causing a problem somewhere? You can just edit the labels/descriptions directly in the two items as. Thanks. Mike Peel (talk) 14:38, 27 July 2021 (UTC)

Commons categories

I noticed Pi bot created Q107750152, Category:Stella (ship, 2012). I wonder how the connection with information on other projects. There is hardly any need for a Commons gallery for this ferry, and neither is there any need for a category for the ferry on Wikipedias. Thus information on the ferry will be split among two Wikidata items. I know this was debated when Commons was connected to Wikidata, but I don't know what was decided. Anyhow: will a Stella article on a Wikipedia get a link to the Commons category on creation? By what mechanism? And will the article show on the Commons category page? If this is explained somewhere, please give me a pointer. When I have been creating Wikidata items, I have linked the Commons category directly to the main item (with the Commons category and On other web sites properties/whatever), without creating any separate category items (if I have created Wikidata items for categories, I have done that for the Wikipedia categories). –LPfi (talk) 08:55, 2 August 2021 (UTC)

@LPfi: The main item here is Stella (Q18662080), which has a Commons category link to the IMO category (the main category on Commons). Then there is category for ship name (P7782) that links to the 'ship name' categories like Category:Stella (ship, 2012) (Q107750152). The Wikipedia article should be sitelinked from the first item, not the second (and normally has to be manually added - there's nothing automatic here). This is separate from the issue of galleries vs. categories. Both Wikidata items are used to display the infoboxes on Commons in both categories. Thanks. Mike Peel (talk) 09:00, 2 August 2021 (UTC)
OK. Thank you for the explanation. –LPfi (talk) 16:05, 2 August 2021 (UTC)

Royal Navy ships

Hi Mike, Are you active in assigning Q numbers for ships. Is it possible to include for Date of launch and Date of Commission as items?

Better still can a bot plunder the Wikipedia infoboxes to do it?

There is also a ship laid down date, and if your interested probably a few more date variations...]]

See en:HMS Hood as an example. Broichmore (talk) 11:52, 3 August 2021 (UTC)

@Broichmore: Nirali Sahoo will have a look into this. Thanks. Mike Peel (talk) 12:36, 3 August 2021 (UTC)

Once again

Hello! Bro! Once again coming to you! I have added some images to some 2-3 wikidata items recently! I don't know if there's any problem or not, please check them when you are free! And kindly tell me if I have done anything wrong! But one thing I saw is that after just adding the image name in the P18 statement, some unusual symbol appear just below the image newly sprang out just after I hit the publish button! Something like {a question mark "?" circulated by a circle - symbol}. Haoreima (talk) 17:25, 4 August 2021 (UTC)

@Haoreima: Try clicking on the symbol, an explanation will appear. :-) If it was at list of creatures in Meitei folklore (Q85779440), it seems that list items don't usually have image (P18) values attached to them. Thanks. Mike Peel (talk) 17:30, 4 August 2021 (UTC)
Also, you normally only set one image (P18) value per item. But other image properties also exist, e.g., montage image (P2716) and nighttime view (P3451). Thanks. Mike Peel (talk) 17:32, 4 August 2021 (UTC)
For this, what shall I do? I mean, (1) will adding only P18 be not valid? (2) Will this be a vandalism from my edits? Haoreima (talk) 17:34, 4 August 2021 (UTC)
In general, try just adding one image - the first thing I tend to do when using image (P18) in infoboxes is to only show the first one anyway. ;-) Not sure about adding it to lists, that could be argued either way. But regardless, it does not count as vandalism! Thanks. Mike Peel (talk) 17:36, 4 August 2021 (UTC)

Quora topic ID

BRO! I saw there's a parameter for Quora topic ID. Who can enter it? I mean is it to be done by someone special? Is it to be entered through the link or any special code or number? Haoreima (talk) 13:40, 6 August 2021 (UTC)

@Haoreima: Anyone can add values. I think there was a bot that was adding them, but I don't know if it's still around. Thanks. Mike Peel (talk) 13:42, 6 August 2021 (UTC)
If I can do that, then how shall I do that? Please tell me how to add it? In what form? Haoreima (talk) 13:52, 6 August 2021 (UTC)
@Haoreima: See the examples at Quora topic ID (P3417) and elsewhere - you add the value the same way you add any other property values. I think @Pigsonthewing: proposed this property, perhaps he would be a good person to ask for extra info. Thanks. Mike Peel (talk) 13:59, 6 August 2021 (UTC)

Michel Petrovitch

Hello @Mike Peel:, can you help me to merge the two different Wikidata articles, Michel Pétrovitch (Q107974755) in french and Mihailo Petrović Alas (Q1932828) in english, please? Paul-Eric Langevin.

@Paul-Eric Langevin: What's the 2nd QID please? Thanks. Mike Peel (talk) 16:43, 6 August 2021 (UTC)
@Mike Peel: Q1932828.
@Paul-Eric Langevin: Done, now all at Mihailo Petrović (Q1932828). Thanks. Mike Peel (talk) 16:47, 6 August 2021 (UTC)
Thanks a lot @Mike Peel:. What is the procedure to do this? Paul-Eric Langevin.
@Paul-Eric Langevin: There's a gadget, see Help:Merge. Or enable Preferences -> Gadgets -> 'Merge'. That should then appear under the 'More' link at the top-right (next to View history), as 'Merge with' - click on that, and you can paste the QID of the item to merge with, and then click 'Merge' on the top-right to do it. Thanks. Mike Peel (talk) 16:51, 6 August 2021 (UTC)
@Mike Peel: A lot of thanks! Paul-Eric Langevin.

Deaths in Pi bot

Hi, Pi bot added for the second time in error the death of Wiranto to Wikidata. This should not happen. I cannot identify where Pi bot this takes from. --Florentyna (talk) 05:58, 12 August 2021 (UTC)

@Florentyna: It was from enwiki. I guess vandalism there? So I reverted it. Thanks. Mike Peel (talk) 07:02, 12 August 2021 (UTC)

Globe in coordinates

Hi Mike. Regarding edits like this one, how do you set the Globe parameter? I'm assuming it's not something that can be done in the public-facing interface? Thanks. Huntster (t @ c) 23:55, 15 August 2021 (UTC)

@Huntster: I use this pywikibot script. It's not possible to change it in the user interface, but the API (and hence pywikibot) supports it. See phab:T56097. Thanks. Mike Peel (talk) 06:55, 16 August 2021 (UTC)
Ah, that's way beyond me, but I appreciate the answer. Huntster (t @ c) 07:05, 16 August 2021 (UTC)

Wikidata infobox

Hello bro! Could you please help me in creating a wikidata infobox for commons:Category:Uchek Langmeidong? It also has its corresponding wikidata item as "Uchek Langmeidong". Besides, simple:Uchek Langmeidong exist. And please teach me how to create it too! Haoreima (talk) 09:36, 17 August 2021 (UTC)

@Haoreima: this was the edit you needed to make. Pi bot should auto-add the infobox in the next few days, or add
{{Wikidata Infobox}}
to the Commons category now if you would like. Thanks. Mike Peel (talk) 10:18, 17 August 2021 (UTC)
But what if the corresponding article doesn't exist in English wikipedia, but in other languages' wikipedia, then what about the wikidata infobox in the Commons category page? Where will it link up the page if I click the "wikipedia", a blue button in the infobox? Haoreima (talk) 10:47, 17 August 2021 (UTC)
In that case, you would have to create a Wikidata item with just a sitelink to Commons, not Wikipedia (unless it already existed). The link to Wikipedia only appears if there is an article in your language. Thanks. Mike Peel (talk) 10:51, 17 August 2021 (UTC)

Hello

How are you? I have never been rude in my life, ever. FYI. Best regards. --E4024 (talk) 21:01, 18 August 2021 (UTC)

@E4024: The word has multiple meanings. But in the case of [15], a courtesy ping would have been appreciated. Thanks. Mike Peel (talk) 21:17, 18 August 2021 (UTC)
And sorry, it was the end of a long day, and I should have chosen my words better. Thanks. Mike Peel (talk) 07:18, 19 August 2021 (UTC)

Question

Dear Mike Peel. I am writing this to ask a question. You reverted my edits in Q20946162 and Q12484997. I want to display a link to wikimedia commons category in wikipedian articles for Q12484997. What can I do unless add a link to Q12484997? Thank you for reading. Sadopaul (talk) 09:37, 23 August 2021 (UTC)

@Sadopaul: If you're using templates like en:Template:Commons category, then it will automatically follow the topic's main category (P910) link to display the correct link (if it doesn't do this on your wiki, please update the code). If you mean in the left-hand sidebar, then please support phab:T232927 to get that fixed (or add a Commons category (P373) value to the item if you want a short-term solution). Thanks. Mike Peel (talk) 09:39, 23 August 2021 (UTC)
Thank you for guiding me! I added the value to the page. Have a good weekend :) Sadopaul (talk) 09:54, 23 August 2021 (UTC)