Jump to content

User talk:DannyS712 bot

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Mathglot (talk | contribs) at 06:40, 12 June 2024 (Task 3 – Draft categories: Understood.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Potential bot issue

Hey DannyS712, I just came across Looksmaxx, which was created as a circular redirect. Despite this, DannyS712 bot III had marked it as reviewed. I was just wondering if this was expected behaviour, given that the redirect would need fixing prior to being usable.

All the best, ‍—‍a smart kitten[meow] 21:02, 23 February 2024 (UTC)[reply]

@A smart kitten the reason it was patrolled (per Special:Permalink/1209268146) is that if you replace (disambiguation) from the source title the result is equal to the destination title. In this case, thats because the two titles are the same though, so it probably shouldn't have been patrolled. I won't need a BRFA to stop patrolling this case so when I get around to updating the bot in a few weeks I'll be sure to exclude these cases DannyS712 (talk) 22:45, 23 February 2024 (UTC)[reply]

Redirect patrol mistake

The bot thinks that 1234qwer1234qwer4 created bipartiteness, when in reality I did. Snowmanonahoe (talk · contribs · typos) 20:36, 2 May 2024 (UTC)[reply]

It looks like this was caused by 1234... editing it right after you did, hopefully it was just a fluke --DannyS712 (talk) 05:41, 12 June 2024 (UTC)[reply]

Disabling categories already disabled

Special:diff/1223794452 incorrectly disabled categories that were already disabled by being in a {{draftcat}} section. Geraldo Perez (talk) 14:59, 14 May 2024 (UTC)[reply]

Likewise: [1] Andy Dingley (talk) 21:41, 29 May 2024 (UTC)[reply]
@Andy Dingley should be fixed now, see last section below --DannyS712 (talk) 05:36, 12 June 2024 (UTC)[reply]

Task 69

Can you have task 69, removing do not archive tags from closed DRN cases, make edits marked as bot edits please?

Pinging you because there's a couple sections you haven't responded to here. Thanks, Snowmanonahoe (talk · contribs · typos) 03:05, 20 May 2024 (UTC)[reply]

Thanks for the pinging - the edits should already be marked as bot edits, but if they aren't I can take a look in a few days DannyS712 (talk) 03:16, 20 May 2024 (UTC)[reply]

Task 3 – Draft categories

Hello. I noticed your bot converting draft cats to links, which is much better than deleting them; so thanks for that task. May I ask you to go one step further, and instead of converting it to links, embed the categories in template {{Draft categories}} instead? The effect will be that the categories will be shown at the foot of the Draft page, without populating the categories, and when the draft is released, they will immediately populate the correct categories with no further intervention.

For example, instead of performing this edit at Draft:Gallo-Roman Theater of Lisieux, you would do this instead:

{{Portal|Ancient Rome|Architecture }} [[Category:Ancient Roman theatres in France]] [[Category:Roman amphitheatres in France]] [[Category:Roman Gaul]]
+
{{Portal|Ancient Rome|Architecture }} {{Draft categories| [[Category:Ancient Roman theatres in France]] [[Category:Roman amphitheatres in France]] [[Category:Roman Gaul]] }}
  • For example, see the footer of Draft:Contravention in French criminal law, which uses this template.
  • An example of a mainspace article which uses it is Tinio Brigade; they evidently forgot to remove the template, but that's what's so good about it, because it doesn't matter if they remove it or not, as categorization will work correctly either way, whereas if you forget to remove the colons from the links, they will not work correctly.

Would this change be possible? Thanks, Mathglot (talk) 00:42, 4 June 2024 (UTC)[reply]

This was inspired by this subsection of a longer conversation, and an issue was raised about whether the scope of the bot could be broadened to all drafts, not just those with the submit template. Can it? I've left a related message at User talk:Primefac#PrimeBot and avoiding categories in Drafts. Mathglot (talk) 17:28, 4 June 2024 (UTC)[reply]

Great, so that brings us back to square one: DannyS712, is the proposal above to use {{Draft categories}} instead of links workable? Mathglot (talk) 05:53, 12 June 2024 (UTC)[reply]

@Mathglot so technically my bot approval was only for converting to links (Wikipedia:Bots/Requests for approval/DannyS712 bot 3) but I also am not quite sure how what regex to use other than having a single {{Draft categories}} around each category, which would be a bit ugly. Let me think about this for a bit. A probably easier thing to do would be to update the helper script to restore categories like this (or at least I was going to suggest that, but it looks like it is already the case - https://github.com/wikimedia-gadgets/afc-helper/blob/d4d8ef6088bc99b96bf1c2247868cdb7819f06e7/src/modules/submissions.js#L545). --DannyS712 (talk) 06:02, 12 June 2024 (UTC)[reply]
Understood, thanks. Imho, since it’s only a draft, only visible in the wikicode and not on the rendered page, it’s worth it, as ugly wikicode in exchange for saving countless hours of editor time is a good tradeoff. But let’s think some more about it and see what other opinions might be forthcoming from others. Mathglot (talk) 06:40, 12 June 2024 (UTC)[reply]


Listed at: Wikipedia:Bot requests#Friendly support for Draft categories – feedback request. Mathglot (talk) 19:42, 10 June 2024 (UTC)[reply]

June 2024

Information icon Please refrain from making unconstructive edits to Wikipedia, as you did at Draft:Tenzing Norgay Trainor. Your edits appear to be disruptive and have been or will be reverted.

Please ensure you are familiar with Wikipedia's policies and guidelines, and please do not continue to make edits that appear disruptive. Continued disruptive editing may result in loss of editing privileges. Corrupted category list in draft article already disabled as in {{draftcat}} section. Ignored report on this bug on bot. Please fix this Geraldo Perez (talk) 01:00, 12 June 2024 (UTC)[reply]

Pinging User:DannyS712. The categories were already enclosed with {{draftcat}}. Looking at line 77, you're using the regex {{Draft categories\|[^{}]+}}, but that doesn't match the redirect this user is using, and you might want to consider this for the future.
Anyways, I've gone ahead and changed the template to {{Draft categories}} so the bot will stop editing it. Thanks, Rusty4321 talk contribs 02:10, 12 June 2024 (UTC)[reply]
@Rusty4321 thanks for letting me know, I will update the bot when I have a chance. --DannyS712 (talk) 05:19, 12 June 2024 (UTC)[reply]
@Geraldo Perez I don't log in with the bot account manually and wasn't pinged on the reports above so I didn't know about it - in the future if you just let me know on my talk page (or with a ping like I just got) I can fix this. I didn't "ignore" the report, just didn't see it --DannyS712 (talk) 05:22, 12 June 2024 (UTC)[reply]
@Geraldo Perez @Rusty4321 should be working now, I updated the code https://github.com/DannyS712/bot/commit/3d4e469a3e94aa70805e8a5a5f9d1519cadc8c5b and just deployed it. Please let me know if this happens again --DannyS712 (talk) 05:36, 12 June 2024 (UTC)[reply]