Page MenuHomePhabricator

Per-wiki customizable drop down menu for templates
Open, NormalPublic

Description

Like the (non-citoid) Cite menu, but with non-Cite templates as defined by each community. As suggested by Gerardduenas.

Event Timeline

Elitre created this task.Apr 21 2015, 6:29 PM
Elitre raised the priority of this task from to Needs Triage.
Elitre updated the task description. (Show Details)
Elitre added a project: VisualEditor.
Elitre added a subscriber: Elitre.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 21 2015, 6:29 PM
Ltrlg added a subscriber: Ltrlg.Apr 21 2015, 8:36 PM
Neil_P._Quinn_WMF triaged this task as Normal priority.May 19 2015, 4:17 PM
Neil_P._Quinn_WMF set Security to None.
Neil_P._Quinn_WMF moved this task from To Triage to Freezer on the VisualEditor board.
Gerardduenas added a subscriber: Gerardduenas.
Whatamidoing-WMF added a subscriber: Whatamidoing-WMF.

This might be particularly handy for Wikivoyages, which use almost no templates except the Listings templates – and use those very heavily. Buttons for the listing templates are in the toolbar for the wikitext editor there:

The Russian Wikivoyage has a single listing template, {{listing}}, but they would like multiple entries in this menu (equivalent to {{listing |type=see}}, etc.). When this is resolved, we should talk to the Russian Wikivoyage about how to set this up for them.

This is also wanted at he.wikipedia.org, which I believe has a similar sort of script for Vector for listing popular templates. (@Amire80 will have more information.)

I wonder if this really requires WMF devs to happen.

Elitre added a comment.EditedNov 14 2017, 2:20 PM

For templates that don't need to be filled, maybe not a drop down thing, but something à la mediawiki:edittools? (trying to tie this to a recent comment on mediawiki.org)

Magol added a subscriber: Magol.Dec 28 2017, 11:10 AM

Maybe a local gadget? Gadgets should be able to add a button to the toolbar. I don't know if it's possible to add a drop-down menu, though. Wikivoyages would like to have about six templates, and there isn't necessarily room for six buttons on the toolbar.