Jump to content

Allow people to add custom buttons to DiscussionTools and VisualEditor, just like the WikiEditor (Community Wishlist/W450)

Accepted
From Meta, a Wikimedia project coordination wiki

View all wishes.

Description
Adding buttons to DiscussionTools: this is ReplyButtonsv4 which gets its config from a JSON file.
Adding buttons to the VisualEditor: this is VEbuttons which gets its config from VEbuttonsJSON.json.
Adding buttons to the WikiEditor: this is WikiEditorButtons

I want endusers to be able to easily add custom buttons to DiscussionTools and the VisualEditor, just like is possible with the WikiEditor which has a bunch of useful toolbar customization options.[1]

There are various JavaScripts that make adding buttons to the old WikiEditor more convenient.

The idea is to make a simple JavaScript GUI that spits out some JSON stored in your userspace. This JSON is then used to create the buttons. Ideally there would be a single script that works for DiscussionTools, the VisualEditor and the WikiEditor.

It is pretty difficult to remember some of the syntax, and I find myself looking up stuff once in a while. We got FavouriteTemplates, which is a step in the right direction, but not good enough. Clicking a button to insert a complicated string of wikisyntax is much easier than looking up the template and filling out all the parameters etc.

I've done various experiments in this area, see my userspace.

The proof of concepts allow you to use any picture, because the OOUI icons are rather limited.

Assigned focus area

Unassigned

Type of wish
Feature request
Tags
Affected users

This would affect all users.

Phabricator tasks
Other details
  • Created: 04:14, 23 October 2025
  • Last updated: 16:08, 28 October 2025
  • Author: Polygnotus (talk)
Voting

This wish currently has 7 supporters. Voting for this wish is open until it is completed.

Supporters of this wish
Support Pppery (talk) 16:21, 24 October 2025
Support 析石父 (talk) 17:34, 24 October 2025
Support Polygnotus (talk) 16:51, 25 October 2025
Support Matěj Suchánek (talk) 08:39, 29 October 2025
Support EdoAug (talk) 00:58, 8 November 2025
Support Iniquity (talk) 13:19, 16 November 2025
Support Paloi Sciurala (talk) 21:51, 28 November 2025