Page MenuHomePhabricator

Support browser back button to move through workflow steps in article guidance
Closed, ResolvedPublic1 Estimated Story Points

Description

The Article Guidance workflow is composed of multiple steps (T414409). Currently, these steps are not reflected in the browser history. As a result, using the "refresh" button (intentionally or by accident) leads the user to exit the whole workflow losing all progress.

This task proposes to capture steps in the wrokflow to allow the back button to move to the previous step like the back arrows in the UI do.

Event Timeline

Pginer-WMF triaged this task as Low priority.
Pginer-WMF raised the priority of this task from Medium to High.Apr 10 2026, 7:55 AM

Change #1279455 had a related patch set uploaded (by Sbisson; author: Sbisson):

[mediawiki/extensions/ArticleGuidance@master] Minimal back/forward browser button handling

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

@Pginer-WMF please note that the attached patch only handles the browser back/forward buttons but not the issue of losing state on refresh. That part would be best solved by the same solution as T420378: Support article guidance workflow with pre-filled info. Let me know if it is critical for the current task or if we can leave it out for now.

Change #1279455 merged by jenkins-bot:

[mediawiki/extensions/ArticleGuidance@master] Minimal back/forward browser button handling

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