Page MenuHomePhabricator

Parameter "prefix" is ignored in Inputbox, when useve=true.
Open, Needs TriagePublic


When creating a page with Inputbox, "prefix" parameter is ignored, when "useve=true" is used.

Result: Can only create pages, using a prefix, in source code edit. Not in VE.

Event Timeline

That's an issue of VisualEditor, as it does not handle these kind of editor options, not an issue of InputBox :)

No, it is an issue of inputbox. The string passed to VE is without the prefix.
The proof is that VE is able to create user pages, via Inputbox,
without using the prefix, as long as the whole path of the page to be created is typed.
Inputbox does not ever send the whole string (combination of prefix and typed string) to VE.

Sorry, I first had the impression, that the prefix URL parameter is handled in MediaWiki core, which then would be something, which is not implemented in VE. However, it is handled by InputBox itself, but only for the edit action, not for the veaction edit. I'll upload a fix for that.

Change 370370 had a related patch set uploaded (by Florianschmidtwelzow; owner: Florianschmidtwelzow):
[mediawiki/extensions/InputBox@master] Let InputBox redirect veaction=edit when prefix param is set

Aklapper added a subscriber: Florian.

Removing task assignee due to inactivity, as this open task has been assigned to the same person for more than two years (see the emails sent to the task assignee on Oct27 and Nov23). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome.
(See for tips how to best manage your individual work in Phabricator.)