Jump to content

User:AnomieBOT/source/tasks/TagDater.pm/metadata

From Wikipedia, the free encyclopedia
Account Task Disable {{bots}} Status Description
AnomieBOT TagDater Here Green tickY Approved 2010-12-13

Supplemental:
+ 2012-01-20
+ 2011-10-13
+ 2015-03-28
+ 2024-03-10

Date maintenance tags in articles listed in first-level subcategories of Category:Wikipedia maintenance categories sorted by month and Category:Wikipedia categories sorted by month.

  • If a maintenance category is directly used on the page, and a corresponding template is already on the page, remove the direct category use.
  • For templates in Wikipedia:AutoWikiBrowser/Dated templates or User:AnomieBOT/Dating rules, and their redirects:
    • If a date exists in |1= or certain other parameters, move it to |date=.
      • Exception is made for if |1= is declared in templatedata as existing and not being an alias for |date=.
    • If the date is an incorrect format (e.g. MDY, DMY, YMD), correct it to the Month Year format needed by the templates.
    • If all else fails, add the current Month Year as |date=
  • For {{multiple issues}} and redirects:
    • For each parameter besides "article", "section", "expert", "text", and numbered parameters, correct the date format or fill in the current date as above.
  • For {{as of}}, {{update after}}, and their redirects:
    • If a |date= exists, remove it or move it to |1= if necessary.
    • If |1= contains a recognizable date instead of having the date specified with year in 1, month in 2, and day in 3, correct it. Supply the current year if necessary.
    • If no date is found or |1= is "today", "now", or certain other keywords, add the current date.
  • For {{disambiguation}} and its redirects:
  • For {{disambiguation cleanup}} and its redirects:
    • If it includes "cleanup" or aliases, remove them as redundant.
    • If it includes "one non-primary topic" or aliases, remove that and add {{one other topic}}.
  • If the above resulted in no changes, templates used in the article are in turn checked in the same manner.
    • Also, if the template has the output of {{subst:rfd}}, it will be bypassed if the bypassed redirect would be dated.