Last modified: 2009-02-13 00:36:22 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12943, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10943 - Optionally use HTML listboxes instead of auto-completion
Optionally use HTML listboxes instead of auto-completion
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
All All
: Normal enhancement (vote)
: ---
Assigned To: Yaron Koren
Depends on:
  Show dependency treegraph
Reported: 2007-08-15 15:11 UTC by Sergey Chernyshev
Modified: 2009-02-13 00:36 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Sergey Chernyshev 2007-08-15 15:11:47 UTC
This bug is derived from Bug 10875

Optionally allow to limit user to the set of already existing values for the field - same set of values that is used for auto-completion. But use HTML listboxes (instead of fee-form input fields) to limit user's choice.
Comment 1 Yaron Koren 2007-09-04 22:49:52 UTC
Probably the best approach to this is to allow dropdowns/radiobuttons to get their values directly from the form definition, instead of from an enumeration. So you could have an input that looks like:

{{{input|country|input type=dropdown|values=Angola,Bolivia,Canada}}}

Then, once wiki-parsing of the form could be done before SF's own parsing (that's a separate "bug" on here), you could also have calls that looked like:

{{{input|country|input type=dropdown|values=<ask format=list>[[Category:Countries]]</ask>}}}

...or even use more complicated queries.
Comment 2 Eep² 2007-09-04 23:05:05 UTC
And, more preferably, not just limited to Semantic MediaWiki's <ask> queries but also DPL's <dpl> queries...

Any ETA on when this might occur?
Comment 3 Yaron Koren 2007-09-04 23:17:11 UTC
Sure, DPL too, or anything else that can generate a list of values.

Sadly, there's no ETA on any of these.
Comment 4 Yaron Koren 2009-02-13 00:36:22 UTC
This can be done as of version 1.4, using the "values from category" parameter for field declarations.

Note You need to log in before you can comment on or make changes to this bug.