Commons:Bots/Requests/YiFeiBot (5)

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

YiFeiBot (talk · contribs) (5)

Operator: Zhuyifei1999 (talk · contributions · Number of edits · recent activity · block log · User rights log · uploads · Global account information)

Bot's tasks for which permission is being sought: see ↓

For each page in Special:UncategorizedCategories, Special:UncategorizedFiles, Special:UncategorizedPages, and Special:UncategorizedTemplates:
Check if it exists and not blank or is a redirect
Check if it is really uncategorized (from API)
Check if it does not refer to a page in another wiki (example: zh:(O.O)(o.o)(V.V) in Special:UncategorizedPages)
Check if it does not ends with /overlay.kml (example: File:Arenas-de-San-Pedro-loc.png/overlay.kml in Special:UncategorizedFiles)
If all of them returns true:
If it is a file but no file by the name exists:
Prepend {{speedy|File is empty.}}
Else if it is a gallery and no file is in it:
Prepend {{speedy|Gallery without images or other media files.}}
Else:
Prepend {{subst:unc}}

Automatic or manually assisted: Automatic

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

Maximum edit rate (e.g. edits per minute): 6 edits per minute

Bot flag requested: (Y/N): Y

Programming language(s): python: pywikipedia

Zhuyifei1999 (talk) 06:11, 10 August 2013 (UTC)

Discussion

  • Due to previous experiences, I'm not going to do a test run until a test run permission granted. --Zhuyifei1999 (talk) 06:11, 10 August 2013 (UTC)
    Test run for 5-10 pages of each type is OK. --EugeneZelenko (talk) 14:20, 10 August 2013 (UTC)
    ✓ Done with the help of Steinsplitter. The quit() didn't work so made more than 10. Seem to have problems with the code. --Zhuyifei1999 (talk) 08:53, 11 August 2013 (UTC)
    ✓ Fixed only File:Rzeczpospolita 1938.svg/to do I'm not sure what to do with it. --Zhuyifei1999 (talk) 10:07, 11 August 2013 (UTC)
    Please use more comprehensible edit summaries. Could you please run test for empty files and pages? --EugeneZelenko (talk) 14:27, 11 August 2013 (UTC)
    The first it is a file but no file by the name exists was done and already speedy deleted. The second it is a gallery and no file is in it didn't run because Special:UncategorizedPages was manually cleaned before the test run, so I fear there's no match until next time the special page generates. --Zhuyifei1999 (talk) 15:21, 11 August 2013 (UTC)
    The new report is generated. Shall I do another test run? --Zhuyifei1999 (talk) 13:35, 13 August 2013 (UTC)
    Please make another test run with meaningful edit summaries. See Special:Contributions/CategorizationBot as example. --EugeneZelenko (talk) 14:57, 14 August 2013 (UTC)
    ✓ Done --Zhuyifei1999 (talk) 15:01, 15 August 2013 (UTC)
    Looks OK for me. --EugeneZelenko (talk) 14:42, 16 August 2013 (UTC)
  • Maybe I should disable Prepend {{subst:unc}} for files. CategorizationBot seem to have taken that part. --Zhuyifei1999 (talk) 15:47, 11 August 2013 (UTC)

If there are no any objections, I think bot status should be granted. --EugeneZelenko (talk) 14:49, 19 August 2013 (UTC)