Last modified: 2012-01-23 04:59:43 UTC
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.
It appears this feature is available in Semantic Forms Inputs, when combined with Semantic Treeview or perhaps some other tree view extension, like TreeAndMenu: http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs#Menuselect "If you use wiki-internal links, the link text will be shown in the menu while the name of the target article will be sent back to the form." It appears it was broken until version 0.5, from December 2011: http://www.mediawiki.org/wiki/Extension:Semantic_Forms_Inputs/Version_History I can add SFI to my list of things to test, and if I come up with a way to do it, we can close this enhancement, and I'll produce some documentation for it.
*** This bug has been marked as a duplicate of bug 23557 ***