Topic on Extension talk:InputBox

Mattho69 (talkcontribs)

Hi !

Is it possible to use InputBox with VisualEditor ?

Bozomal (talkcontribs)

I guess you are asking about the create article "problem"?

I'm a newbie, so probably what I'm suggesing might be very bad, but worked for me

here is suppoed to be a solution, but not working for me

so I search in the source files and found that if you change the file /extensions/Inputbox/Inputbox.classes.php and change action to veaction (see below) the magic happens. This doesn't work When you are using the parameter prefix, it won't create an article with prefix in the name.

$htmlOut .= Xml::openElement( 'input',
  array(
        'type' => 'hidden',
	'name' => 'veaction',
	'value' => 'edit',
	)
Mpconnick (talkcontribs)

An easier way (now) to do this is add the parameter 'useve' for InputBox. I'm not sure when this was added, but I'm running MediaWiki 1.26.2.

<inputbox>

type=create

break=no

useve=yes

</inputbox>

Mattho69 (talkcontribs)

Thanks for that ;-)

Do you know if using a preload is possible with VisualEditor?

Swennet (talkcontribs)

@Mattho69 Did you manage to get preload working with VisualEditor?

Mpconnick (talkcontribs)

I'm not sure what you mean by preload. I'm pretty new to administering an instance of MediaWiki. Still figuring a lot out. Sorry I can't be of more help.

Mattho69 (talkcontribs)
OgreMHDW (talkcontribs)
Reply to "VisualEditor"