Page MenuHomePhabricator

Add Function icon for use in visual and 2017 wikitext editors
Closed, ResolvedPublic

Description

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
	<title>
		function
	</title>
	<circle cx="11.5" cy="15.5" r="4.5" />
    <path d="M9 10 2 4l-2 9 9-3ZM19 1l-8-1-1 8 8 1 1-8Z"/>
</svg>
  • Register it in RL under a name
  • Use it instead of "function" icon in VE locations:
    • ve.ui.WikifunctionsCallContextItem.static.icon
    • ve.ce.WikifunctionsCallNode.static.iconWhenInvisible
    • ve.ui.WikifunctionsCallDialogTool.static.icon

Event Timeline

Change #1127586 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] [WIP] Introduce our custom icons for the VE integration and use them

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

Change #1127586 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Introduce our custom icons for the VE integration and use them

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

No need to wait for deploy on this one, as it's not live in prod.