Page MenuHomePhabricator

"Watch this page" option does not reflect the status of the article if it was changed without reloading
Closed, ResolvedPublic

Description

See this screencast by Benutzer:André Schneider , where he adds an article on the German Wikipedia to his watchlist, then tries to VEdit said article; the corresponding checkbox in the Save dialog is not ticked, so when he saves the article is not in his watchlist anymore.

Event Timeline

Elitre raised the priority of this task from to Needs Triage.
Elitre updated the task description. (Show Details)
Elitre added a project: VisualEditor.
Elitre changed Security from none to None.
Elitre subscribed.
Krenair renamed this task from "Watch this page" option does not reflect the status of the article on de.wp to "Watch this page" option does not reflect the status of the article if it was changed without reloading.Dec 30 2014, 2:24 AM

So VE sets isPageWatched when the page is initially loaded, but that's not updated if you click a button on the page to watch it. Even if we did update that, it's only checked when the page is initially loaded (so we'd need to check it when the save dialog comes up instead).

Change 182336 had a related patch set uploaded (by Alex Monk):
Update "Watch this page" option when necessary

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

Patch-For-Review

Jdforrester-WMF moved this task from To Triage to Blocked on the VisualEditor board.

Change 182336 merged by jenkins-bot:
Update "Watch this page" option when necessary

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