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

       Web browser: ---
            Bug ID: 49265
           Summary: Spec out registry/factory for formatters and parsers
                    in the backend
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikidataRepo
          Assignee: wikidata-b...@lists.wikimedia.org
          Reporter: daniel.kinz...@wikimedia.de
                CC: wikidata-b...@lists.wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

Several components of the backend need to format snak values in some way;
Similarly, several components have a need to parse snak values. We need a
specification of how code can get access to the formatter/parser it needs.

The following things should be considered:

* formatters and parsers can be specific to a property (data) type, or generic
for a given DataValue type.
* formatters are specific for a given output type (e.g. wikitext, html, etc).
* formatters and parsers can depend on the user's locale.

Experience with formatters and parsers in the front end's JS code should also
be discussed and considered.

-- 
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