Page MenuHomePhabricator

Stop extending core's SpecialEditWatchlist
Open, MediumPublic

Description

The class SpecialEditWatchlist is extended in extension, but the class is not part of the stable policy and that does not allow to extend it.

I am not sure what the best way is for the extension

https://codesearch.wmcloud.org/search/?q=extends%5Cs%2BSpecialEditWatchlist%5Cb&i=nope&files=&repos=

TODO

Event Timeline

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

Can we reconsider this in the stable policy at least to relax it for the one exception of MobileFrontend? This has been extended for about 7-8 years now.
I don't think it's in anyone's interest to refactor that code and there is a lot of work to be done to the core version to make the mobile version more friendly.

I'd be very surprised if the Growth team or reading web had capacity to do this.

Jdlrobson triaged this task as Medium priority.Dec 9 2021, 7:45 PM

Change 755510 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/MobileFrontend@master] [Proof of concept] Drop the Mobile special pages

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

Test wiki created on Patch demo by Jdlrobson using patch(es) linked to this task:

https://patchdemo.wmflabs.org/wikis/d6efd56b19/w/

Test wiki on Patch demo by Jdlrobson using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/d6efd56b19/w/

Change 755510 abandoned by Jdlrobson:

[mediawiki/extensions/MobileFrontend@master] [Proof of concept] Drop the Mobile special pages

Reason:

Not actively working on this. Some of this work will be realized in https://phabricator.wikimedia.org/T300185

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

Test wiki on Patch demo by Jdlrobson using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/5b440214c6/w/

Change #1013602 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/ReadingLists@master] Show watchlist title when watchlist is visited

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

Change #1013603 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/MobileFrontend@master] Redirect Special:EditWatchlist to Special:ReadingLists

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

Change #1013605 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/ReadingLists@master] Enable viewing of watchlist to everyone

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

Change #1013607 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/extensions/ReadingLists@master] Fix importing / Enable viewing of watchlist to everyone

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

Change #1013605 abandoned by Jdlrobson:

[mediawiki/extensions/ReadingLists@master] Enable viewing of watchlist to everyone

Reason:

Merged into https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ReadingLists/+/1013607?usp=search

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

Plan:

  1. https://gerrit.wikimedia.org/r/c/mediawiki/skins/MinervaNeue/+/1013600
  2. https://gerrit.wikimedia.org/r/c/mediawiki/extensions/MobileFrontend/+/1013603
  3. Switch configuration for pilot wikis to use desktop HTML
  4. Switchover to HTML for everyone
  5. Respond to community feedback.
  6. Drop watchlist code and resolve all open technical work for this special page.

Change #1013607 merged by jenkins-bot:

[mediawiki/extensions/ReadingLists@master] Fix importing / Enable viewing of watchlist to everyone

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

Change #1016022 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[operations/mediawiki-config@master] Enable desktop watchlist on beta cluster, clean up old references

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

Change #1019934 had a related patch set uploaded (by Jdlrobson; author: Jdlrobson):

[mediawiki/skins/MinervaNeue@master] AMC-disabled Watchlist should mirror MobileFrontend version

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

Change #1013603 abandoned by Jdlrobson:

[mediawiki/extensions/MobileFrontend@master] Redirect Special:EditWatchlist to Special:ReadingLists

Reason:

I'm considering a new approach with our designer where we link to both ReadingLists and Watchlist, so am going to abandon this for now, until we work that out!

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