Page MenuHomePhabricator

parameter pageid for action=rollback
Closed, ResolvedPublic

Description

This is to test that the last edit to a page is rolled back if the pageid is provided. !!! It cannot be used with the title parameter as either is required and not both.
If a user makes an edit to a page and rolls back passing the pageid parameter, it should return a success and the change should be reversed.
In the case where neither title nor pageid is provided, it should throw an error with the code "missingparams".

Event Timeline

Change 569380 had a related patch set uploaded (by Esther Akinloose; owner: Esther Akinloose):
[mediawiki/tools/api-testing@master] Test for the pageid parameter of action=rollback and failure checks for missingparam, nouser, notoken, onlyauthor, mustpostparams

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

Somebody renamed this task from pageid to parameter pageid for action=rollback.Feb 3 2020, 9:05 AM

Change 569380 merged by jenkins-bot:
[mediawiki/tools/api-testing@master] Test for the pageid parameter of action=rollback and failure checks for missingparam, nouser, notoken, onlyauthor, mustpostparams

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