Topic on Extension talk:InputBox

comment and page don't work together

Adamw (talkcontribs)

The documentation suggests that the type=comment mode can be used to add a section to an existing page, when the page= parameter is provided:

<inputbox> type=comment page=Project:Sandbox </inputbox>

This would be great but it seems to not be how the feature works. Instead, the page parameter is ignored and the input text is used as the title of a new page. Not terribly useful when adding a section. I'd like to tweak this behavior to align with the documentation.

Adamw (talkcontribs)

I've searched for this syntax on all wikis using the search insource:inputbox insource:/type=comment/ -insource:/type=commenttitle/ insource:/inputbox.*page=.*\/inputbox/ and it seems that the few existing usages are a mistake. However, I don't think that I shouldn't simply change the behavior, because a few usages combine default= and hidden=yes to add a blank section to an existing page. It would be confusing if the input field was used as the page title only when page= is not present.

Arjunaraoc (talkcontribs)
Reply to "comment and page don't work together"