Daniel Werner has uploaded a new change for review.

Change subject: Dropdown for commonsmedia view for choosing Commons Media file 
(DO NOT MERGE)
......................................................................

Dropdown for commonsmedia view for choosing Commons Media file (DO NOT MERGE)

Uses $.suggester and uses the commons media API for suggesting pages from the 
File namespace.
Needs some adjustment:
- Create a new jQuery widget for selecting common media files. This should 
display the suggestions without the leading 'File:' prefix.
- $.suggester seems to not work properly with textarea. In a new Wikibase 
Statement when typing "Fi", then choosing "File:test.png", clicking save, only 
"Fi" will be displayed. Basically only the text typed by hand will be 
displayed, not the selected text.
- more $.suggester from Wikibase into DataTypes extension.

Change-Id: Id6881a5b084841675bb64e62e0e61a7563d9fbcc
---
M DataTypes/resources/jquery.valueview.LinkedSingleInputWidget.js
M DataTypes/resources/views/commonsMedia.js
2 files changed, 17 insertions(+), 1 deletion(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id6881a5b084841675bb64e62e0e61a7563d9fbcc
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DataValues
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