Last modified: 2012-11-07 04:15:13 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 T34480, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 32480 - [SRF] function getParameters(); Define parameter dependencies, display in Special:Ask
[SRF] function getParameters(); Define parameter dependencies, display in Spe...
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
SemanticResultFormats (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on: 37442 37441
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-18 19:51 UTC by MWJames
Modified: 2012-11-07 04:15 UTC (History)
2 users (show)

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


Attachments

Description MWJames 2011-11-18 19:51:34 UTC
function getParameters() allows do add new parameters to an SRF output but is it possible to define dependencies on a group of parameters?

In Special:Ask, for example the parameter distribution, distributionsort and distributionlimit are interdependent. Meaning only when distribution is true distributionsort and distributionlimit make sense for a display.

Would it be possible for parameters to be assigned to a group and only if the key parameter is true other remember of the group would be displayed in Special:Ask.

Their are certainly other cases where dependencies exists between parameters.
Comment 1 Jeroen De Dauw 2011-11-18 20:08:39 UTC
Validator supports parameter dependencies. This is used for example for the format parameter. However, having special behavior for others might simply not be worth it. And for these params to actually live change on Special:Ask, you'd need to rewrite how the param display on that page works.
Comment 2 MWJames 2012-06-10 00:31:36 UTC
Add dependency r37441

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


Navigation
Links