Page MenuHomePhabricator

Add "Preview" and "Cancel" buttons to WikiForum pages where the reply form is present
Open, MediumPublic

Description

Wikitext is hard (no citation needed) and even the most experienced of us make rookie mistakes with it sometimes. Sites generally speaking encourage the use of the preview button...except in WikiForum's case the only available button is "Save reply"! (As seen on this forum thread and basically any forum thread once you're logged in.)

LQT has these buttons (well, "Show preview" as a button and "Cancel" as a link); see TWN's Support page (while logged in as a user w/ sufficient edit rights) for a live example of that. Maybe we could lift some code there?

Event Timeline

ashley assigned this task to UltrasonicNXT.
ashley raised the priority of this task from to Medium.
ashley updated the task description. (Show Details)
ashley added a project: WikiForum.
ashley subscribed.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This function can be enabled by enabling side by side preview in the labs feature subsection of editing in a user's preferences, however it should still be possible without having to enable that. Here's where it's located: http://en.brickimedia.org/wiki/Special:Preferences#mw-prefsection-editing

Related tickets: T156055 and T150975

This could be done by hooking onto the WikiEditor preview JavaScript module, jquery.wikiEditor.preview.js. https://github.com/wikimedia/mediawiki-extensions-WikiEditor/blob/master/modules/jquery.wikiEditor.preview.js

Aklapper added a subscriber: UltrasonicNXT.

This task has been assigned to the same task owner for more than two years. Resetting task assignee due to inactivity, to decrease task cookie-licking and to get a slightly more realistic overview of plans. Please feel free to assign this task to yourself again if you still realistically work or plan to work on this task - it would be welcome!

For tips how to manage individual work in Phabricator (noisy notifications, lists of task, etc.), see https://phabricator.wikimedia.org/T228575#6237124 for available options.
(For the records, two emails were sent to assignee addresses before resetting assignees. See T228575 for more info and for potential feedback. Thanks!)