adrianheine added a subscriber: adrianheine.
adrianheine added a comment.
That looks to me like a fancier and less understandable way of just having an
`additionalData` hash on each data model object. Did I miss something?
interface AdditionalDataSupport {
function getAdditionalData();
}
interface AdditionalData {
function hasData( $name );
function getData( $name, $type = null );
function addData( $name );
}
interface LinkTargetProvider {
function getLinkTargetUrl();
}
interface DataTypeProvider {
function getDataType();
}
interface DerivedValueProvider {
function hasDerivedValue( $name );
function getDerivedValue( $name );
}
The Role Object Pattern doesn't help saying anything about the name of roles or
the type of role objects as far as I see it. Just as a hash, it stores
arbitrary things under arbitrary keys.
TASK DETAIL
https://phabricator.wikimedia.org/T118860
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: adrianheine
Cc: adrianheine, hoo, thiemowmde, aude, Jonas, JanZerebecki, JeroenDeDauw,
Aklapper, StudiesWorld, daniel, Wikidata-bugs, Mbch331
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs