Page MenuHomePhabricator

[SPIKE] How will the New Discussion Tool be made to support preloaded discussion templates
Open, Needs TriagePublic

Description

On certain pages, wikis use preloaded templates help people start new discussion threads in a particular way. See "Examples..." below.

This task is about understanding the following open questions...

Open questions

  • 1. How do contributors create the templates that are used to populate the new discussion form?
  • 2. How will the New Discussion Tool need to be configured such that it is compatible with how people are currently creating and integrating templates into the existing "Add topic" / "New section" workflow?

Examples: preloaded new discussion templates

French Wikipedia

English Wikipedia

Done

  • "Open questions" are answered
  • Tickets are filed for any additional work that may need to be done to ensure the new discussion workflow supports preloaded templates

  1. Creating a new discussion topic on these pages, using the buttons mentioned above, will create the discussion on a subpage.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 21 2020, 12:02 AM
ppelberg updated the task description. (Show Details)Apr 21 2020, 12:10 AM
ppelberg updated the task description. (Show Details)
ppelberg renamed this task from Explore how wikis will integrate preloaded templates into revised new discussion workflow to [SPIKE] How will the New Discussion Tool be made to support preloaded discussion templates.Sat, Sep 5, 12:22 AM
ppelberg updated the task description. (Show Details)
Esanders added a comment.EditedMon, Sep 7, 10:33 PM

We've done this before with the 2017 wikitext editor, so I imagine adding support for templates won't be that hard.

The only sticking point is what to do for visual mode, but for a first pass we can just always use source mode for preloads (which is what Flow does).

The more pressing question right now as we design the new discussions feature, is how we handle section=new URLs in the first place.

Thanks for adding this SPIKE here. Is there a separate SPIKE for exploring designs for integrating templates or is that part of this ticket? @ppelberg

Is there a separate SPIKE for exploring designs for integrating templates or is that part of this ticket?

@iamjessklein there is not currently a design-specific ticket for exploring how "preloads" will be integrated into the New Discussion Tool...I'd been assuming that thinking would happen as part of T243248 (see the "Considerations" section in the task description [i]).

Although, you asking this leads me to wonder: are you asking about a design-specific SPIKE to explore the affordance we've talked about that would enable people to "invoke" templates to create certain kinds of topics, as is done on Github? [ii][


i.


ii.

Step 1: select from the available new "Issue" templatesStep 2: fill out the new "Issue" template