Last modified: 2013-02-20 16:24:22 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 T46556, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 44556 - Differ needs a callback for comparing objects
Differ needs a callback for comparing objects
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Diff (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-31 17:03 UTC by Daniel Kinzler
Modified: 2013-02-20 16:24 UTC (History)
2 users (show)

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


Attachments

Description Daniel Kinzler 2013-01-31 17:03:30 UTC
Differs can not know by themselves how to determine whether two objects they encounter as values should be considered equal. Per default, they check for object identity only. This should be customizable.

Differs could just take a callback as a parameter to their constructor, and use it to compare objects they encounter.
Comment 1 Jeroen De Dauw 2013-02-06 16:55:34 UTC
https://gerrit.wikimedia.org/r/#/c/47745/
Comment 2 abraham.taherivand 2013-02-20 16:24:22 UTC
Verified in Wikidata demo sprint 33

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


Navigation
Links