If I edit a template with live preview turned on, and I preview it after some changes, the inclusions of that very template in the preview show the old version.
Steps to reproduce:
- Turn on live preview.
- Create and save the page Template:MyTemplate with text:
<includeonly>{{{1|default}}}</includeonly> <noinclude>{{MyTemplate}}</noinclude>
- Open the editing interface for that template again, replace "default" with "new version"
- Click on preview.
Expected result:
The preview shows the text "new version".
Actual result:
The preview shows the text "default", i.e. the text in the latest saved version (which may be even later than the current unsaved version, in case of edit conflict).