If you define a “difference within range” constraint with quantities using the “year” unit on a quantity-type property, attempting to check the property will throw a TypeError because the DiffWithinRangeChecker gets confused and tries to check the constraint like on a time-type property.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Only compute difference in years on time values | mediawiki/extensions/WikibaseQualityConstraints | master | +26 -1 |
Event Timeline
Comment Actions
Change 407449 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/WikibaseQualityConstraints@master] Only compute difference in years on time values
Comment Actions
Change 407449 merged by jenkins-bot:
[mediawiki/extensions/WikibaseQualityConstraints@master] Only compute difference in years on time values