Extension talk:InputBox
For the page history, see also here. / previous talk on this page
Contents
| Thread title | Replies | Last modified |
|---|---|---|
| Placeholder support? | 1 | 09:28, 23 May 2012 |
| Make it vertically wider | 2 | 23:16, 9 May 2012 |
| Alter page to visit once done? | 0 | 04:45, 4 April 2012 |
| Width doesn't work and is there any way to set it up so that I can get two buttons with create instead of just one? | 1 | 20:18, 24 March 2012 |
| Add a new section in the middle of the page. | 1 | 17:56, 23 March 2012 |
| Dropdown boxes, checkboxs, radio buttons.... | 0 | 18:36, 17 March 2012 |
| search in a category | 0 | 15:37, 28 February 2012 |
| Prefix doesn't work | 0 | 10:51, 15 February 2012 |
| Text wiki markup/formatting | 3 | 02:17, 12 February 2012 |
| Using to add text (such as user for participant list) | 4 | 23:02, 5 February 2012 |
Could we get support for the placeholder attribute? –124.180.123.236 19:21, 22 May 2012 (UTC)
It should already support placeholder attribute since this commit: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/InputBox.git;a=commitdiff;h=6b49e7d6d899dfe276c6993d53874475e7bedb5e
If you're using an up to date version, you just need to use placeholder=. :)
Is there a way to hack this so that the search field can be larger vertically? 24.130.249.87
I only want to affect the inputbox form. Not the mediawiki search form. Sorry for the confusion. I should have typed "How do I make the inpubox field vertically taller" I don't know how to use CSS to target the extension 67.59.193.62
Is it possible to change what wikipage is displayed once the inputbox is submitted? Example: https://www.mediawiki.org/wiki/Git/New_repositories/Requests
Width doesn't work and is there any way to set it up so that I can get two buttons with create instead of just one?
Width doesn't work. I've tried changing it from width=32 to width =320 and when I do a 123456789012346789012345 check, my width is 25 no matter what. Not sure why this is.. (It could be the .css on my end, but I'm not sure where I would check for that.)
Is there any way to set it up so that I can get two buttons with create instead of just one? I want to be able to have someone type in a page name and either create the page, or create a talk page with button names like [Create Page] - [Talk about it]. How can I do this?
Thank you,
1) Check your CSS cos it works. width=3:
2) Two buttons with different landing pages for one input box? That requires a HTML form which is not possible without extensions. Check Extension:CreateArticle and Extension:SecureHTML.
Is it possible?
For example, I got a page with two sections, I want to use the InputBox to create a new section between those two sections or a new section inside the first one.
I got this:
== 1 == == 2 ==
And I want this:
== 1 == == New Section == == 2 ==
Or this:
== 1 == === New Section === == 2 ==
I don't want the new section to go to the end of the page.
Are there any plans to support other forms of form input in the future? Like check-boxes, radio buttons, or drop-down lists? Is there already an Extension available with all of these abilities that my searches haven't found? Thanx -- Technical 13 (talk) 18:36, 17 March 2012 (UTC)
Is it possible to include formatting on the buttonlabels? The standard search box seems to use bold "Go" and standard "search". Thanks.
Along those lines, anyone have any thoughts on how to add style settings to the submit button as well? Example, I would like to enlarge the text for the "Join" button on the top section of this page: Project:WikiProject Extensions/Participants
If it's not currently possible, perhaps adding a setting to the code? I took a quick look and seems pretty straight-forward (for the above as well). I'd be willing to help with that.
Anyone had any luck using the Extension to create a "sign-up" style setup where someone clicks the button and sees the edit screen with the sig tildes preloaded? The closest I've seen is using it to create "profiles" with the username appearing as a header.
It quite easy to do. New entries are added at the bottom. A quick example:
<inputbox> type=commenttitle editintro=Page_title/Intro <!-- Some instructions for users --> preload=Page_title/Preload hidden=yes page=Page_title <!-- Where to post --> buttonlabel=Button_label default= </inputbox>
Page_title/Preload
{{<includeonly>subst:</includeonly>Template_name
|param1=
|param2=
...
}}
Template:Template_name
text1 {{{param1}}}
text2 {{{param2}}}
--~~~~
...
Great! I set that up here: Project:WikiProject Extensions/Participants
Only problem now is that you have to click save twice since we don't want a subject/header. Any way to disable that in the settings?
Each registered user can set it up in the Prefrences/Editing, Advanced options: Prompt me when entering a blank edit summary. I think it should be now turned off by default.