User:Bikasuishin/DemographicBot

This is experimental Perl code to perform the changes proposed at WT:MOS-AM#Demographics. It uses the perlwikipedia framework.

Specifications

edit

What the bot should do eventually (please discuss):

  1. Go through all the pages transcluding Template:Infobox animanga/Header.
  2. Remove the demographic tag from the header and save it in some buffer space.
  3. If that tag consists of exactly one demographic indication, copy that indication in each manga box, if any. Otherwise, keep track of the page for subsequent manual intervention.
  4. Make sure that the article belongs to the right categories once the changes are made.

Code

edit

See User:Bikabot for details.