https://bugzilla.wikimedia.org/show_bug.cgi?id=71163

Kunal Mehta (Legoktm) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Low                         |High
                 CC|                            |[email protected]
             Blocks|                            |49193
            Summary|Exception from line 594 of  |Cannot edit old revisions
                   |/srv/mediawiki/php-1.24wmf2 |if the content model of
                   |2/includes/content/ContentH |those revisions are
                   |andler.php: Format          |different from the page's
                   |text/x-wiki is not          |current revision
                   |supported for content model |
                   |css                         |

--- Comment #1 from Kunal Mehta (Legoktm) <[email protected]> ---
Reproduction case:

Create a page with JSON content model
Make a few edits
Convert page to wikitext content model
Try going to action=edit&oldid=### where the oldid you use is from where the
revision is JSON
Exception is thrown.

https://www.mediawiki.org/w/index.php?title=User%3ALegoktm%2Ftest&diff=1257300&oldid=1236737

Pressing undo or edit (on the left edit) throws a fatal as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to