Last modified: 2014-11-16 21:31:45 UTC
2014-09-23 02:55:34 mw1020 mediawikiwiki: [acd305b3] /w/index.php?title=Project:Sandbox&action=edit&oldid=1176667 Exception from line 594 of /srv/mediawiki/php-1.24wmf22/includes/content/ContentHandler.php: Format text/x-wiki is not supported for content model css #0 /srv/mediawiki/php-1.24wmf22/includes/content/TextContentHandler.php(49): ContentHandler->checkFormat() #1 /srv/mediawiki/php-1.24wmf22/includes/content/AbstractContent.php(151): TextContentHandler->serializeContent() #2 /srv/mediawiki/php-1.24wmf22/includes/EditPage.php(2246): AbstractContent->serialize() #3 /srv/mediawiki/php-1.24wmf22/includes/EditPage.php(938): EditPage->toEditText() #4 /srv/mediawiki/php-1.24wmf22/includes/EditPage.php(532): EditPage->initialiseForm() #5 /srv/mediawiki/php-1.24wmf22/includes/actions/EditAction.php(56): EditPage->edit() #6 /srv/mediawiki/php-1.24wmf22/includes/MediaWiki.php(414): EditAction->show() #7 /srv/mediawiki/php-1.24wmf22/includes/MediaWiki.php(282): MediaWiki->performAction() #8 /srv/mediawiki/php-1.24wmf22/includes/MediaWiki.php(584): MediaWiki->performRequest() #9 /srv/mediawiki/php-1.24wmf22/includes/MediaWiki.php(435): MediaWiki->main() #10 /srv/mediawiki/php-1.24wmf22/index.php(46): MediaWiki->run() #11 /srv/mediawiki/w/index.php(3): include() #12 {main}
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.