Extension talk:InputBox
For the page history, see also here. / previous talk on this page
Contents
![]() First page |
![]() Previous page |
![]() Next page |
![]() Last page |
Is it possible to add a parameter which automatically adds an incategory:
modifier to the search terms, something like prefix
?
Check out rationalwikiwikiwiki:WikiIndex. This page transcludes rationalwikiwikiwiki:Template:Wiki, which has an inputbox tag in it with urlparameter=search URL
as a parameter. That tells it to look for |search URL= in the transcluded template. So, by putting |search URL=http://wikiindex.org/, that creates a search bar to search WikiIndex. This is implemented by a hacked InputBox.classes.php using some code borrowed from ChangeWikiaEngine.php (although I probably should have borrowed from Manual:Chris_G's_botclasses/ParseMirroredWikiIndexBot.php instead, since it has more robust template parsing) along with a slightly hacked InputBox.hooks.php.
Hi, I'd be interested in that. The above links (ratoinalwikiwikiwiki) do not work, is there any place this can be found?
There's no live wiki that has that hacked version installed right now. I kinda lost interest after it turned out that WikiIndex probably wasn't going to be able to use it.
Hi, is it possible to integrate the MediaWiki styles with this extension? Would be nice to figure that out or get some pointers!
+1 to Tighe's question.
We'd love to be able to have inputboxes look like mw-ui-buttons.
Please see bug:61526.
Thanks!
How do I set the search profile, to avoid sending users to the advanced search? For instance, &search=nota&fulltext=Ricerca&profile=help&redirs=1.
To elaborate: w:it:Aiuto:Aiuto has an inputbox helping people to find help; it searches Help+Project namespaces and currently (before gerrit:132965) this is the same as the "help" profile, which gets selected automatically. In this way the "powersearch" checkboxes slate is not shown, which would otherwise occupy most of the screen space and make search results hard to find (as I noted in a "focus group" of librarians the day I posted this question).
I would like to change the color of the button from inputbox (not the background color, but the color of the button itself.) Any ideas how to do this? I'm using foreground as a skin. Thanks!
Is there any way to pass other parameters from Manual:Parameters to index.php to the URL on submit? Like if I wanted to pass &preview=no to the URL using inputbox, how do I do that? I've tried adding it to various other variables, but it gets URL encoded before it goes to the URL...
I've installed InputBox to preload a page with some text using a simple button.
I've installed also BoilerRoom for those users able to choose which text to be inserted into a page, but with BoilerRoom InputText is not longer able to preload the text.
When using this to make a new section, is there a magic word or some other way to access the new section name that the user just typed into the box for display in the editintro? Please ping me at w:User talk:Cupco if so. Thanks! Cupco (talk) 17:57, 21 September 2012 (UTC)
Could you add an option to open the results in a new tab?
There are many search boxes for searching Village Pump and other archives on Wikipedia, the Commons, etc.. Unfortunately, those search boxes are usually not on separate pages that can be bookmarked. So one can not find a way to keep the Village Pump page open in one tab, and the search in another tab.
It is the job of the Web browser, not of the Web site.
For example, with nice browsers, I can validate a form and open its result as a new background tab by Apple-clicking its submit button, or by pressing Apple Return or Apple Enter.
Nnemo
According to this article Apple Safari is the worst browser out of the six browsers that were compared.
Browsers are inconsistent or lacking in how they open links in new tabs. I usually right-click in Firefox and use the context menu to open a link in a new tab or window.
But search forms created by InputBox do not allow this. Is there a way to make the search forms here open to new tabs by right-clicking?:
In Firefox pressing Ctrl while clicking search or the search icon does not open the search result list in a new tab. I tried pressing various other keys, and none work.
- Safari: Apple + Submit
- Chrome: Ctrl + Submit
- Firefox: https://addons.mozilla.org/en-US/firefox/addon/tabsubmit/
Forget all my posts, I thought the OP talks about openeing the search page in a new tab.
Thanks for the Firefox addon link. The Firefox addon works, but that will not help most people. It would be nice if the submit button for MediaWiki inputbox forms was also in the form of a link. In other words when one runs a mouse cursor over it a link would show up. That way it could be right-clicked and opened in a new tab.
That would not be HTML conform. The browser decides how a submitton looks and works like.
True, but MediaWiki can decide to combine the 2 functions of links and submit buttons. This may be relevant too: https://bugzilla.mozilla.org/show_bug.cgi?id=17754
There are some scripts that work. See:
Hello to all. I just installed the extenion "InputBox-MW1.19-110961.tar.tar" and added the reference in the LocalSettings.php.
I get this error when I try to view my user-created pages : Fatal error: Call to undefined method MediaWiki::getAction() in /home/thebigma/public_html/wiki/extensions/InputBox/InputBox.hooks.php on line 55"
Line 55 is : if( $wiki->getAction( $request ) !== 'edit' ){
I can however click the back arrow and view my home page or the special pages.
I commented the if statement out... /**if( $wiki->getAction( $request ) !== 'edit' ){ # not our problem return true; }*/ ...and the wiki is again functional. (Of course, I expected to see something special. Still trying to understand how to get this extension working.)
Is there any way to use this extension to add to a table? For example... If I had a table that was logging the use of a car...
Name | Date | Mileage | Purpose |
---|---|---|---|
John | 6/13/12 | 13 miles | Getting groceries |
Is it possible to create an input box with 4 boxes for "Name", "Date", "Mileage" and "Purpose" and set it up so that clicking Go will add this to the end of the table?
Hello,
The texts in the buttons never end with a period. Which is like in all user interfaces I have seen.
Except the button “Essayez la correspondance exacte.” Which is weird.
Please remove that period.
Thanks, and keep up the good work !
Nnemo
Done with this edit. Please allow some time to get through to existing wikis. Cheers
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=
. :)
![]() First page |
![]() Previous page |
![]() Next page |
![]() Last page |