Commons:Bots/Requests/SignBot

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Operator: Zhuyifei1999 (talk · contributions · Statistics · Recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: Unsigned bot, Technical details:

  • Using stream.wikimedia.org, get the recent changes feed. ✓ Done
  • Ignore edits with "!nosign!" in comment, and edits not in any talk namespace or commons namespace. ✓ Done
  • Check for user opt-in/out.
  • If the page is in commons namespace, check whether the page is discussion or not
  • Check for talk page templates that do not need signatures
  • Analyse the diff: find the last non-empty, non-heading, non-category-link-only, functional inserted line ✓ Done
    • And not lines in tables ✓ Partially done
    • And if the edited talk page is the editor's own talk page (strict), and a template is added, ignore the edit ✓ Done
  • Fine if the line contains a link to the user's userpage (the signature) ✓ Done
    • Maybe also check for undated signatures?  Don't worth the work
  • Wait a minute for the user to sign himself. ✓ Done
    • Exclusion list?  Probably not
  • Find the line and add the {{Unsigned}}, save. ✓ Done
  • Notify the user if 3 unsigned comments are added in the same day ✓ Done

Automatic or manually assisted: Automatic unsupervised

Edit type (e.g. Continuous, daily, one time run): Continuous

Maximum edit rate (e.g. edits per minute): about 6 edits per min (pywikibot max), but this will be extremely rare, unless someone batch commenting without signing.

Bot flag requested: (Y/N): N

Programming language(s): python: pywikibot

Zhuyifei1999 (talk) 10:30, 5 October 2015 (UTC)[reply]

Discussion

<3 --Steinsplitter (talk) 13:04, 5 October 2015 (UTC)[reply]

Please feel free to do a continuous test run unless objections arise. --Krd 13:48, 6 October 2015 (UTC)[reply]

Ok, sure --Zhuyifei1999 (talk) 15:07, 6 October 2015 (UTC)[reply]
The bot appearantly don't recognize signatures in the middle of an insertion yet. I'll start next run when that's fixed. --Zhuyifei1999 (talk) 15:38, 6 October 2015 (UTC)[reply]
Maybe you should check if [[User:]] exists. The skip? --Steinsplitter (talk) 10:35, 11 October 2015 (UTC)[reply]
??? Rillke use a user talk subpage as his talk page --Zhuyifei1999 (talk) 11:07, 11 October 2015 (UTC)[reply]
  • There was false positives per INC that the bot signed talk page templates like {{User talk}}, {{Busy}} and {{User:MiszaBot/config}}. I've added a preventive logic that all templates added to the editors' talk pages are assumed decorations. And since it's difficult to find the end of the corresponding template wikitext (parser required), any addition of templates to the their own talk pages force the bot to ignore the edit. Talk pages in other namespaces are unaffected, as I assume those who decorate those are experienced enough that the bot do not trace their edits by default (unless they opt-in). And I don't think it's a good idea to hardcode a ton of talk page decorative templates (babel templates, etc). Note that user talk subpages (like Rillke's talk page) are also unaffected, as I don't think it worth the work to implement that --Zhuyifei1999 (talk) 09:42, 16 October 2015 (UTC)[reply]
Sounds reasonable. --Steinsplitter (talk) 09:58, 16 October 2015 (UTC)[reply]

If there are no objections, I think we should approve request. --EugeneZelenko (talk) 14:20, 22 October 2015 (UTC)[reply]

Support approval. Ongoing development can be documented on the user / user talk page. --Krd 06:48, 24 October 2015 (UTC)[reply]