https://bugzilla.wikimedia.org/show_bug.cgi?id=32891
Web browser: ---
Bug #: 32891
Summary: Displaying alternate information in autocomplete
dropdowns
Product: MediaWiki extensions
Version: any
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Unprioritized
Component: SemanticForms
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
In my application of Semantic Forms, pages are given serial numbers that give
no indication of what is on the page. However, there is a property on each page
that contains descriptive text. I would like to have my autocompletes and
dropdowns show alternate information in the dropdowns, perhaps like this:
{{{field
| Some field
| input type=combobox
| existing values only
| values from category=Some category
| autocomplete alternate={{#ask: [[Category:Some category]] | ?Alternate
autocomplete property}}
}}}
I plan on using that for text values such that some obscure serial number will
be translated to something human readable. For example, let's say the page
names are RGB color values. Instead of showing the numerical values in the
dropdown, I could have it instead show color names like "red", "green", or
"blue".
If we wanted to take this a step further, supporting query templates might
allow me to show images of things that are blue in the dropdown. Such
capability makes it possible to select not just text values in a dropdown, but
also visual items that represent the text values.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l