On 16.11.2012 20:13, Jeroen De Dauw wrote:
I have been working under the assumption we do not
want this (at least
initially) so there currently is no place to track such per-property info
internally. If we do want to support this any time soon, I'd like to know now so
we can already facilitate it. (By facilitate it I mean holding it into account
when writing new code or modifying existing stuff, not actually implementing it.)
As far as I remember the discussion, we
1) do not want to allow custom data types, composite data types or list types.
Data types are defined by php code.
2) We do want to be able to impose additional restrictions on data values - like
a range for numbers or a regex for strings. Could be modeled by a Claim for a
special, internal property "value-restriction" or some such.
-- daniel
--
Daniel Kinzler, Softwarearchitekt
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.