Page MenuHomePhabricator

Don't ask me to put a section heading in the section heading field if I'm typing it in my new section
Open, Needs TriagePublic

Description

Goal: Create a new section that puts this wikitext on many pages:

==Change==
There will be a change.  ~~~~

How it works now:

in the 2010 wikitext editor:

  1. Copy wikitext
  2. Click 'New section'
  3. Paste code in the big box
  4. Publish
  5. Done

in the New Discussion tool:

  1. Copy wikitext
  2. Click 'New section'
  3. Paste code in the big box
  4. See warning
  5. Worry
  6. Publish anyway
  7. Get warning

It might be possible to skep the "See warning and worry" steps, if the New Discussion tool can be clever enough to figure out that I added the section heading manually.

Event Timeline

Ideally, it would even figure out if I'm subst:ing a message template that includes a section heading, e.g., https://en.wikipedia.org/wiki/Template:Welcome

And even more ideally, it would even use the correct edit summary, i.e. save the edit adding enwiki’s {{welcome}} with the edit summary /* Welcome! */ new section instead of an empty summary.

Also, it could warn if it notices a section title in the input, but the user filled out the separate title field as well (otherwise it creates a totally empty section, consisting of only the section header with the title from the separate field).