Inline question button which opens a form to post a question in a wiki
Feature
This is regarding the Long term project Wiki Discussion. A wiki page can broken down into subsections and can be edit per subsection basis. As the project describes, a wiki should be more interactive. One step for acheving interactivity is letting readers to ask questions. It's more meaningful if a reader can ask questions per section of a wiki page.
Relevant URLs
A detailed description of the project can be found in following links #1438 Project proposal
Implementation
As publiclab is on it's way of integrating inline-markdown-editor library, it's good solving this issue with inline-markdown-editor. Calling and passing required arguments to inline-markdown-editor function can be found here. With the raw=true query string parameter, a wiki page is already broken down into subsections. To add a question button extraButtons proerty should be passed to inline-markdown-editor with an appropriate function. And clicking this button will display a form in a new window to create a question.
😄 🎈 🎉 Want to assign this to yourself? And you can make a Milestone to collect all your sub-issues if you want. Ask me if you don't have access.
Complete!