Daniel Werner has uploaded a new change for review.

Change subject: snakview will now display a message if a property with 
unsupported type chosen
......................................................................

snakview will now display a message if a property with unsupported type chosen

Before the commonsMedia type was chosen for all properties, this was hard coded 
in the snakview. Now we get the property ID by the entity selector widget and 
make an API call to get the data types of the property. This could be optimized 
if the search would actually return the data type as well.

Depends on I7a364cda in DataValues extension repo.

Change-Id: Ic728186703632be4f0a51dae9a0eff15fb2c8ded
---
M lib/resources/Resources.php
M lib/resources/jquery.wikibase/jquery.wikibase.snakview.js
M repo/Wikibase.i18n.php
3 files changed, 28 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/06/34906/1
--
To view, visit https://gerrit.wikimedia.org/r/34906
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic728186703632be4f0a51dae9a0eff15fb2c8ded
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Daniel Werner <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to