Page MenuHomePhabricator

Summary should not be used as title in a New Discussion when title is empty
Closed, ResolvedPublic

Description

  1. Visit a talk page, having beta Discussion tools enabled
  2. Click Add topic
  3. Keep Title field empty. Type a description and a summary (under Advanced), then submit.

Actual result: summary has been used as title, (== my summary == has been added above the description)

Expected result: summary is only used as edit summary in History page; description is published without any title (no == == markup)

Use case: some messages come from template (substituted or not), and template may contain a heading. You can look at this real example where I had used {{template name}} as summary (so template had been added twice…).

Event Timeline

I've proposed a patch for the API bug T54747, which should also resolve this issue for DiscussionTools.