daniel created this task.
daniel claimed this task.
daniel added subscribers: Ricordisamoa, gerritbot, daniel, Aklapper, 
Lydia_Pintscher.
daniel added projects: Wikidata-Sprint-2015-09-01, Wikidata-Sprint-2015-08-18, 
Patch-For-Review, Wikidata, MediaWiki-extensions-WikibaseRepository.

TASK DESCRIPTION
  In many places, like when creating formatters, we fall back to handling based 
on the value type if no specific handling is defined for a data type. Factory 
callbacks for value types are currently hard coded. To ensure consistency with 
the registered data types, improve locality of the factory code, and allow new 
value types to be registered dynamically, factory callbacks for value types 
should be defined the same way as data types, namely in $wgWBRepoDataTypes and 
$wgWBClientDataTypes.
  
  The two global arrays should be changed to use the convention already 
implemented in some places that allow handlers per datatype as well as 
fallbacks to value types: data types use the "PT:" prefix, value types use the 
"VT" prefix.

TASK DETAIL
  https://phabricator.wikimedia.org/T118497

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel
Cc: Lydia_Pintscher, Aklapper, daniel, gerritbot, Ricordisamoa, Wikidata-bugs, 
aude, Mbch331



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to