https://bugzilla.wikimedia.org/show_bug.cgi?id=42658
Web browser: ---
Bug #: 42658
Summary: Display units not respected
Product: MediaWiki extensions
Version: master
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Semantic MediaWiki
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
At some point display units stopped working for me, in the sense that ALL units
of a quantity property is printed out. I have not been able to reproduce this
on referata, but looking for the cause, I found an odd thing at line 180 in
inincludes/datavalues/SMW_DV_Quantity.php
It currently reads:
if ( $di->getDIType() instanceof SMWDIBlob ) {
...but $di->getDIType will be an integer (3, if SMWDIBlob). I think it is
supposed to be like this:
if ( $di instanceof SMWDIBlob ) {
Changing it like that makes display units work again, at least for me!
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l