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: wikidata-b...@lists.wikimedia.org
          Reporter: aude.w...@gmail.com
                CC: wikidata-b...@lists.wikimedia.org
       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.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to