When creating a story from the edit API or the no-js form, it is possible to provide file names that don't exist and that creates a broken story.
We should validate that the files exist in a configure repo and fail validation if they don't.
SBisson | |
May 5 2022, 1:43 PM |
F35219872: image.png | |
Jun 8 2022, 9:23 PM |
When creating a story from the edit API or the no-js form, it is possible to provide file names that don't exist and that creates a broken story.
We should validate that the files exist in a configure repo and fail validation if they don't.
Change 790394 had a related patch set uploaded (by Sbisson; author: Sbisson):
[mediawiki/extensions/Wikistories@master] Validate that files used in story exist
Change 790394 merged by jenkins-bot:
[mediawiki/extensions/Wikistories@master] Validate that files used in story exist
Change 790704 had a related patch set uploaded (by Sbisson; author: Sbisson):
[mediawiki/extensions/Wikistories@master] Test: invalid story: file not found
Change 790704 merged by jenkins-bot:
[mediawiki/extensions/Wikistories@master] Test: invalid story: file not found