Page MenuHomePhabricator

PageTriage does not write AFD page if the AFD daily log page is not created yet
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Make sure there is no daily log page created yet for today's UTC date. The format is Wikipedia:Articles for deletion/Log/2022 July 17. You may need to add or subtract a day to adjust for UTC.
  • Find a recently created page that you didn't create yourself. The PageTriage toolbar should pop up and include a trash can icon.
  • Click the trash can, then Articles for Deletion.
  • For the reason, type Test
  • Click "Add details"
  • Click "Mark for deletion"

What happens?:

  • Some page writes (article, user talk) are performed, but the log page and AFD page are not written.
  • You receive a window.alert with the pagetriage-del-log-page-missing-error message.

What should have happened instead?:

  1. Should either not write any pages and give the user an error so they can go make the page
  2. Or PageTriage should create a blank log page (and execute the rest of the AFD steps) (note there is a bug/issue where PageTriage will not write anything to a blank log page, but at least it won't error out and skip writing some pages)
  3. Or PageTriage should create a blank log page, write the log entry to it (and execute the rest of the AFD steps)
  4. Or PageTriage should create a log page using some kind of boilerplate (and execute the rest of the AFD steps)
  5. Or PageTriage should skip the log (and execute the rest of the AFD steps)

Whatever solution is picked should make testing easy (there will be blank log pages a lot in testing), and should write a log entry somewhere even if it's not well formatted. Then whoever is in charge of the page will eventually see the log entry and fix it. With that in mind, I'm leaning toward 3 or 4.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

  • Low priority. On enwiki, these daily log pages are always created by MathBot around 4 days in advance. This is more for making testing easier, or to handle a MathBot outage.

image.png (172×561 px, 7 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 818603 had a related patch set uploaded (by Novem Linguae; author: Novem Linguae):

[mediawiki/extensions/PageTriage@master] Handle XFD log page not existing

https://gerrit.wikimedia.org/r/818603

Change 818603 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Handle XFD log page not existing

https://gerrit.wikimedia.org/r/818603

Novem_Linguae claimed this task.
Novem_Linguae moved this task from Waiting for enwiki deploy to Done on the PageTriage board.