Jump to content

User talk:Mike Peel/Archive 59

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Archive 55Archive 57Archive 58Archive 59Archive 60Archive 61Archive 65

ikidata weekly summary #443

ArbCom 2020 Elections voter message

Hello! Voting in the 2020 Arbitration Committee elections is now open until 23:59 (UTC) on Monday, 7 December 2020. All eligible users are allowed to vote. Users with alternate accounts may only vote once.

The Arbitration Committee is the panel of editors responsible for conducting the Wikipedia arbitration process. It has the authority to impose binding solutions to disputes between editors, primarily for serious conduct disputes the community has been unable to resolve. This includes the authority to impose site bans, topic bans, editing restrictions, and other measures needed to maintain our editing environment. The arbitration policy describes the Committee's roles and responsibilities in greater detail.

If you wish to participate in the 2020 election, please review the candidates and submit your choices on the voting page. If you no longer wish to receive these messages, you may add {{NoACEMM}} to your user talk page. MediaWiki message delivery (talk) 01:22, 24 November 2020 (UTC)

Short description code

Hi Mike, I pinged you a couple of times on my talk page a while back, but suspect you may not have seen them. Was wonding if you're still free to work on the final couple of features of the code for the SD bot. MichaelMaggs (talk) 09:47, 18 November 2020 (UTC)

@MichaelMaggs: Sorry, I saw them, but I haven't found the time/motivation to work more on this code since. I'll try to get back to it soon. In the meantime I've been migrating Pi bot to a new Raspberry Pi (thanks WMUK), and it is now auto-copying descriptions here to Wikidata twice a week where there's not one on Wikidata and it doesn't match an exclusion list. Thanks. Mike Peel (talk) 21:45, 20 November 2020 (UTC)
Good news. Allow me to help with your motivation! MichaelMaggs (talk) 21:54, 20 November 2020 (UTC)
Doing some tests with the first few pages in Category:English composers, and quite a few dates come out as "(d. )" Seems to happen when the birth date is not definite, for example (ca. 1599 – 1657) as with John Hilton the younger. Others include William Babell, Albertus Bryne, Thomas Chilcot and Robert Dowland. It would be nice if this could export as "(c.1599–1657)". MichaelMaggs (talk) 10:22, 24 November 2020 (UTC)
To make it official that I'm allowed to re-use your code, could you specify the licence (or CC0) in the comments for the two scripts? Many thanks MichaelMaggs (talk) 10:19, 24 November 2020 (UTC)
@MichaelMaggs: OK, a code upgrade is now on bitbucket. I've specified GPL as the license, although I'm happy to change to another one if you want - I wasn't sure how suitable CC-0 is for code. I've revised the birth/death date code. It can now handle articles that are included in categories like Category:1590s births, so for John Hilton the younger it returns "(1590s–1657)". I've dropped "b." and "d." in favour of "–" before or after the year as appropriate, since @Jura1: was objecting to them on Wikidata (also the dashes for some reason, I've removed those from the doublecheck list). I've also split the shortdesc generator into a new function, and added some code to the run script to test individual articles. I've also given up on the idea of simultaneously adding these to Wikidata: pi bot's script that copies short descriptions from articles to items seems to work OK, so we can rely on that and simplify things here. Thanks. Mike Peel (talk) 18:38, 27 November 2020 (UTC)
Thank you, I really appreciate that. A mistake on my part in splitting the conversation between two talk pages perhaps meant the three enhancements I'm really hoping for are rather non-obviously hidden over here. To belatedly keep things together, I'll copy them again below:
  1. A way of skipping over pages that don't comply with some trial criteria (#2 here), and of writing pages that fail to a separate staging file for manual review - the aim being to push down the error rate by skipping over pages where the first line of the lead doesn't correspond to the selected category. Footballers are nearly always only footballers, and fall into a well-defined cat, but others (laywers, artists, politicians) may be in multiple categories corresponding to multiple occupations, and I wouldn't want to assume that the chosen cat is the main one without some ability to cross-check. I realise this may require edits to shortdesc_functions each time, but think it would be worth it. Or maybe shortdesc_run could pass across some user-defined regex.
  2. Following on from that, an ability to check that a specified infobox is the first (or the only) one on the page (eg checked via Module:Is infobox in lead)
  3. If possible some more information written to the staging files, to help check for errors/oddities: (1) the article name, (2) the proposed SD, (3) any corresponding Wikidata description [not for use - just for sanity-checking], and (4) the first 80 characters (or the first sentence) of the lead.
Let me know if I'm asking too much. MichaelMaggs (talk) 09:53, 28 November 2020 (UTC)
@MichaelMaggs: OK, there's a new version on bitbucket. For (1) I've added 'required_words' and 'excluded_words' arrays, add words to these arrays and the first sentence of the article will be checked against them accordingly. Regexes would also be possible, but I'm not sure how best to incorporate that in the code, you could always add them to shortdesc_generator manually when needed (copy-paste the 'required' or 'excluded' examples and add the regex check in place of the 'in' check). The code prints out the reasons for skipping over articles, so you could just copy that into a text document and search for cases that were flagged, I'm not sure it needs to write out a separate file. For (2), I've added 'only_one_infobox', set that to 'True' to skip cases which have two templates with 'infobox' in the name (it only works if 'require_infobox' is also True). With (3), I've expanded the output as requested. Note that it's a bit tricky to extract the first sentence of an article, so if you find cases where that's not working please point them out to me and I can iterate on the code.
I'm sure there are more things we will need to do to make the code perfect, but at this point it would be good to know if the wider community is happy with this approach or not, rather than continuing to work on something that is then rejected. If the community does like it, then of course I'm happy to continue making further changes. Thanks. Mike Peel (talk) 16:04, 28 November 2020 (UTC)
Thanks once more. I'll run some trials over the next few days, and try to put up a specific proposal to seek consensus by the end of next week. MichaelMaggs (talk) 18:21, 28 November 2020 (UTC)

The Signpost: 29 November 2020

Wikidata weekly summary #444

Administrators' newsletter – December 2020

News and updates for administrators from the past month (November 2020).

Administrator changes

removed AndrwscAnetodeGoldenRingJzGLinguistAtLargeNehrams2020

Interface administrator changes

added Izno

Guideline and policy news

Technical news

Arbitration


Observatory

Hi - I'm at work now and thus can't do it myself, but the entire 118-acre observatory is the NRHP entry, not just the telescope. Would you move the NRHP infobox back? ɱ (talk) 20:53, 1 December 2020 (UTC)

@: Done. Thanks. Mike Peel (talk) 20:56, 1 December 2020 (UTC)

Shouldn't the Research and discoveries chapter remain in the article about the Observatory? HLFan (talk) 21:26, 1 December 2020 (UTC)

@HLFan: It could go either way, they were research done by the telescope at the observatory... Thanks. Mike Peel (talk) 21:30, 1 December 2020 (UTC)

Wikidata weekly summary #445

ShortDescBot

Hi, I've been experimenting over the last few days with the short description code you kindly provided, and am just about ready now to seek community approval to run what I've called ShortDescBot - essentially my expanded version of your code with a few extra tweaks to make it more flexible. For simplicity I'll leave the dating function aside for the moment and bring it back in for a later task, when it's needed. I'm not very familiar with proper version control, but I'll shortly put my code up somewhere under the same licence as yours in case anyone wants to use it. Thanks again - I definitely couldn't have got this working without your input. MichaelMaggs (talk) 18:45, 7 December 2020 (UTC)

@MichaelMaggs: OK, thanks for the update, and good luck! Thanks. Mike Peel (talk) 18:53, 7 December 2020 (UTC)
Now up, here. MichaelMaggs (talk) 19:11, 7 December 2020 (UTC)
Hello, Mike Peel. You have new messages at Talk:7 Iris.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

This Month in GLAM: November 2020





Headlines
  • AfLIA Wikipedia in African Libraries report: Launch of Wikipedia in African Libraries Project Pilot Cohort
  • Brazil report: Accessibility through audio descriptions, GLAM tutorials, WikidataCon 2021 and more updates on Brazilian GLAMs
  • Canada report: Taking a tour of CAPACOA workshops and some recent example sets from commons
  • Germany report: German symphony orchestra releases audio samples under free license
  • India report: Re-licensing of content on water & rivers in India
  • Indonesia report: #WikiSejarah WPWP Campaign
  • Netherlands report: Wikipedia and Education, Funding granted for two projects in 2021, KB completes collection highlights project
  • Serbia report: GLAM in Serbia makes important steps in the digitization of cultural heritage
  • Spain report: Edit-a-thons on women scientists and painters
  • Sweden report: Music, UNESCO and Wikidata
  • UK report: Hundreds of Khalili images
  • USA report: Black Lunch Table & Museum Computer Network
  • Calendar: December's GLAM events
Read this edition in fullSingle-page

To assist with preparing the newsletter, please visit the newsroom. Past editions may be viewed here.

Nomination of Holliston Church for deletion

A discussion is taking place as to whether the article Holliston Church is suitable for inclusion in Wikipedia according to Wikipedia's policies and guidelines or whether it should be deleted.

The article will be discussed at Wikipedia:Articles for deletion/Holliston Church until a consensus is reached, and anyone, including you, is welcome to contribute to the discussion. The nomination will explain the policies and guidelines which are of concern. The discussion focuses on high-quality evidence and our policies and guidelines.

Users may edit the article during the discussion, including to improve the article to address concerns raised in the discussion. However, do not remove the article-for-deletion notice from the top of the article. MB 21:19, 10 December 2020 (UTC)

@MB: I've replied at AfD. Thanks. Mike Peel (talk) 18:57, 11 December 2020 (UTC)

Commons - why not fix the problem on Wikidata?

@Canley and 99of9: Mike, I don't understand why two (or more) Wikipedia articles) cannot have the same Commons category. There is no policy against this on Wikipedia or on Commons. Your issues seem stem from some bad modelling on Wikidata. Can I suggest that the modelling on Wikidata be fixed to allow a commons category to be associated with multiple Wikipedia articles (i.e. reality). Having spent some decades of my working life researching information modelling and meta-modelling [1], I can say with some certainty that if the model can't reflect reality, it's a bad model. Pinging some Aussie Wikidata enthusiasts who may be able to assist you with updating the modelling. Kerry (talk) 07:00, 6 December 2020 (UTC)

@Kerry Raymond: The problem isn't on the Wikidata side. Taking the example of Buchan, Queensland, if I want to see more photos of that place, how does the link to commons:Category:Palm Cove, Queensland help? How do I then tell what photos are of Buchan, and what aren't? The best solution there is to create a Commons category for Buchan and to link to that instead (which I can't do as I can't tell which photos are of Buchan apart from the two in the article!), but there's no point just having the Commons category link to the wider category, hence why I removed it. Thanks. Mike Peel (talk) 09:51, 6 December 2020 (UTC)
@Kerry Raymond: Since you didn't reply, I've created commons:Category:Buchan, Queensland. Are there other photos that can be added to that category? Thanks. Mike Peel (talk) 19:01, 11 December 2020 (UTC)

Wikidata weekly summary #446

ShortDescBot

Should I add code to the bot to assert that it's logged in before editing, or is that functionality already built in to Pywikibot? I can't see anything in the Pywikibot documentation. Also, is there a quick call I can make to return the logged-in user (so I can make sure the bot doesn't accidentally pick up the wrong details from user-config.py). I thought it might be wikipedia.user() with wikipedia as you defined it but that always seems to return None, even when I am logged in. I posted these initially at Wikipedia:Bots/Noticeboard#Testing_a_new_bot but maybe that's not the best place. MichaelMaggs (talk) 17:19, 18 December 2020 (UTC)

@MichaelMaggs: I don't tend to double-check the login, I think it always works or the bot stops and asks you to log in. It's best to use mw:Manual:Pywikibot/BotPasswords (rather than the main bot login), though, that auto-logs in as needed. You can find the username at pywikibot.config.usernames['wikipedia']['en']. Thanks. Mike Peel (talk) 18:16, 18 December 2020 (UTC)
Great, thank you. MichaelMaggs (talk) 20:13, 18 December 2020 (UTC)

Best wishes for the holidays

Season's Greetings
Wishing you and yours a Happy Holiday Season, and all best wishes for the New Year! Adoration of the Magi (Jan Mostaert) is my Wiki-Christmas card to all for this year. Johnbod (talk) 12:11, 19 December 2020 (UTC)

Wikidata weekly summary #447

The Signpost: 28 December 2020

Wikidata weekly summary #448

A Better New Year!

Happy New Year 2021!
Happy New Year 2021 to one of the nicest people around these parts. I wish you and yours a better 2021 ...
Maybe the spirit of Don Quijote is foreseeing a magical and happy 2021...
--The Eloquent Peasant (talk) 17:56, 31 December 2020 (UTC)

Commons cats

This and similar edits you have made to some article fail to address the actual categories that are needed. The cat you added now excludes the stamp of that country entirely. What is needed is both the commons categories "Stamps of ..." AND "Postal history of ..." but part of the problem is that the link to the category postal history, while correctly titled, is incorrect in the wikidata box and is called "postage stamps and postal history of ..." but it does not link to the stamps of that country at all. This needs to be fixed somehow and then both categories can be added to such article which in general are called "Postage stamps and postal history of ..." except for one I know of which I wrote Postage stamps of Ireland. With this edit I added back the commons stamps category link but in preview it shows an error due to the naming issue I mention above. I quote: "Warning: Commons category does not match the Commons sitelink on Wikidata – please check (this message is shown only in preview)". Do you know how to fix this problem? ww2censor (talk) 00:05, 1 January 2021 (UTC)

Just to say I've seen this and will come back to it later today. There's a systematic problem here somehow - the ones I changed to the 'postal history of ...' commons categories looked OK to me, but apparently not, and there were a bunch of other articles that seemed to link to commons categories with different naming conventions, so I want to double-check this first. Thanks. Mike Peel (talk) 09:34, 1 January 2021 (UTC)
@Ww2censor: OK, I looked at two of the articles, Postage stamps and postal history of the United States and Postage stamps and postal history of Switzerland, and to be honest I'm now more puzzled than I was this morning. The US one seems to start off history-focused, but then becomes stamp-focused as you go down the article. The Switzerland one seems to focus much more on postal history throughout, but occasionally digressing into discussing specific stamps. So as they stand, I can understand why you say that both commons categories are wanted. However, I can't understand why we have articles that mix these two topics - why not have one article that focuses on the history of the stamps, and one that focuses more on the postal history/how the postal system operated over time? I presume there's history behind this (if you'll forgive the pun), do you know if there are WikiProject guidelines for this type of article or anything, please? Thanks. Mike Peel (talk) 19:23, 1 January 2021 (UTC)
Thanks for your comments. The format "Postage stamps and postal history of ..." was first instigated in 2003 and has been continued ever since. I don't see it being changed any time soon by the project. While the topics may seem separate but the fact is that there is significant crossover even if individual country articles may not specifically integrate the topics in the current prose. In the normal course of events the postal history starts well before stamps were issued but the history continues to affect what happened after stamps were issued. I see no problem with the issue except as mentioned, where an article is so focused on either aspect, such as Postage stamps of Ireland as I already mentioned but integrating the postal history would just overwhelm that particular article. There are no other FA article of this nature. Other articles do not have that problem and in most instances require much more prose on both topics to expand them. ww2censor (talk) 23:03, 1 January 2021 (UTC)

Derby

Mike please stop doing this!!!. Have you LOOKED at the categories, and the article? I'll admit the divisions aren't ideal, but most images of Royal_Crown_Derby are in the wider Commons cat. I've been taking all your other changes on trust, but perhaps I shouldn't! Happy New Year anyway!! Johnbod (talk) 23:01, 31 December 2020 (UTC)

@Johnbod: Thanks for the message, sorry I missed the first revert of this. I did check the articles and categories, and it looked like this was correct:
Can you explain a bit more about what is wrong here? I think the issue is with the contents of the Commons categories, given that the titles (and hence presumably the scope intention) seem to match. commons:Category:Royal Crown Derby Porcelain Company is currently a subcategory of commons:Category:Derby porcelain, would it be better if they were swapped over, or does a more fundamental reshuffle need to take place on Commons? I'm doing the best I can, but double-checking is always good, always happy to discuss the trickier cases. Thanks. Mike Peel (talk) 09:32, 1 January 2021 (UTC)
The real problem is that the articles Royal Crown Derby and Derby Porcelain should probably be merged - they both go back to about 1750. As far as Commons is concerned, most of the images of "Royal Crown Derby" (depending on when you date that from) are in commons:Category:Derby porcelain, as they should be really. Commons should be left, & the higher cat is the best for WP to link to. Splitting the history is fairly pointless - perhaps Derby Porcelain should be the merged name, though of course the other is the current one. Johnbod (talk) 17:06, 1 January 2021 (UTC)
@Johnbod: OK, that's definitely much more in your expertise to fix than mine. It looks like this is a long-standing issue, there are quite a few similar pairs of articles in other languages. Maybe there should still be two, but with a much cleaner separation between company and product? Any plans to follow this up with article edits, please? Thanks. Mike Peel (talk) 19:09, 1 January 2021 (UTC)
Really the trouble is that both articles are full of rather tedious ownership/corporate stuff, with very little on the actual pottery produced during the various stages. At some point I might do this (I have a book on it), but failing that I think it is best just left as it (now) is. The other languages are just precis translations I expect. Johnbod (talk) 23:20, 1 January 2021 (UTC)
@Johnbod: OK, I don't like leaving this as it is, so I've made the changes I suggested on Commons and I've changed the Commons category back, let's leave it like that unless larger changes are afoot. Thanks. Mike Peel (talk) 17:37, 3 January 2021 (UTC)