T249391 implements new functionality for enabling people to customize the edit summary that accompanies comments posted with the Reply Tool.
This task is about making it so people who always want the custom edit summary to appear within the Reply Tool [i] have a way of making it so the tool behaves in this way.
Implementation details
Anytime someone opens or closes the Advanced shelf a preference is set. This will produce the following behavior (not exhaustive):
Case 1
- Open the Reply Tool
- Draft a comment (it shouldn't matter whether you are in visual or source)
- Click the Advanced affordance to reveal the Comment summary field (it shouldn't matter whether you affect the contents of the field)
- Close the Reply Tool or publish the comment you drafted in "Step 2"
- Navigate to a new talk page where the Reply Tool is enabled
- Open the Reply Tool
- ✅ Notice the Comment summary field is shown
Case 2 (continuation of "Case 1)
- Draft a comment (it shouldn't matter whether you are in visual or source)
- Click the Advanced affordance to "hide" the `Comment summary" field
- Close the Reply Tool or publish the comment you drafted in "Step 8"
- Open the Reply Tool
- ✅ Notice the Comment summary field is not shown
Feedback
This sections contains links to feedback people have shared about the current implementation.
- At sv.wiki (translated using Google Translate) | https://w.wiki/eCm
- "I wish that the editing comment was open by default, or that it would be possible to "pin" it so that it was always open to me if I wanted it, and that it was under its own heading, not "advanced" if it could be closed." via LittleGun here: https://w.wiki/eCs
- At cs.wiki
- "Feedback from Czech Wikipedia: Advanced user (sysop) didn't know that he can add custom summary because of "hided" field. And I agree with him, it isn't easy to find it. via @Patriccck here: https://w.wiki/eCr
Ideas
- ✅ Sticky preference: if you customize the edit summary of the last comment you posted with the Reply Tool, the next time you open the tool the "Advanced" shelf should be shown.
- Special:Preference: create a new preference in Special:Preferences that enables people to explicit decide whether the "Advanced" shelf be always shown or not
- Settings with in the tool: introduce a settings menu within the Reply Tool that enables people to customize aspects of the tool, like whether or not the "Advanced" shelf is always shown
- @Nirmos wrote some code so that the Comment summary field is always shown. See: https://w.wiki/eCo .


