For wikis with the VisualEditor installed, I think it would be handy to have a setting that enables a selector that allows a user to choose between creating an article in the VisualEditor and the source editor. It would certainly be neater than having two separate boxes.
Jump to navigation Jump to search
Reply to "Option to choose between the VisualEditor and source editor"
Reply to "New target (tab/window)"
Reply to "useve and preload doesn't work together"
Reply to "Passing pagename as a category"
Reply to "Problem when using prefix and preloadparams together"
Reply to "Creating subsection"
Reply to "Form field enter key behaviour"
Reply to "Force inputbox to use Special:Search&profile=all&search=&fulltext=1"
Reply to "Autocomplete possible?"
Option to choose between the VisualEditor and source editor
New target (tab/window)
Ni! Especially for new page creation, it would be very useful if there was a parameter to launch the editor/action in a new tab or window. Quite often a page will have a button to create or edit another page, while the documentation pertaining to the activity to be developed on the next page is to be found in the original page where the inputbox is. There's a (very low) limit to what we can do to help users with only preloaded comments. I deal with this problem very frequently in my Wikiversity courses, but also in the organization of wikiprojects and editathons/workshops. This seems like a low hanging (and tasty) fruit. Abraços!
That sounds like a good idea to me! I've quickly searched Phabricator and I don't see an existing request for this feature idea. Please do file a new task there. (Ideally, include a specific example or two). Thanks!
Thanks for the support and pointing me to the right place, Quiddity ! :)
Here it is:
useve and preload doesn't work together
I tried to converte some of our inputbox on fr.wikinews for using VE but it seems that useve is not working with preload parameter. (example here)
I look below and it seems to be the same issue that with prefix.
Known issue: phab:T172631
Passing pagename as a category
Firstly, sorry for the troubles as I'm new to mediawiki and can't find any beginner-friendly documentation that doesn't assume I can code in HTML/PHP, but hopefully this is an easy one.
I'm trying to use an InputBox to create a child page of the current page the InputBox is on, and for the life of me I cannot find a way to take the current PAGENAME and pass it to the created page to be it's Category. Can this be easily done, or am I destined to use a million and one templates for each of the possible categories? A crazy theory I had was to create a single page to be preloaded with the text 'Category:PAGENAME' (notated appropriately, of course), though I concluded it would likely grab the PAGENAME from the newly created page, which does me no good.
Thanks alot, I appreciate any help or guidance!
In the preload page, you should put the category without variables nor PAGENAME. The category as-is.
This of course means you'll need to create one preload page for each page you put the inputbox in.
Problem when using prefix and preloadparams together
I run in an issue when I try to pass the prefix (i.e. Category:) and the preloadparams parameter at the same time and call it in my template via $1. In the called URL, preloadparams becomes preloadparams and this does not work with the template. If I remove the prefix parameter it stays with preloadparams and everything works as it should. Any idea?
Thanks a lot!
Ok, seems to be related to https://phabricator.wikimedia.org/T212769
Is there also a way to tell InputBox to not create a new section (== Section ==), but a subsection (=== Subsection ===)? Thanks in advance, ~~~~
No, that's currently not possible
I want to change too.
section (== Section ==) is not something heavily uses
Form field enter key behaviour
How would I go about controlling the behavior of the enter key when pressed when a form field has focus in a form?
The default appears to be that it submits the whole form, regardless of which input box is currently focussed.
I believe that is the only behaviour possible, because it's just showing an HTML form within which that is the standard behaviour.
Force inputbox to use Special:Search&profile=all&search=&fulltext=1
Hi, is it possible to present on a page, exactly what we see when we go to Special:Search&profile=all&search=&fulltext=1 ?
To provide the advanced search options from the beginning, rather than having to first make an empty search?
No. I suggest you add a link to the special:search page where you want this functionality instead of trying to create a replica of that page on another one.
Is autocompletion possible in search type InputBox?
It is not. If you have a suggested use-case in mind, please write it up as a feature-request task in Phabricator using this tag https://phabricator.wikimedia.org/tag/mediawiki-extensions-inputbox/
Use Case: Build a google-like start page
Concerning the translation I observe that this page is very well conceived; messages are short and nicely segmented. Translation was fast, fluent, efficient and a real pleasure for me. Thanks all for you work.