Automatic or Manually Assisted: supervised automatic
Programming Language(s): pywiki
Function Summary: converting ((cite web))
templates to use |accessdate=
and |date=
consistently
Edit period(s): one time run
Already has a bot flag (Y/N): Y
Function Details: Following from this discussion, and numerous others on that page, we conclude that the parameters |accessyear=
, |accessmonthday=
and |accessdaymonth=
are more trouble than they're worth. They were created in the days of date autoformatting to force a display in ymd or dmy format; now this is deprecated in favour of setting |dateformat=
in the template and passing the whole date in together as |accessdate=
. As such, it is a very clear-cut process to convert from one to the other:
|accessdaymonth=
and |accessyear=
are present in an instance of ((cite web))
, mash the two together into |accessdate=
and set |dateformat=dmy
|accessmonthday=
and |accessyear=
are present, mash the two together into |accessdate=
and set |dateformat=mdy
This should cover 99% of the simple cases; there are only a manageable number of instances out there, but they are currently broken, so speed is a consideration.