Jump to content
Wikipedia The Free Encyclopedia

User:CleanupWorklistBot

From Wikipedia, the free encyclopedia
Wikipedia editing bot run by Bamyers99
This user account is a bot operated by Bamyers99 (talk). It is used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually, in accordance with the bot policy. The bot is approved and currently active – the relevant request for approval can be seen here.
Administrators: if this bot is malfunctioning or causing harm, please Bamyers99 that generates article cleanup listings for WikiProjects. It is a replacement for User:Svick/WikiProject cleanup listing which was a replacement for User:B. Wolterding/Cleanup listings.

The bot runs once a week on Tuesday.

The current cleanup listings can be found here.

The cleanup categories can be found here (GitHub). The listings are generated from hidden categories in articles. These categories are included by maintenance templates or by normal templates that detect errors in their parameters. To turn on hidden category display at the bottom of each article, go to Preferences -> Appearance -> Advanced options -> Show hidden categories.

Adding a project

[edit ]

Adding a project is usually straight forward if the project assessment categories have been named using the WikiProject name.

  • Access the project test tool.
  • Enter the project name in the form and press submit.
  • If "Master project list configuration line:" is displayed, enter the text after the : in the master project list and save it. That is it.
  • If "Project articles category: Not found" is displayed, leave a message on the talk page and the bot operator will assist.
  • If "Assessment information (class, importance) not found" is displayed, leave a message on the talk page and the bot operator will assist.

Linking to the lists

[edit ]

Templates

[edit ]
[edit ]
  • Alphabetic results: [https://bambots.brucemyers.com/cwb/alpha/Animals.html Alphabetic cleanup listing]
  • By category results: [https://bambots.brucemyers.com/cwb/bycat/Animals.html By category cleanup listing]
  • Specific category: [https://bambots.brucemyers.com/cwb/bycat/Animals.html#Orphaned%20articles Orphaned articles cleanup listing] Note: Spaces in the category name need to be replaced with %20

Displaying statistics

[edit ]

{{#section:User:DataflowBot/CleanupStats|Animals}}

Sample: Of the 15362 articles in this project 2274 or 15% are marked for cleanup, with 3404 issues in total.

Cleanup list types

[edit ]
  • Alphabetic
  • By category
  • CSV file - Format: "Article","Importance","Class","Count","Oldest month","Categories"
  • List history

Ad-hoc cleanup list generation

[edit ]

If a particular cleanup category is not processed by the bot, an ad-hoc query can be done in Quarry.

A sample query for 'WikiProject Viruses' and cleanup category 'CS1_maint:_archived_copy_as_title' can be found here and below: Wikiproject Virus CS1 maint: archived copy as title (Quarry).

SELECTCONCAT('[[',replace(page_title,'_',' '),']]<br />')AStitle
FROMpage_assessments_projects
JOINpage_assessmentsONpa_project_id=pap_project_idANDpa_classNOTIN('Disambig','Redirect')
JOINpageONpage_id=pa_page_idANDpage_namespace=0
JOINcategorylinksONcl_from=pa_page_id
JOINlinktargetONlt_namespace=14ANDlt_title='CS1_maint:_archived_copy_as_title'ANDcl_target_id=lt_id
WHEREpap_project_title='Viruses'-- substitute project name as coded in PageAssessments
ORDERBYpage_titleASC;

Based on a query by StefenTower (talk · contribs).

Tips

[edit ]
  • Allow Quarry to connect to your account via OAuth.
  • To alter or rerun the query, use the Fork button in the upper right corner to create your own personal copy of the query.
  • To change the cleanup category, replace 'CS1_maint:_archived_copy_as_title' with the new category name, note the underscores in-place of spaces.
  • To figure out the PageAssessments project name, use the 'Sample article assessment project retrieval' link in the external links below and replace '1792 Bourbon' with an article from the project. The project names will be listed in the "pageassessments": { section.

See also

[edit ]
[edit ]

Source code

[edit ]

AltStyle によって変換されたページ (->オリジナル) /