Page MenuHomePhabricator

Watchlist expiry is not retained when clicking "show changes", but works on "show preview"
Closed, ResolvedPublic

Description

Reported at https://en.wikipedia.org/w/index.php?title=Wikipedia:Village_pump_(technical)&oldid=1044898015#Watchlist_time_period_bug_in_edit_mode?

If you change the time period to watch a page, and then click "show preview" it will retain that change for the next view so when you save it uses the expiry that was just set. However, that does not work for "show changes".

It's a trivial fix, I'll have a patch up in a moment.

Event Timeline

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

Change 721877 had a related patch set uploaded (by Legoktm; author: Legoktm):

[mediawiki/core@master] EditPage: Read from wpWatchlistExpiry form value on \"show changes\" too

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

Change 721877 merged by jenkins-bot:

[mediawiki/core@master] EditPage: Read from wpWatchlistExpiry form value on \"show changes\" too

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

Change 722398 had a related patch set uploaded (by Jforrester; author: Legoktm):

[mediawiki/core@REL1_37] EditPage: Read from wpWatchlistExpiry form value on \"show changes\" too

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

Change 722398 merged by jenkins-bot:

[mediawiki/core@REL1_37] EditPage: Read from wpWatchlistExpiry form value on \"show changes\" too

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