Page MenuHomePhabricator

Inputbox with option type=comment produces pages in main namespace
Open, Needs TriagePublic

Description

In this page https://smn.wikipedia.org/wiki/Wikipedia:Mii_lii_kooveest I have made an inputbox for adding new sections to the page. While it seemed to work for a while, it has now started producing pages in the main namespace instead.

Let me know if I have missed some code error, or if there is another kind of problem.

I am also using Discussion Tools on the page. There are still some placeholders for the reply links, just to clarify.

Event Timeline

Tacsipacsi added a subscriber: Tacsipacsi.

type=comment wants the page title in the input field, not the section title, see https://www.mediawiki.org/wiki/Extension:InputBox#Box_types. So unless you happen to write the title of that page in the input field, it won’t work as you expect. Use type=commenttitle instead. (And this has absolutely nothing to do with DiscussionTools, DT don’t even support starting new sections yet.)