Automatic or Manually Assisted: Automatic, unsupervised
Programming Language(s): Perl
Function Summary: Tag articles in certain categories for WikiProject Physics's Acoustics task force.
Edit period(s) (e.g. Continuous, daily, one time run): one-time
Already has a bot flag (Y/N): Y
Function Details: Per request, tag articles in Category:Acoustics, Category:Sound measurements, and Category:Ultrasound with ((physics|Acoustics=yes))
. Redirects and disambiguation pages will be automatically assessed with class=redirect/disambig and importance=NA, stubs will be automatically assessed with class=stub, and non-article pages will be automatically assessed with the appropriate class and importance=NA.
Code is available at User:AnomieBOT/source/tasks/WikiProjectTagger.pm. Subcategories are not processed. User, MediaWiki, Help, and Category namespace pages will not be tagged. The code first looks for an existing ((physics))
banner to add the task force parameter to; failing that, it looks for a ((WPB)) or ((WPBS)) to add the new banner to; and failing that, it puts the banner after any other WikiProject banners and Talk header templates at the top of the talk page. Anomie⚔ 01:13, 25 November 2008 (UTC)[reply]