{"id":"WIjz8wpAEKYAAFUViYUAAABJ","type":"Exception","file":"/srv/mediawiki/php-1.29.0-wmf.9/extensions/MassMessage/includes/content/MassMessageListDiffEngine.php","line":20,"message":"Cannot diff content types other than MassMessageListContent","code":0,"
Replication steps
- Install MassMessage and make sure it shows up in Special:Version
In desktop:
- Visit http://localhost:8888/w/index.php/Special:ChangeContentModel and change the content model of * new** page "MyMassMessageOfDestruction"
- Visit MyMassMessageOfDestruction and edit a couple of times
- GO back to http://localhost:8888/w/index.php/Special:ChangeContentModel and change it back to wikitext
- Then change it back to MassMessageListContent
- Go to history (desktop or mobile) and watch it explode:
Developer notes
The problem is with any diff where the content-model of the page is changed. MassMessageListDiffEngine as it says in its own exception ''Cannot diff content types other than MassMessageListContent''. It should be special cased to deal with the situation where revision A is a different content model than MassMessageListContent and revision B is a MassMessageListContent.
T156293#4595478 suggests this exception should be caught in mobile. While that's true, the exception displays on desktop as well as mobile: