When you get an edit conflict on a bigger page the preview button does not work.
Steps to reproduce:
- Create an edit conflict (myself logged-in against myself as an IP) on a wikipage with much text.
- Click on Preview
- Nothing happens, no preview is shown.
This issue comes from the GET request to the API to generate the preview. On large pages the request is too long for GET and the server throws a 414 error. e.g.: Request
This might also be the problem behind https://www.mediawiki.org/wiki/Topic:Uun8oeocci3h79i7 ( still not investigated fully )
- Independent of page size, we can show a preview
A big page means anything above 2000 Bytes.
This can probably be solved through using a POST request instead of GET