daniel created this task. daniel added subscribers: Lydia_Pintscher, Aklapper, thiemowmde, hoo, JanZerebecki, aude, daniel, Liuxinyu970226, Bugreporter, Ricordisamoa. daniel added projects: MediaWiki-extensions-WikibaseRepository, Wikidata.
TASK DESCRIPTION Change OutputFormatSnakFormatterFactory to construct a DispatchingValueSnakFormatter based on factory callbacks from DataTypeDefinitions, similar to how OutputFormatValueFormatterFactory. If possible, the fallback logic using automatic escaping used for ValueFormatters should be re-used for SnakFormatters. OutputFormatSnakFormatterFactory should fall back to a GenericValueSnakFormatter for any datatype that has no specialized SnakFormatter associated. That GenericValueSnakFormatter would be based on a DispatchingValueFormatter provided by OutputFormatValueFormatterFactory. TASK DETAIL https://phabricator.wikimedia.org/T112754 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: daniel Cc: Ricordisamoa, Bugreporter, Liuxinyu970226, daniel, aude, JanZerebecki, hoo, thiemowmde, Aklapper, Lydia_Pintscher, Wikidata-bugs _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs