Extension talk:InputBox

From MediaWiki.org
(Redirected from Extension talk:Inputbox)
Jump to: navigation, search

For the page history, see also here. / previous talk on this page

Start a new discussion

Contents

Thread titleRepliesLast modified
Placeholder support?109:28, 23 May 2012
Make it vertically wider223:16, 9 May 2012
Alter page to visit once done?004: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?120:18, 24 March 2012
Add a new section in the middle of the page.117:56, 23 March 2012
Dropdown boxes, checkboxs, radio buttons....018:36, 17 March 2012
search in a category015:37, 28 February 2012
Prefix doesn't work010:51, 15 February 2012
Text wiki markup/formatting302:17, 12 February 2012
Using to add text (such as user for participant list)423:02, 5 February 2012

Placeholder support?

Could we get support for the placeholder attribute? –124.180.123.236 19:21, 22 May 2012 (UTC)

124.180.123.23619:21, 22 May 2012

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=. :)

Grunny (talk)09:28, 23 May 2012
 

Make it vertically wider

Is there a way to hack this so that the search field can be larger vertically? 24.130.249.87

24.130.249.8701:13, 22 April 2012

Use CSS. E.g. #searchform input {width:250px}.

Subfader (talk)08:44, 24 April 2012

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

207.47.18.25423:16, 9 May 2012
 
 

Alter page to visit once done?

Is it possible to change what wikipage is displayed once the inputbox is submitted? Example: https://www.mediawiki.org/wiki/Git/New_repositories/Requests

Varnent (talk)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?

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,

     ShoeMaker (talkcontributions)19:55, 23 March 2012

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.

Subfader (talk)20:18, 24 March 2012
 

Add a new section in the middle of the page.

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.

189.38.207.18417:42, 22 March 2012

No. You can however add new entries on subpages which are transcluded in the middle of the main page.

Mikołka (talk)17:52, 23 March 2012
 

Dropdown boxes, checkboxs, radio buttons....

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)

Technical 13 (talk)18:36, 17 March 2012

search in a category

Is there a possibility to search in a certain category?

80.149.179.215:37, 28 February 2012

Prefix doesn't work

Prefix doesn't work. Is Lucene required?

Subfader10:51, 15 February 2012

Text wiki markup/formatting

Is it possible to include formatting on the buttonlabels? The standard search box seems to use bold "Go" and standard "search". Thanks.

-- Trevj (talk)16:01, 10 February 2012

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.

Varnent00:47, 12 February 2012

You can try it this way (please revert me if you don't like it), it has however some shortcomings: no hover effects, browser-type dependency.

Sincerely, Mikołka01:36, 12 February 2012

That'll work great - thank you!  :)

Varnent02:17, 12 February 2012
 
 
 

Using to add text (such as user for participant list)

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.

--Varnent 04:53, 23 December 2011 (UTC)22:47, 21 January 2012

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}}}
--~~~~
...
Mikołka23:11, 21 January 2012

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?

Varnent22:27, 5 February 2012

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.

Mikołka22:52, 5 February 2012

That makes sense.  :) I'll tweak the messages to reflect that.

Varnent23:02, 5 February 2012
 
 
 
 
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox