Background
Users need to have the ability to easily set a chart type when creating/editing a chart using the wizard.
Acceptance criteria
- The form should include a select dropdown chart type field that displays a list with the chart type options.
| • HMonroy | |
| Apr 14 2026, 2:19 AM |
| F76081504: chartBar.svg | |
| Apr 15 2026, 2:25 PM |
| F76081505: chartLine.svg | |
| Apr 15 2026, 2:25 PM |
| F76081506: chartPie.svg | |
| Apr 15 2026, 2:25 PM |
Users need to have the ability to easily set a chart type when creating/editing a chart using the wizard.
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Chart wizard: add chart type field | mediawiki/extensions/Chart | master | +100 -3 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| In Progress | Feature | None | T393637 EPIC Make the chart extension more beginner-friendly | ||
| Open | None | T425715 STORY: Chart form - users should be able to use a form to configure a chart | |||
| In Progress | • HMonroy | T423218 Chart wizard: add chart type select dropdown to form |
I’ve designed the chart type selection as a dropdown with visual menu items, where each option includes an SVG icon to help users quickly distinguish between chart types.
For the area chart, I’ve used the existing Codex icon (chart-graph), since it’s already available and aligns well with that representation.
For the other chart types (line, bar, and pie), the icons have already been designed by the Codex team, but they’re not yet available in the current release. I have the SVGs for these and have attached them here for use in the meantime.
Once these icons are included in Codex, we can switch over to the official versions from the library.
Change #1287047 had a related patch set uploaded (by HMonroy; author: HMonroy):
[mediawiki/extensions/Chart@master] Chart wizard: add chart type field