User talk:Mike Peel

From Wikimedia Commons, the free media repository
(Redirected from User talk:Pi bot)
Jump to navigation Jump to search
Welcome to my talk page. Please post new messages at the bottom of my talk page, use headlines when starting new talk topics and sign and date your entries by inserting ~~~~ at the end. I will generally reply on this page to keep conversations together; please watch this page for a short time after leaving a comment. Uncivil comments will be reverted without response. Thank you.

Start a new talk topic.

If you would prefer to contact me off-wiki, then my contact details and a contact form are available on my personal website.

Infoboxes

[edit]

Hello Mike,

in the last few weeks I have connected Commonscats to (new or existing) wikidata objects, while so far no Infobox has been added by Pi bot in most cases.

For example, in subcategories of

there should be Commonscats which are connected to a Wikidata object, but do not yet have an infobox. Maybe Pi bot could be started manually recursivly for these categories to add missing infoboxes.

Also see User talk:Mike Peel/Archive 10 - Infoboxes

Thanks a lot! M2k~dewiki (talk) 23:51, 1 September 2024 (UTC)[reply]

I guess these would be some of them: https://petscan.wmcloud.org/?psid=29194852 (subcats of Category:Streets in Munich by name with Wikidata item, but no infobox).
 ∞∞ Enhancing999 (talk) 00:00, 2 September 2024 (UTC)[reply]
PetScan knows Q117155434:

 ∞∞ Enhancing999 (talk) 00:30, 2 September 2024 (UTC)[reply]
It will be a few days before I can set Pi bot running through these, as I'm currently traveling. Will be interesting to see if Enhancing999 can spot why they aren't showing up through the database query. Thanks. Mike Peel (talk) 05:15, 2 September 2024 (UTC)[reply]
It seems to be a bug in the database. phab: might get you a more detailed explanation.
After doing an initial run of Commons:Report UncategorizedCategories with infobox, I purged all items on the list and this cleared maybe 200 of 4500. At this proportion 5% of 9,500,000 unconnected categories might have an item, or at least the ones that haven't been edited since being connected.
Maybe there is way to query the Wikidata database with a different SQL (I will try to, but it might take a couple of days).
 ∞∞ Enhancing999 (talk) 09:34, 2 September 2024 (UTC)[reply]
This query could work for some of them: it finds categories that use a single Wikidata item, but don't have any templates.
When first run, it found 4647 categories in ca. 15 minutes. It included 120 streets in Munich.
If a bot purges them, tomorrow the categories would likely get infoboxes.
 ∞∞ Enhancing999 (talk) 13:53, 3 September 2024 (UTC)[reply]
I've scheduled pi bot to try running that query tomorrow, and then running through the output to try to add the infobox to them. Let's see if that works, otherwise I should be able to try other things later this week. Thanks. Mike Peel (talk) 18:12, 3 September 2024 (UTC)[reply]
I'm not sure if it's an adequate replacement for the candidates list, I'd just run "touch.py" on these categories.
 ∞∞ Enhancing999 (talk) 20:04, 3 September 2024 (UTC)[reply]
Pi bot is currently running the old and the new candidates list queries, but hasn't been adding infoboxes from the old candidate list at all, the new one has covered all of those cases. So I've swapped the old query out with this test query, while leaving the new candidate list query in place to cover the usual deployment. If it works, then the bot will go through the test query categories to see if it can add infoboxes to them directly, avoiding the need to 'touch' them. Those edits will be marked by "(legacy)" at the start of the edit summary due to the way I had it set up before. It's an approach that lets me point pi bot directly towards these new categories, before I'm back on the same local network as it for more detailed changes. Thanks. Mike Peel (talk) 20:09, 3 September 2024 (UTC)[reply]
It seems to have worked: the query is finding quite a few categories that Pi bot is now adding the infobox to. See the "(legacy)" edits at Special:Contributions/Pi_bot. Thanks. Mike Peel (talk) 07:27, 4 September 2024 (UTC)[reply]
Nice. Also, none ended up in the infoboxes not having items category: [1].
Maybe the query can be improved, to get more than these 4647 categories. The PetScan-query for Munich above still shows seven categories, including some that only have template {{De}}.
 ∞∞ Enhancing999 (talk) 12:57, 4 September 2024 (UTC)[reply]
Curiously, Pi bot ran through a bunch more today, again marked with "(legacy)" in the edit summaries. So it seems worthwhile keeping this query running, at least for a while. Thanks. Mike Peel (talk) 19:37, 5 September 2024 (UTC)[reply]
These seem to be relatively recent items: https://www.wikidata.org/w/index.php?title=Q130000881&action=history .
I'm sure there is more. I need to take some time to come up with a better query.
 ∞∞ Enhancing999 (talk) 20:07, 5 September 2024 (UTC)[reply]
quarry:query/86096 finds another 800, but takes 1.5 hours to run. Most are fairly recently added links at Wikidata (sample). Also, quarry lost the results, so I have to re-run it.
Anyways, do you want to include them in the bot? Shall I just do purge edit on the result? Would you want to file a phab ticket so someone investigates why this happens?
A few variations on the query might give more.
 ∞∞ Enhancing999 (talk) 18:15, 6 September 2024 (UTC)[reply]
I think you should report these issues on phabricator. Thanks. Mike Peel (talk) 20:27, 6 September 2024 (UTC)[reply]
"(legacy)" still seems to work. The table it's based on might get updated before the other. The query we are using (quarry:query/86040) could probably be shortened to quarry:history/86196/928151/900660 (uses of more than 1 item seem to be mostly renames or mergers, another bug).
Both show categories where the item is no longer associated with it.[2] The bot seems to skip those.
My attempts to improve further tend to end in OperationalErrors. Eventually, I might get it to work.
BTW, would you link the item in the bot's edit summary (sample: "current Wikidata ID is Q5")?
 ∞∞ Enhancing999 (talk) 13:35, 10 September 2024 (UTC)[reply]
Changes made to link to the QIDs and update the query, let's see how those go. I've also changed from "(legacy)" to "(query 2)" since it looks like this one will be around for a while. Thanks. Mike Peel (talk) 19:01, 10 September 2024 (UTC)[reply]
Moin Mike, Moin Enhancing999, only as question as question. I looked at Commons:Report UncategorizedCategories with infobox and see, that many there is not connected to other Wiki or Wikidata, is that right in this way? When you connect more, its easier to fill the maintain-categories from the Infobox and we can fix more!? Regards --Crazy1880 (talk) 17:40, 7 September 2024 (UTC)[reply]
None of those are connected to a Wikidata.
They are a selection of Category:Uses of Wikidata Infobox with no item where the category isn't a subcategory of any other. In other words, it's a category from Special:UncategorizedCategories where somebody added an empty infobox.
If you connected it to Wikidata, in the next update it will disappear.
 ∞∞ Enhancing999 (talk) 20:09, 7 September 2024 (UTC)[reply]
BTW, the categories on this report shouldn't be affected by the problem M2k~dewiki reported. I purge the categories when I update the lists.
 ∞∞ Enhancing999 (talk) 20:28, 7 September 2024 (UTC)[reply]
@M2k~dewiki: Returning to your original question ... I've set pi bot looking through subcats of those categories, but excluding '[Men/Women] of Germany by name' as those categories are huge. Let's see if that finds more categories to add the infobox to, or if the changes above have already fixed them. Thanks. Mike Peel (talk) 19:17, 10 September 2024 (UTC)[reply]

"Wikidata Infobox|wikidata=Q" instead of "Wikidata Infobox|qid=Q"

[edit]

Just noticed this is more frequent than I thought: [3]
 ∞∞ Enhancing999 (talk) 21:47, 3 September 2024 (UTC)[reply]

this should sort it out, I've been running it with my account for testing, but will get Pi bot to run through the rest in the next few days. Thanks. Mike Peel (talk) 09:18, 4 September 2024 (UTC)[reply]
@Enhancing999: All cleaned up. Pi bot should keep the number of recurrances down. There were a bunch of cases with QIDs to redirects, the wrong item, or just with typos, but that sort of thing will always happen when people try to manually define QIDs... Thanks. Mike Peel (talk) 19:33, 5 September 2024 (UTC)[reply]
Good. There are a few more at [4]
 ∞∞ Enhancing999 (talk) 21:55, 5 September 2024 (UTC)[reply]
Oof, a few more being a thousand... Will point them out to Pi bot. Thanks. Mike Peel (talk) 07:39, 6 September 2024 (UTC)[reply]
Some had a trying ")" that borked it: like John_Philip_Sousa_III. Happens when pasting from Wikidata. Maybe add a \)? to the regex.
 ∞∞ Enhancing999 (talk) 15:09, 6 September 2024 (UTC)[reply]
Hopefully fixed with this change. I've reverted edits to categories linking to Template:Wikidata Infobox), the bot should fix them properly soon. Thanks. Mike Peel (talk) 18:38, 10 September 2024 (UTC)[reply]

Quality Image Promotion

[edit]
Your image has been reviewed and promoted

Congratulations! Paróquia São Sebastião, Cachoeira Paulista 2017 05.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Remontees 20:42, 1 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Santos, Brazil 2018 350.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --GoldenArtists 12:34, 1 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Santos, Brazil 2018 354.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --AuHaidhausen 15:45, 1 September 2024 (UTC)
[reply]

--QICbot (talk) 05:42, 4 September 2024 (UTC)[reply]

Question

[edit]

Hello Mike Peel, how are you?

I've recently done a batch upload request for a Brazilian database of electoral portraits and while talking with DaxServer, he said that the biographical data from divulgacandcontas.tse.jus.br (example) is relevant for Wikidata. Would the Pi bot be able to help with this? As an example: collecting data like "name, profession, date/place of birth..." for Wikidata; linking the images from Category:Files from Portal de Dados Abertos do TSE with WD; and categorizing the images with the candidate and the election name (while creating or linking to the necessary WD pages). The database also has links for CSV and TXT files of the results, if they are useful for Wikidata, but I'm not sure how to work with them.

In the Commons:Batch uploading/Files from Portal de Dados Abertos do TSE I have explained more in deep, and I've also raised this question at Wikidata project talk. Thanks, Erick Soares3 (talk) 22:25, 4 September 2024 (UTC)[reply]

Hey! @Mike Peel told me about this thread, and @Erick Soares3 feel free to contact me if you would like support to work on this project. Wiki Movimento Brasil members and staff are able to collaborate. Let us know how we should proceed. -- Joalpe (talk) 16:22, 5 September 2024 (UTC)[reply]
Hi @Joalpe I will start a thread on your discussion page! Thanks, Erick Soares3 (talk) 16:51, 5 September 2024 (UTC)[reply]
Obrigado todos. :) I think this is much more in WMB's scope than something Pi bot can help with. Thanks. Mike Peel (talk) 19:34, 5 September 2024 (UTC)[reply]

Quality Image Promotion

[edit]
Your image has been reviewed and promoted

Congratulations! At Katowice 2024 263.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --ArildV 11:08, 2 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 264.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --ArildV 11:08, 2 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 266.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Poco a poco 16:13, 2 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 267.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Poco a poco 16:13, 2 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 268.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Poco a poco 16:13, 2 September 2024 (UTC)
[reply]

--QICbot (talk) 05:39, 5 September 2024 (UTC)[reply]

Quality Image Promotion

[edit]
Your image has been reviewed and promoted

Congratulations! Avalon, Morro Bay 2015 2.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Poco a poco 08:18, 4 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! Avalon, Morro Bay 2015 3.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Nino Verde 14:15, 4 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! Morro Bay 2015 009.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Poco a poco 08:18, 4 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! Morro Bay 2015 011.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Nice --FBilula 14:34, 4 September 2024 (UTC)
[reply]

--QICbot (talk) 05:42, 7 September 2024 (UTC)[reply]

Quality Image Promotion

[edit]
Your image has been reviewed and promoted

Congratulations! At Katowice 2024 269.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --ArildV 10:06, 5 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 270.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --ArildV 10:06, 5 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 271.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Nino Verde 10:12, 5 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 272.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Nino Verde 10:12, 5 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Katowice 2024 274.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Nino Verde 10:12, 5 September 2024 (UTC)
[reply]

--QICbot (talk) 05:34, 8 September 2024 (UTC)[reply]

Quality Image Promotion

[edit]
Your image has been reviewed and promoted

Congratulations! At Chicago 2024 013.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --JoachimKohler-HB 01:15, 7 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Rio de Janeiro 2019 129.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --MB-one 19:37, 6 September 2024 (UTC)
[reply]

--QICbot (talk) 05:37, 9 September 2024 (UTC)[reply]

Quality Image Promotion

[edit]
Your image has been reviewed and promoted

Congratulations! At Tenerife 2019 488.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --AuHaidhausen 14:22, 7 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Tenerife 2019 490.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --I.Mahesh 09:28, 7 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Royal Botanic Gardens, Kew 2024 578.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Georgfotoart 10:48, 7 September 2024 (UTC)
[reply]

Your image has been reviewed and promoted

Congratulations! At Royal Botanic Gardens, Kew 2024 585.jpg, which was produced by you, was reviewed and has now been promoted to Quality Image status.

If you would like to nominate another image, please do so at Quality images candidates.

We also invite you to take part in the categorization of recently promoted quality images.
Comments
 Support Good quality. --Georgfotoart 10:48, 7 September 2024 (UTC)
[reply]

--QICbot (talk) 05:36, 10 September 2024 (UTC)[reply]