Page MenuHomePhabricator

Automatically switch input parameters when they were used wrong
Closed, ResolvedPublic2 Estimated Story PointsBUG REPORT

Description

When a user shares a link where the diff parameter contains the actual oldid and the other way around. See:

https://en.wikipedia.beta.wmflabs.org/w/index.php?diff=158491&oldid=172031&title=Main_Page&type=revision

The RevisionSlider then shows the yellow pointer off grid. Instead it should automatically detect the wrong usage ( e.g. by looking at the timestamp ) and switch the parameters.

( By feedback in https://www.mediawiki.org/wiki/Topic:Tpejiph9fv818kil )

Event Timeline

thiemowmde changed the subtype of this task from "Task" to "Bug Report".

Change 831047 had a related patch set uploaded (by Thiemo Kreuz (WMDE); author: Thiemo Kreuz (WMDE)):

[mediawiki/extensions/RevisionSlider@master] Fix broken initial state when old/new revision id are swapped

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

Change 831047 merged by jenkins-bot:

[mediawiki/extensions/RevisionSlider@master] Fix broken initial state when old/new revision id are swapped

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

thiemowmde set the point value for this task to 2.
thiemowmde moved this task from Sprint Backlog to Demo on the WMDE-TechWish-Sprint-2022-09-14 board.