Thread:Extension talk:WYSIWYG/Conflict page: current contents of page is displayed as wikitext in wysiwyg editor

Conflict page is page displayed for the last author of the page at save time in case somebody else has saved the page during edit time of first author and if they both were editing same parts of the page. Before my fix for conflict page, section "current contents of page" was using wysiwyg, but text inside it was string of wikitext.

I am able to fix this problem in #6 bundle in two ways:
 * 1) by forcing edit mode of section "current page contents" to wikitext/WikiEditor
 * 2) by converting wikitext of section "current page contents" to html and inserting result into wysiwyg screen

First option seems to work in all cases, but editing mode is wikitext. Second one also works but in case user does refresh of page in browser, contents of wysiwyg screen will be corrupted, because it tries to convert html contents of editor screen second time to html.

Am I doing something wrong... does anybody know better solution for this ? ...perhaps with onEditPageBeforeConflictDif or onEditPageShowEditFormFields.

Option 1, CKeditor.body.php:

Option 2, CKeditor.body.php: