[go: up one dir, main page]

Page MenuHomePhabricator

WikiEditor: allow a non-message title string for added characters
Closed, ResolvedPublicFeature

Description

When adding characters to the WikiEditor toolbar, it's possible to set titleMsg, but it's not possible to set a free-form string title. This is rather limiting for personal or site-local scripts which might wish to use a title tooltip but not be able to set a MediaWiki message.

For example, rather than:

						{
							label: '·',
							titleMsg: 'special-characters-title-interpunct',
							action: {
								type: 'replace',
								options: {
									peri: '·',
									selectPeri: false
								}
							}
						}

you should be able to do

						{
							label: '·',
							title: 'interpunct',
							action: {
								type: 'replace',
								options: {
									peri: '·',
									selectPeri: false
								}
							}
						}

Event Timeline

Change 725903 had a related patch set uploaded (by Inductiveload; author: Inductiveload):

[mediawiki/extensions/WikiEditor@master] Allow a free-text string 'title' field when adding characters

https://gerrit.wikimedia.org/r/725903

Change 725903 merged by jenkins-bot:

[mediawiki/extensions/WikiEditor@master] Allow a free-text string 'title' field when adding characters

https://gerrit.wikimedia.org/r/725903

matmarex assigned this task to Inductiveload.