Jump to content

WMDE Technical Wishes/Removing a template from a page using the VisualEditor

From Meta, a Wikimedia project coordination wiki
Removing a template from a page using the VisualEditor
StatusDeployed
Focus areaTemplates
Phabricatorphab:T274263
ResponsibleTechnical Wishes Team

This page documents the development progress of and discussions about the project Removing a template from a page using the VisualEditor from the focus area "Make working with templates easier". You can find general information about that area and how we chose the projects in that area on this page.

We welcome comments and questions about this project on the discussion page.

Current problems

[edit]

When using the VisualEditor it’s not easy to remove a template from a page. In edit mode, users expect to be able to click on the template and see a “delete” option next to the “edit” option, as is currently the case for tables. Instead, a user would need to know that they can select a template and press the Backspace/delete key; this delete functionality is not widely known.

Removing a template from a page. Note: This is a draft.

Implementation

[edit]

While in the VisualEditor’s edit mode, a context menu will pop up when selecting a template within an article. Previously only an “edit” button would appear. With this improvement, users will see a “delete” option next to the “edit” option.

Status and next steps

[edit]
  • Done: July 12, 2021: Deployment on
    • German, Greek, Malay, Twi, French, Hungarian, Turkish, Hebrew and Finnish Wikipedia
    • English Wikivoyage
    • Nauruan Wiktionary
  • Done: March 9, 2022: Deployment on all remaining wikis except English Wikipedia
  • Done: March 16, 2022: Deployment on English Wikipedia