Bug ID: 63299
           Summary: A snak with a quantity property and a string value is
                    rendered normally instead of showing an error
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
       Web browser: ---
   Mobile Platform: ---

DispatchingValueFormatter::getFormatter first searches a PT formatter, then a
VT formatter. Currently, most of the mappings in WikibaseValueFormatterBuilders
are VT, which means there is no error for type mismatches if the property has
one of those types.

I have no clue if we should move most of the VT to PT mappings or change the
logic or whatever. JS does this correctly.

You are receiving this mail because:
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to