Page MenuHomePhabricator

parameter md5(for sections) for action=protect
Closed, ResolvedPublic

Description

This is to test that appendtext and prependtext edits go through when the md5 hash of the appendtext or prependtext or both concatenated is passed.
If a user makes an edit to a page passing the md5 hash of the appendtext or prependtext parameter or both concatenated, it should return a success and the texts 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".

Event Timeline

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

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

Somebody renamed this task from md5 for sections to parameter md5(for sections) for action=protect.Feb 3 2020, 9:10 AM