Jump to content

User talk:Shubinator: Difference between revisions

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Content deleted Content added
Tag: MassMessage delivery
Line 172: Line 172:
-->{{center|1=<small>Sent by [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 15:52, 7 May 2021 (UTC)</small>}}
-->{{center|1=<small>Sent by [[User:MediaWiki message delivery|MediaWiki message delivery]] ([[User talk:MediaWiki message delivery|talk]]) 15:52, 7 May 2021 (UTC)</small>}}
<!-- Message sent by User:Dreamy Jazz@enwiki using the list at https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrators%27_newsletter/Subscribe&oldid=1021583648 -->
<!-- Message sent by User:Dreamy Jazz@enwiki using the list at https://en.wikipedia.org/w/index.php?title=Wikipedia:Administrators%27_newsletter/Subscribe&oldid=1021583648 -->

== DYKUpdateBot now in Python! technical details ==

What we've all been waiting for has finally arrived! No, not Santa - DYKUpdateBot is now running on Pywikibot + Python! Details:
* Which edits are in Python?
** all DYKUpdateBot edits after 20:00 7 May 2021 (UTC)
* What's staying the same?
** For the most part, the functionality is very similar to Java DYKUpdateBot, and I'd guess most people won't notice a difference
** The bot's still hosted at [[WP:TOOLFORGE|Toolforge]]
* What changed?
**For lead hooks, the {{tl|DYK talk}} tag will include the set's image
**Error output at /Errors is a bit prettier, and separates errors that block the bot (eg unmatched curly braces) from warnings (eg can't find hook for article)
**DYKUpdateBot will no longer distribute DYK credits on user talk pages with a <code>nobots</code> template, unless DYKUpdateBot is excluded
**Bugfixes for highly uncommon edge cases
***Python DYKUpdateBot will place {{tl|DYK talk}} tag above DYK nomination discussions, fixing bug demonstrated by [[Special:Diff/873606519|example]]
***If the DYK credit template had a nompage parameter, Java DYKUpdateBot would drop the credit; Python DYKUpdateBot will ignore the nompage param and continue processing the credit - [[Special:Diff/966589919|example]]
***Once in a blue moon Java DYKUpdateBot would have trouble finding the hook for an article even though the hook was in the set, this should be even rarer now - [[Special:Diff/938472957|example]]
***Twice Java DYKUpdateBot has been tripped up by a <code>thumbtime</code> parameter on the DYK video, Python DYKUpdateBot should handle it correctly - [[Special:Diff/924127474|example 1]], [[Special:Diff/910157538|example 2]]
***If the credit template contains the old name of a user who's since been renamed, the bot will now credit the renamed user - rare
***Bot won't hang trying to edit protected / salted pages - rare
**Bot will no longer post to /Errors if it can't find the image / file in the outgoing set
**Dropped support for {{tl|tall image}}, {{tl|DYK Listen}}, and {{tl|DYK Watch}} as it's been years since they were last used at DYK
**Code modernization
***~100 automated tests to ensure the bot behaves correctly
***Running on the more maintained Pywikibot framework
***Interacts with Wikipedia exclusively through [[mw:API:Main_page|API.php]] instead of the human interface index.php
***Better security as it leverages OAuth for authentication

As before, I'd expect one or two bugs to be lingering around as we put the new code through its paces. When we're confident it's stable I'll update the code at /Code. Please let me know if you see a bug! [[User:Shubinator|Shubinator]] ([[User talk:Shubinator#top|talk]]) 23:17, 7 May 2021 (UTC)

Revision as of 23:17, 7 May 2021

Did you know?
Introduction and rules
IntroductionWP:DYK
General discussionWT:DYK
GuidelinesWP:DYKCRIT
Reviewer instructionsWP:DYKRI
Nominations
Nominate an articleWP:DYKCNN
Awaiting approvalWP:DYKN
ApprovedWP:DYKNA
April 1 hooksWP:DYKAPRIL
Holding areaWP:SOHA
Preparation
Preps and queuesTM:DYK/Q
Prepper instructionsWP:DYKPBI
Admin instructionsWP:DYKAI
Main Page errorsWP:ERRORS
History
StatisticsWP:DYKSTATS
Archived setsWP:DYKA
Just for fun
Monthly wrapsWP:DYKW
AwardsWP:DYKAWARDS
UserboxesWP:DYKUBX
Hall of FameWP:DYK/HoF
List of users ...
... by nominationsWP:DYKNC
... by promotionsWP:DYKPC
Administrative
Scripts and botsWP:DYKSB
On the Main Page
Main Page errorsWP:ERRORS
To ping the DYK admins{{DYK admins}}

DYKHousekeepingBot down?

Shubinator, it seems early to be worrying, but December 16 was deleted by WugBot from the Approved page at 05:01, 21 January 2021 (UTC), and November 12 was deleted by me from the Nominations page at 05:14. DYKHousekeepingBot ran at 04:57 as per normal, and should have run again half an hour later (around 05:27) to update based on those deletions, plus an addition at 05:03. But there wasn't an update then, nor half an hour after that.

Can you please take a look and see whether the bot needs to be restarted, and as long as you're at it, check DYKUpdateBot as well just to be safe? Many thanks. BlueMoonset (talk) 06:13, 21 January 2021 (UTC)[reply]

It started up again at 07:58. I'm not sure why it didn't run again until then—perhaps there was server maintenance or the like—but I thought I'd let you know it was all set. BlueMoonset (talk) 16:24, 21 January 2021 (UTC)[reply]
Thanks for letting me know! The nom page's HTML was confusing the bot, not entirely sure what the bug was though. When it broke, last good run 04:57 UTC, first errored run 05:28 UTC. Then when it recovered, last errored run 07:28 UTC, first good run 07:58 UTC. I thought it might be the empty date section at the bottom, but the bot is handling that correctly today, so probably something more nuanced. Shubinator (talk) 01:38, 22 January 2021 (UTC)[reply]

February untranscluded nominations list

Shubinator, it's been a while since the last one, so I was hoping you could make a new list for me. Thank you very much. BlueMoonset (talk) 20:39, 10 February 2021 (UTC)[reply]

Sure :) Untranscluded noms:
Shubinator (talk) 01:13, 11 February 2021 (UTC)[reply]

AdminBot issue

Hello Shubinator, a discussion regarding your bot is currently open at Wikipedia:Bureaucrats'_noticeboard#Compromised_sysop_account_-_DYKUpdateBot. You are likely being contacted by ArbCom as well. Follow up with Arbcom first. — xaosflux Talk 20:09, 25 February 2021 (UTC)[reply]

Thanks for letting me know! Replied there, I haven't been contacted by Arbcom besides the bot below. Shubinator (talk) 06:37, 26 February 2021 (UTC)[reply]
Following up from WP:BN everything should be in order now, you may need to restart your bot jobs. Best regards, — xaosflux Talk 23:33, 26 February 2021 (UTC)[reply]
Thank you! Both back in action :) Shubinator (talk) 23:45, 26 February 2021 (UTC)[reply]

Level 1 desysop of DYKUpdateBot

Under the Level 1 desysopping procedures, the administrator permissions of DYKUpdateBot (talk · contribs · blocks · protections · deletions · page moves · rights · RfA) have been temporarily removed as a suspected compromised account.

Supporting: Barkeep49, Bradv, CaptainEek, Maxim, Worm That Turned

For the Arbitration Committee, Barkeep49 (talk) 20:24, 25 February 2021 (UTC)[reply]

Discuss this at: Wikipedia talk:Arbitration Committee/Noticeboard § Level 1 desysop of DYKUpdateBot

Restoration of privileges to DYKUpdateBot

DYKUpdateBot (talk · contribs) is granted administrative permissions on the English Wikipedia following the securing of its passwords by the operator.

For the Arbitration Committee, – bradv🍁 23:18, 26 February 2021 (UTC)[reply]

Discuss this at: Wikipedia talk:Arbitration Committee/Noticeboard § Restoration of privileges to DYKUpdateBot

March untranscluded list

Shubinator, with spring about to spring, I was hoping for a new list of untranscluded DYK nominations. I'm hoping it's low again this month, but one never knows. Thank you very much. BlueMoonset (talk) 19:20, 19 March 2021 (UTC)[reply]

Sure, here you go. Happy spring! Untranscluded noms:
Shubinator (talk) 00:27, 20 March 2021 (UTC)[reply]
Happy spring to you, too! All six have been addressed. BlueMoonset (talk) 03:01, 24 March 2021 (UTC)[reply]

Request / bug carryforward March 2021

Just archived 5 years of talk page conversations, this place looks a lot slimmer now! Noting a few feature requests / bugs that are still on my radar.

DYKcheck
  • Enable DYKcheck on nomination subpages, requested by User:Mandarax.
  • DYKcheck overcounting character count for lang-ug template, original bug report here.
  • Another instance of DYKcheck overcounting character count, original bug report here.
DYKUpdateBot
  • DYKUpdateBot crashes on a missing HooksEnd, bug reports here and here.
  • Add image to article talk credits, requested by User:Ravenpuff.
  • DYKUpdateBot should avoid crediting salted user talk pages, original bug report here.
  • Add DYK nomination link to DYK user talk credits, especially useful for multi-article hooks, requested by me :)

If I missed/forgot something, let me know! Shubinator (talk) 18:23, 27 March 2021 (UTC)[reply]

My request, to enable DYKcheck on nom pages, was so that it could check hook lengths. But I'm almost ready with a script that takes care of that task. You had said that implementing my request was "not trivial"; and this is something that DYKcheck doesn't even do any more, ever since the change to individual nom templates long ago. So, as far as I'm concerned, you can mark my request "closed". MANdARAX  XAЯAbИAM 23:32, 27 March 2021 (UTC)[reply]
Thanks for the update! I'll keep it around as a "wishlist" item as I'd guess other DYK editors would also benefit. Shubinator (talk) 23:35, 27 March 2021 (UTC)[reply]
I think I didn't make it clear that the script I'm working on isn't just for my use; I intend it as a potential addition to the DYK toolbox for anybody to use (without having to install anything). MANdARAX  XAЯAbИAM 04:45, 28 March 2021 (UTC)[reply]
Nice! I'm guessing the new script is scoped to checking hook length? Whenever DYKcheck can be extended to support nom pages, it'll go through the full set of implemented checks. Shubinator (talk) 04:48, 28 March 2021 (UTC)[reply]

Administrators' newsletter – April 2021

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

Administrator changes

removed AlexandriaHappyme22RexxS

Guideline and policy news

  • Following a request for comment, F7 (invalid fair-use claim) subcriterion a has been deprecated; it covered immediate deletion of non-free media with invalid fair-use tags.
  • Following a request for comment, page movers were granted the delete-redirect userright, which allows moving a page over a single-revision redirect, regardless of that redirect's target.

Technical news

  • When you move a page that many editors have on their watchlist the history can be split and it might also not be possible to move it again for a while. This is because of a job queue problem. (T278350)
  • Code to support some very old web browsers is being removed. This could cause issues in those browsers. (T277803)

Arbitration


DYKHousekeepingBot now in Python! technical details

Hi talk page stalkers! For years I've talked about rewriting DYKHousekeepingBot and DYKUpdateBot in Python and on top of the Pywikibot framework, this week we took a solid step forward - DYKHousekeepingBot is now running on Python! Details:

  • Which edits are in Python?
  • What's staying the same?
    • Pretty much all functionality is the same between DYKHousekeepingBot's Java and Python implementations
    • DYK hook count table output is character-for-character identical, see Java and Python
    • The bot's still hosted at Toolforge
  • What changed?
    • Bugfixes for highly uncommon edge cases
      • Notifying a nominator about multiple untranscluded DYK nominations - happens ~4x/year - example
        • Added a newline between templates so they don't run into each other
        • Tweaked the edit summary from "nomination" to "nominations"
      • Notifying a nominator of an untranscluded DYK nomination creates their talk page - happens ~4x/year - example
        • Removed extra whitespace at the top
      • Bot won't hang trying to edit protected / salted pages - rare
    • Code modernization
      • Running on the more maintained Pywikibot framework
      • Interacts with Wikipedia exclusively through API.php instead of the human interface index.php
      • Better security as it leverages OAuth for authentication

As with any new code, we'd expect one or two bugs to be lingering around. Please let me know if you see a bug! If all goes well, I'm thinking of "publishing" DYKHousekeepingBot's source code onwiki, and then start chipping away at DYKUpdateBot's Python migration. Shubinator (talk) 21:30, 10 April 2021 (UTC)[reply]

Source code is now at User:DYKHousekeepingBot/Code. Shubinator (talk) 03:59, 19 April 2021 (UTC)[reply]

A barnstar for you!

The Original Barnstar
Hi ! Thank you for the 411 on the added " paintball studio " on the Tara Downs page I had started, I used to live in that factory warehouse and I know it was not a paintball studio. I wonder who would write that, it was in such bad taste hahaha ! Thanks again ! TayaCornett (talk) 01:12, 13 April 2021 (UTC)[reply]
Thank you, I'm glad DYKUpdateBot is appreciated :) The bot works harder than I do, that's for sure! Congrats on the DYK, and we hope to see more in the future :) Shubinator (talk) 00:13, 14 April 2021 (UTC)[reply]

Administrators' newsletter – May 2021

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

Administrator changes

removed EnchanterCarlossuarez46

Interface administrator changes

removed Ragesoss

Guideline and policy news

Technical news

  • The user group oversight will be renamed to suppress. This is for technical reasons. You can comment at T112147 if you have objections.

Arbitration


DYKUpdateBot now in Python! technical details

What we've all been waiting for has finally arrived! No, not Santa - DYKUpdateBot is now running on Pywikibot + Python! Details:

  • Which edits are in Python?
    • all DYKUpdateBot edits after 20:00 7 May 2021 (UTC)
  • What's staying the same?
    • For the most part, the functionality is very similar to Java DYKUpdateBot, and I'd guess most people won't notice a difference
    • The bot's still hosted at Toolforge
  • What changed?
    • For lead hooks, the {{DYK talk}} tag will include the set's image
    • Error output at /Errors is a bit prettier, and separates errors that block the bot (eg unmatched curly braces) from warnings (eg can't find hook for article)
    • DYKUpdateBot will no longer distribute DYK credits on user talk pages with a nobots template, unless DYKUpdateBot is excluded
    • Bugfixes for highly uncommon edge cases
      • Python DYKUpdateBot will place {{DYK talk}} tag above DYK nomination discussions, fixing bug demonstrated by example
      • If the DYK credit template had a nompage parameter, Java DYKUpdateBot would drop the credit; Python DYKUpdateBot will ignore the nompage param and continue processing the credit - example
      • Once in a blue moon Java DYKUpdateBot would have trouble finding the hook for an article even though the hook was in the set, this should be even rarer now - example
      • Twice Java DYKUpdateBot has been tripped up by a thumbtime parameter on the DYK video, Python DYKUpdateBot should handle it correctly - example 1, example 2
      • If the credit template contains the old name of a user who's since been renamed, the bot will now credit the renamed user - rare
      • Bot won't hang trying to edit protected / salted pages - rare
    • Bot will no longer post to /Errors if it can't find the image / file in the outgoing set
    • Dropped support for {{tall image}}, {{DYK Listen}}, and {{DYK Watch}} as it's been years since they were last used at DYK
    • Code modernization
      • ~100 automated tests to ensure the bot behaves correctly
      • Running on the more maintained Pywikibot framework
      • Interacts with Wikipedia exclusively through API.php instead of the human interface index.php
      • Better security as it leverages OAuth for authentication

As before, I'd expect one or two bugs to be lingering around as we put the new code through its paces. When we're confident it's stable I'll update the code at /Code. Please let me know if you see a bug! Shubinator (talk) 23:17, 7 May 2021 (UTC)[reply]