The server admin log (SAL) should include the year in the date. This was once done in 2012, see e.g. https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikidata-dev/SAL .
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | valhallasw | T85803 server admin log should include year in date (again) | |||
Resolved | Dzahn | T105169 build new .deb for adminbot/morebots, install on toollabs |
Event Timeline
Looks easy for anyone with a basic knowledge of Python: https://git.wikimedia.org/blob/operations%2Fdebs%2Fadminbot.git/579ea5abfc7b4b70d7ed82fa6b45956dd30090e9/adminlog.py#L34
Currently, the log goes == Month 01 ==.
Would the year go after or before? As in: == Month 01 2015 == or == 2015 Month 01 ==?
I hate the entire date format, as I like YYYY-MM-DD, (reference: https://xkcd.com/1179/ ).
That being said, the old use had July 19th 2012.
I suppose it should put in the trailing 19th, 23rd, etc... to match what was initially done; unless that bit of code is unusually tricky.
So the old use was: July 19th 2012
For the proposed two options: == Month 01 2015 == matches the old use the closest.
Change 223575 had a related patch set uploaded (by Dzahn):
up version to 1.7.7 - add year to logs
As seen in the backtrace https://phabricator.wikimedia.org/T105169#1444010 this needs to also work with the old log entries that have less than 5 space separated parts in headings.
@Elee: I am resetting the assignee of this task because there have been no signs of progress lately (please correct me if I'm wrong).
Resetting the assignee avoids the impression that somebody is already working on fixing this task and it also allows anybody else to potentially work towards fixing this task.
Please claim this task again when you plan to fix this task (via 'Assign / Claim' in the 'Actions' dropdown menu) - it would be very welcome!
Thanks for your understanding!
The SAL has been using YYYY-MM-DD for a while now, so I think we can consider this resolved/.