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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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.