Last modified: 2014-08-18 15:22:41 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70533, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68533 - Special:MergeHistory does not work for Wikidata items
Special:MergeHistory does not work for Wikidata items
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
:
: 68517 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-24 21:10 UTC by Vogone
Modified: 2014-08-18 15:22 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Vogone 2014-07-24 21:10:32 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.
Comment 1 Aude 2014-07-25 09:01:15 UTC
/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()
Comment 2 Aude 2014-07-25 09:01:25 UTC
*** Bug 68517 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Kinzler 2014-07-25 09:24:24 UTC
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.
Comment 4 Vogone 2014-07-26 16:15:37 UTC
I don't believe fatal exceptions deserve "Lowest" priority.
Comment 5 Lydia Pintscher 2014-08-18 15:22:41 UTC
I don't think should merge item histories like that. Sorry.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links