Page MenuHomePhabricator

Remove unused NewPagesFeed code following Vue.js migration
Closed, ResolvedPublic

Description

Now that we have deployed the new NewPagesFeed implementation, using vue.js, we can remove the old unusued code.

Note the folder changes in T342323 which may help localise the code requiring removal.

  • move images from modules/ext.pageTriage.views.newPagesFeed/images/ to modules/ext.pageTriage.newPagesFeed.vue/images/ (or similar), and update all places these images are referenced (gerrit:973426)
  • remove feature flag pagetriage_ui (gerrit:990372)
  • delete modules/ext.pageTriage.views.newPagesFeed/(gerrit:990373)
  • rename modules/ext.pageTriage.newPagesFeed.vue/ to modules/ext.pageTriage.newPagesFeed/ (no .vue), and update all places these paths are referenced (gerrit:990426)

Event Timeline

Looks like the Vue Page Curation toolbar uses pagetriage_tb, so should be safe to remove pagetriage_ui.

Change 973426 had a related patch set uploaded (by Punith.nyk; author: Punith.nyk):

[mediawiki/extensions/PageTriage@master] move images from modules/ext.pageTriage.views.newPagesFeed/images/ to modules/ext.pageTriage.newPagesFeed.vue/images/ (or similar), and update all places these images are referenced

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

MPGuy2824 changed the task status from Open to In Progress.Dec 1 2023, 3:23 AM
MPGuy2824 updated the task description. (Show Details)
MPGuy2824 moved this task from Vue migration bugs to Code Review on the PageTriage board.

Change 973426 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Move images out of folder that will be deleted soon

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

Change 984326 had a related patch set uploaded (by MPGuy2824; author: MPGuy2824):

[mediawiki/extensions/PageTriage@master] Code cleanup after Vue.js migration

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

Change 990372 had a related patch set uploaded (by MPGuy2824; author: MPGuy2824):

[mediawiki/extensions/PageTriage@master] Remove pagetriage_ui feature flag

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

Change 984326 abandoned by MPGuy2824:

[mediawiki/extensions/PageTriage@master] Code cleanup after Vue.js migration

Reason:

Abandoning this patch in favor of 3 smaller patches. The first one is at https://gerrit.wikimedia.org/r/c/mediawiki/extensions/PageTriage/+/990372

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

Change 990373 had a related patch set uploaded (by MPGuy2824; author: MPGuy2824):

[mediawiki/extensions/PageTriage@master] Delete the modules/ext.pageTriage.views.newPagesFeed directory

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

Change 990372 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Remove pagetriage_ui feature flag

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

Change 990373 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Delete the modules/ext.pageTriage.views.newPagesFeed directory

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

Change 990426 had a related patch set uploaded (by MPGuy2824; author: MPGuy2824):

[mediawiki/extensions/PageTriage@master] Rename the modules/ext.pageTriage.newPagesFeed.vue/ directory

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

Change 990427 had a related patch set uploaded (by MPGuy2824; author: MPGuy2824):

[mediawiki/extensions/PageTriage@master] Remove a redundant test case

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

Change 990427 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Remove a redundant test case

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

MPGuy2824 changed the subtype of this task from "Task" to "Bug Report".Jan 15 2024, 4:15 AM
MPGuy2824 changed the subtype of this task from "Bug Report" to "Task".

Change 990426 merged by jenkins-bot:

[mediawiki/extensions/PageTriage@master] Rename the modules/ext.pageTriage.newPagesFeed.vue/ directory

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

MPGuy2824 moved this task from Code Review to Done on the PageTriage board.