Based on the patch that introduces manual revert detection, this is to create a software-defined change tag that will be applied to all edits that restore a page to an exact previous state. This is also for consistency with mw-undo and mw-rollback that will make a "reverted" tag appear on reverted edits in the future. Note about the REST API tests: in the next patch in this chain I encountered even more issues with comparing returned changed tags with expectations, so I decided it'd better if we just checked the change tags applied manually in these tests. Otherwise we can run into nasty race conditions, as the reverted tag is processed after sending the response to client in the deferred update. It also makes the test hard to maintain. Bug: T256001 Change-Id: Ic367886f39faedcb823222b7d63bf4d5cb236ae9 |
||
|---|---|---|
| .. | ||
| db | ||
| diff | ||
| poolcounter | ||
| Rest/Handler | ||
| revisionlist | ||
| Storage | ||
| user | ||
| TemplateParserIntegrationTest.php | ||