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

            Bug ID: 68025
           Summary: Dispatching formatters should have factory methods for
                    derived instances, to allow overriding individual
                    inner formatters.
           Product: MediaWiki extensions
           Version: unspecified
          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: ---

DispatchingSnakFormatter, DispatchingValueFormatter, and
PropertyValueSnakFormatter should have a getDerivedFormatter() method, which
would allow individual inner formatters to be overwritten in an otherwise
identical instance of the same kind of formatter.

The idea is to allow code using such formatters, such as EntityView, to control
individual inner formatters (such as the EntityIdHtmlLinkFormatter).

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

Reply via email to