Last modified: 2013-09-04 15:05:53 UTC
2012-11-01 19:57:15 srv225 enwiki: [b7ada502] /wiki/Special:ComparePages?page1=User%3AMabdul%2Fafc+beta.js&rev1=&page2=User%3ANathan2055%2Fafc.js&rev2=&action=&diffonly=&unhide= Exception from line 463 of /usr/local/apache/common-local/php-1.21wmf2/includes/content/ContentHandler.php: Bad content model: expected javascript but got wikitext. #0 /usr/local/apache/common-local/php-1.21wmf2/includes/content/ContentHandler.php(570): ContentHandler->checkModelID('wikitext') #1 /usr/local/apache/common-local/php-1.21wmf2/includes/specials/SpecialComparePages.php(124): ContentHandler->createDifferenceEngine(Object(RequestContext), 518748752, 520943479, NULL, false, false) #2 [internal function]: SpecialComparePages::showDiff(Array, Object(HTMLForm)) #3 /usr/local/apache/common-local/php-1.21wmf2/includes/HTMLForm.php(410): call_user_func(Array, Array, Object(HTMLForm)) #4 /usr/local/apache/common-local/php-1.21wmf2/includes/specials/SpecialComparePages.php(106): HTMLForm->trySubmit() #5 /usr/local/apache/common-local/php-1.21wmf2/includes/SpecialPage.php(599): SpecialComparePages->execute(NULL) #6 /usr/local/apache/common-local/php-1.21wmf2/includes/SpecialPageFactory.php(497): SpecialPage->run(NULL) #7 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) #8 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(554): MediaWiki->performRequest() #9 /usr/local/apache/common-local/php-1.21wmf2/includes/Wiki.php(447): MediaWiki->main() #10 /usr/local/apache/common-local/php-1.21wmf2/index.php(59): MediaWiki->run() #11 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...') #12 {main}
On a first glance, this looks like someone comparing two pages with different content models. It's clear that this would cause issues, though perhaps it can be allowed if both content models are text based. Also this should not cause a fatal error. I'll look into it.
should be fixed by I6b385fcd
(In reply to comment #2) > should be fixed by I6b385fcd Status Merged
Verified in Wikidata demo time