Page MenuHomePhabricator

Allow editting sections of a page using form elements (drop-downs etc)
Closed, ResolvedPublic

Description

Author: info

Description:
I need to find out if there's a way to put several drop-down boxes on my edit pages
that will then display their results on the normal viewing page. I.e. I want a user
to click on my edit page and be able to rate the product/service they're looking at
with a 1-5, as well as tell how many batteries it uses using a dropdown box. Then, in
the normal wiki editing area I want to be able to specify the location that
information from the above dropdown boxes is displayed on the actual viewing page.
I'm not sure if I'm submitting this enhancement in the proper area, but if not could
someone email me and tell me where I should be looking or who I could contract to add
this feature? Thanks for your time and response.


Version: 1.5.x
Severity: enhancement

Details

Reference
bz3849

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:53 PM
bzimport set Reference to bz3849.
bzimport added a subscriber: Unknown Object (MLST).

info wrote:

Ironically, I'm looking for the exact same idea as this page uses: dropdown menus
and text boxes that, when submitted, display their chosen and entered comments
respectively on the viewing page. How's it done?

rowan.collins wrote:

Hm... I think the design of this proposed feature needs a bit more thought:
something like a number of batteries is presumably static data, like everything
else on the page, something with one "correct answer" (so text saying "edit me"
would actually do fine - it being a wiki - even if not as pretty); ratings, on
the other hand, require more subtle processing, since at the very least you want
to display them in a list (formatted how? editted how?) and possibly also
calculate averages, etc (at which point it's becoming more like an interface to
a database).

This is more or less the right place for the request, btw (but please use more
descriptive summaries in future), although you might also want to ask on the
"mediawiki-l" mailing list; see http://mediawiki.org/wiki/Communication

(In reply to comment #1)

Ironically, I'm looking for the exact same idea as this page uses: dropdown menus
and text boxes that, when submitted, display their chosen and entered comments
respectively on the viewing page. How's it done?

That's not particularly ironic, just vaguely coincidental - this is not a wiki,
it is a copy of "bugzilla", a bug tracker created by the folks who made Mozilla,
Firefox, etc; see http://bugzilla.org. Selecting things with drop-down boxes is
the obvious way to make a web-based interface to a database like this. For how
it's done, look for tutorials on HTML forms and CGI programming (not that
they'll get you much closer to doing what you want in MediaWiki).

Marking FIXED, various Semantic extensions should handle this. Rating extensions also exist.