Page MenuHomePhabricator

Move files from cron/ and tools/ directories to maintenance/
Open, Needs TriagePublic

Description

To comply with https://www.mediawiki.org/wiki/Best_practices_for_extensions#File_structure and for Phan's passing pleasure.

Will require a change to the deployed cronjob.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Vvjjkkii renamed this task from Move files from cron/ and tools/ directories to maintenance/ to vebaaaaaaa.Jul 1 2018, 1:05 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from vebaaaaaaa to Move files from cron/ and tools/ directories to maintenance/.Jul 2 2018, 3:08 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

PageTriage -> cron/updatePageTriageQueue.php is the one cron job

The puppet file controlling this cron job is https://gerrit.wikimedia.org/r/plugins/gitiles/operations/puppet/+/refs/heads/production/modules/profile/manifests/mediawiki/maintenance/pagetriage.pp

  • modify the above puppet file to also try to run the new file location, e.g. maintenance/removeOldRows.php
  • move cron/updatePageTriageQueue.php to maintenance/removeOldRows.php
  • modify the above puppet file to not run a cron job for cron/updatePageTriageQueue.php