https://bugzilla.wikimedia.org/show_bug.cgi?id=63308

            Bug ID: 63308
           Summary: Need more specific EntityIdValue formatters
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
       Web browser: ---
   Mobile Platform: ---

We have various "EntityId" formatters that conflate and combine functionality
for formatting both EntityIdValues and EntityIds.

ValueFormatters for DataValues contain some specific behavior, like exception
for DataValueMismatch which can take two arguments:

1) expected value type
2) actual value type that's attempted to be formatted

it would be odd for it to have multiple expected values, one of which is not
actually a DataValue.

EntityIdValue formatters can reuse most/much of the EntityId formatter
functionality but should behave more consistently as value formatters.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to