Last modified: 2014-08-18 15:22:41 UTC
I don't know how relevant this is and whether it possibly is a WONTFIX, but when trying to merge the page histories of two Wikidata items through Special:MergeHistory, the action seems to fail and a "[54f784db] 2014-07-24 21:04:51: Fatal exception of type MWException" appears.
/w/index.php?title=Special:MergeHistory&action=submit Exception from line 245 of /usr/local/apache/common-local/php-1.24wmf14/extensions/Wikidata/extensions/Wikibase/repo/includes/content/EntityHandler.php: EntityContent does not support plain title based redirects. Use makeEntityRedirectContent() instead. #0 /usr/local/apache/common-local/php-1.24wmf14/includes/specials/SpecialMergeHistory.php(437): Wikibase\EntityHandler->makeRedirectContent(Object(Title)) #1 /usr/local/apache/common-local/php-1.24wmf14/includes/specials/SpecialMergeHistory.php(121): SpecialMergeHistory->merge() #2 /usr/local/apache/common-local/php-1.24wmf14/includes/specialpage/SpecialPage.php(382): SpecialMergeHistory->execute(NULL) #3 /usr/local/apache/common-local/php-1.24wmf14/includes/specialpage/SpecialPageFactory.php(515): SpecialPage->run(NULL) #4 /usr/local/apache/common-local/php-1.24wmf14/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Object(Title), Object(RequestContext)) #5 /usr/local/apache/common-local/php-1.24wmf14/includes/MediaWiki.php(603): MediaWiki->performRequest() #6 /usr/local/apache/common-local/php-1.24wmf14/includes/MediaWiki.php(452): MediaWiki->main() #7 /usr/local/apache/common-local/php-1.24wmf14/index.php(46): MediaWiki->run()
*** Bug 68517 has been marked as a duplicate of this bug. ***
Seems like Special:MergeHistory is trying to create a redirect, but we don't support "plain" redirects for Wikibase entities (and can't, really). Some kinds of entities, like Properties, do not support redirects at all - Special:MergeHistory could and should check this using ContentHandler::supportsRedirects. However, some kinds of entities, like Items, will soon support redirects, but they require more information than just the title of the target page when constructing them (in particular, an Item redirect needs to know its own id). I see no good way to fix this. But perhaps Special:MergeHistory could be made more robust in this regard.
I don't believe fatal exceptions deserve "Lowest" priority.
I don't think should merge item histories like that. Sorry.