Jump to content

User:Bikabot

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Jarry1250 (talk | contribs) at 20:23, 28 February 2009 (Renaming Category:Perlwikipedia bots using AWB). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This bot has been approved at Wikipedia:Bots/Requests for approval.

Overview

Purpose: help bring the existing Anime and manga articles in compliance with the new guidelines regarding demographic tags in Animanga infoboxes, as described in WT:MOS-AM#Demographics; check that they are categorized accordingly.

Automatic or Manually Assisted: supervised automatic.

Language: Perl, using the perlwikipedia framework.

Edit period(s): one-time run.

Maintainer: User:Bikasuishin.

Details

As mentioned above, there are two tasks that this bot should carry out in order eventually:

  1. Fix the demographic tags in infoboxes according to the new guidelines.
  2. Make sure that articles belong to demographic categories (Category:Shōnen, Category:Shōjo, Category:Seinen, Category:Josei, Category:Kodomo anime and manga) that match their stated demographic tags.

Development for those two tasks will be conducted separately.

Pass 1

Specifications for this task are well-understood, and a tentative working implementation is available already. It has been approved for a trial run at WP:RBA.

Breakdown of the task:

  • Go through every article transcluding the Template:Infobox animanga/Header template.
  • If a demographic tag is present, remove it, and copy it back to each manga sub-box as appropriate.
  • Otherwise, add an empty demographic tag to each manga sub-box.
  • Log every change, as well as all pages that couldn't be changed due to a failure in parsing or the presence of several conflicting demographic tags.

Source code: /Source/pass1.pl

Pass 2

The details of this task are currently under discussion and thus not fully specified yet. It may be necessary to postpone it until after consensus is reached regarding the demographic categories rename proposal.

Logs and testing material