Jump to content
  • 0

Allow user to Input a variable in an inputbox


cppsax

Question

Hello,

I installed MediaWiki 1.29.1 with the Variables and ExternalData extensions.
I created pages in which a predefined variable in the body of the page calls external data from a csv file filtered on this variable and returning a table with all the results.

I would now like to leave the choice of this variable to the user.

It seems that the Inputbox does not allow to assign user's input to a variable.
I would not want this entry to create a new page nor a section but serve as a filter to my external data called in the table in the same page / section.
I would like to avoid having to install Semantic Mediawiki which seems to provide this possibility.

Can someone help me to this point on which I have been blocking for several days.

Thank you in advance.

Christophe, from Paris.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

This is unfortunately not possible with just the Inputbox extension. You may be able to make use of the Page Forms extension for this purpose (it's part of Semantic MediaWiki but can be installed standalone if you don't want all of SMW installed). However, I've never actually tried it out myself so I cannot say for certain whether or not it will work. You can grab the extension at https://www.mediawiki.org/wiki/Extension:Page_Forms

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.