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".
Description
Description
Details
Details
Related Changes in Gerrit:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Somebody | T234284 Improve MediaWiki Action API Integration Tests | |||
| Resolved | Somebody | T244084 Write integration tests for action API's "rollback" module. | |||
| Resolved | Somebody | T244085 parameter pageid for action=rollback |
Event Timeline
Comment Actions
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
Comment Actions
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