This is to test that an edit is only successful when a user passes in the md5 hash of the text.
If a user makes an edit to a page passing the md5 hash of the text parameter, it should return a success and the text should be contained in the page.
In the case where the wrong md5 is passed in, it should throw an error with the code "badmd5".
Description
Description
Details
Details
Related Changes in Gerrit:
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Somebody | T234284 Improve MediaWiki Action API Integration Tests | |||
| Resolved | Somebody | T242375 Write integration tests for action API's "edit" module. | |||
| Resolved | Somebody | T242379 parameter md5 for action=edit |
Event Timeline
Comment Actions
Hi @Somebody. The current short task description makes is hard for others to understand what this task is about. Please consider adding some more information to the task description. Thanks. :)
Comment Actions
Change 565499 had a related patch set uploaded (by Daniel Kinzler; owner: Esther Akinloose):
[mediawiki/tools/api-testing@master] Tests for the md5 parameter of action=edit