Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Wikipedia:Bots/Requests for approval/APersonBot 8

From Wikipedia, the free encyclopedia
<Wikipedia:Bots |Requests for approval
The following discussion is an archived debate.Please do not modify it. To request review of this BRFA, please start a new section atWT:BRFA. The result of the discussion was Approved.

APersonBot 8

[edit]

Operator:APerson (talk ·contribs ·SUL ·edit count ·logs ·page moves ·block log ·rights log ·ANI search)

Time filed: 19:53, Saturday, May 28, 2016 (UTC)

Automatic, Supervised, or Manual: supervised

Programming language(s): Python

Source code available:https://github.com/APerson241/APersonBot/blob/master/battle-catsort/battle-catsort.py

Function overview: Provides a sensible defaultsort for articles with titles that look like "Battle of X"

Links to relevant discussions (where appropriate):WP:BOTREQ#Proper catsorting andWikipedia_talk:WikiProject_Military_history/Archive_135#Providing_a_sensible_defaultsort

Edit period(s): One time run

Estimated number of pages affected: Many (on the order of 5,000)

Exclusion compliant(Yes/No): No

Already has a bot flag(Yes/No): Yes

Function details: When the bot encounters an article about a military battle whose title has the form "Battle of X" that doesn't already have a defaultsort, it adds one with the sort key "X" in the proper spot (right before the categories).

Discussion

[edit]
{{BotTrial}}. —xaosfluxTalk14:57, 29 May 2016 (UTC)[reply]
{{OperatorAssistanceNeeded}} Was this trial ever run? —xaosfluxTalk16:38, 11 June 2016 (UTC)[reply]
I ran a few edits and realized I needed to make the logic a bit more complex. Then I started using mwparserfromhell. I sort of stopped working on it because I was busy with other projects, but I'll try diagramming the logic on paper and writing it in today.Enterprisey (talk!(formerlyAPerson)16:44, 11 June 2016 (UTC)[reply]
Approvedfor trial (200 edits or 10 days). Please provide a link to the relevant contributions and/or diffs when the trial is complete. OK - restarting the trial timer. —xaosfluxTalk20:49, 11 June 2016 (UTC)[reply]
Approved. Task approved. —xaosfluxTalk17:47, 17 June 2016 (UTC)[reply]
Please use a staggered execution to leave time for any unusual use case feedback:
  1. 1000 edits, 2 day wait
  2. 1000 edits, 2 day wit
  3. Rest of your run
xaosfluxTalk17:47, 17 June 2016 (UTC)[reply]
The above discussion is preserved as an archive of the debate.Please do not modify it. To request review of this BRFA, please start a new section atWT:BRFA.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Wikipedia:Bots/Requests_for_approval/APersonBot_8&oldid=725760190"
Category:

[8]ページ先頭

©2009-2026 Movatter.jp