User talk:Legoktm/July 2021

Latest comment: 2 years ago by Nthep in topic Rescaled script

Please rebuild the archive index ...

... At Talk:Condoleezza Rice/Archive index. I've rearranged the archives because the archive counter was initially set at the wrong number when automated archiving was set up at Rice's talk page. Thanks! Graham87 05:47, 1 July 2021 (UTC)

Administrators' newsletter – July 2021

News and updates for administrators from the past month (June 2021).

  Guideline and policy news

  • Consensus has been reached to delete all books in the book namespace. There was rough consensus that the deleted books should still be available on request at WP:REFUND even after the namespace is removed.
  • An RfC is open to discuss the next steps following a trial which automatically applied pending changes to TFAs.

  Technical news

  • IP addresses of unregistered users are to be hidden from everyone. There is a rough draft of how IP addresses may be shown to users who need to see them. This currently details allowing administrators, checkusers, stewards and those with a new usergroup to view the full IP address of unregistered users. Editors with at least 500 edits and an account over a year old will be able to see all but the end of the IP address in the proposal. The ability to see the IP addresses hidden behind the mask would be dependent on agreeing to not share the parts of the IP address they can see with those who do not have access to the same information. Accessing part of or the full IP address of a masked editor would also be logged. Comments on the draft are being welcomed at the talk page.

  Arbitration


Sent by MediaWiki message delivery (talk) 11:27, 3 July 2021 (UTC)

17:31, 5 July 2021 (UTC)

Village Pump query

Hello, Legoktm,

Since you responded to my Village Pump query I thought I'd move the discussion here to be more specific. One of my major tasks the past year has been going through stale drafts. The guideline states that any draft that hasn't had a human edit in six months is eligible for a CSD G13 tagging & deletion. Also when this happens, the page creator receives a notification reminding them about their draft.

But what I see happening are drafts that haven't had any activity for months & months and then a bot swoops in and makes a maintenance change to the page. There are probably a dozen different bots I've seen that make edits to drafts, like Citation bot or FrescoBot. But just today, I was looking at expiring drafts from January 10th that had had no activity since then and several had bot activity over the past week. There are one or two editors/admins who go through the contributions of several bots and check their activity. But when I tried this and sorted contributions by Draft name-space and checked "Only show edits that are latest revisions" (so the last edit was by a bot, not a human editor), the server times out when I try to look at the oldest activity in this sorting. I came to the Village Pump hoping there was a solution to having the query time out since other editors seem to have success with their searches.

I'm not sure that this is a feasible task for Quarry since it is a task that would probably have to be done frequently and probably for each bot. Should I drop the idea? Thank you for your responses at the Village Pump. Liz Read! Talk! 04:27, 11 July 2021 (UTC)

@Liz: Hmm, yeah, looking up contributions of bots like that will be slow since it needs to go through every edit for that bot until it gets enough to satisfy how many you asked for. I tried working the other way, going through the list of oldest drafts and seeing which were last touched by a bot, here's the first 500 results. The first timestamp is the when the draft was created and the second is when it was edited by a bot. Is that useful enough? (some caveats: for speed it might mis-report if a draft was deleted and then recreated) If so, I could turn it into a weekly database report. If not, it's probably possible to get something more accurate (a list of drafts that haven't been touched by humans in 6 months) if I spent more than 30 minutes on it. Legoktm (talk) 08:16, 11 July 2021 (UTC)

15:30, 19 July 2021 (UTC)

notation

Hi, thanks so much for your work with the score functionality. I've managed to learn enough of the language to get 95% there with this. Could I please ask you a couple of questions:

  • How do I get the instrument name to show in full so that it reads "Corno in Fa" instead of just "in Fa" ?
  • How do I navigate transposition so that the music is written in Bb major, but the generated MIDI file sounds a perfect 5th lower than written, i.e. in Eb? This is how horn music is written.

Thanks! Dr. Vogel (talk) 12:35, 23 July 2021 (UTC)

The Signpost: 25 July 2021

21:10, 26 July 2021 (UTC)

Rescaled script

Hi, any idea why User:Legoktm/rescaled.js won't work on File:Hungama 2 poster.jpg? Until the past week or so the script has always worked perfectly but just recently there are some files where it just refuses to work and I have to delete the revisions manually. The only thing I can recall there being in common on these files is that there is more than one revision needing to be deleted. Nthep (talk) 14:38, 8 July 2021 (UTC)

@Nthep: there was a bug if the image already had a deleted file revision, it should be fixed now. Glad to know the script is still useful so many years later :) Legoktm (talk) 16:18, 8 July 2021 (UTC)
Working a treat now, thanks. Nthep (talk) 16:32, 9 July 2021 (UTC)
Hi again, got another issue - the script won't delete the {{Orphaned non-free revisions}} if the preceding line is {{Valid SVG}}. See the log for File:Bank of Estonia new logo.svg for example. The old revision was deleted but the template remains. I only see this happening where the valid SVG template is present. I'm guessing it's something in the regex at line 44 but there is so much there I get a headache trying to interpret it. Nthep (talk) 15:31, 29 July 2021 (UTC)
@Nthep: yeah, that regex was unnecessarily overcomplicated. Should be fixed now, assuming the other cases are like the file you linked. Legoktm (talk) 17:46, 29 July 2021 (UTC)
Just tested it on several, works just fine. Thanks again. Nthep (talk) 17:59, 29 July 2021 (UTC)