Jump to content

Unhide wpTemplateSandboxTemplate input field in Preview page with this template (Community Wishlist/W418)

Under review
From Meta, a Wikimedia project coordination wiki

View all wishes.

Description

When editing protected templates and modules, a common need is to preview how a sandbox version of the code will affect a live page. For example, an editor working on Module:Mod/sandbox may want to see how those changes would look on a page that uses Template:Tem that in turn calls Module:Mod. This is especially useful for complex chains of calls. A feature to enable this functionality already exists but is currently hidden. There is an input field with the ID wpTemplateSandboxTemplate under "Preview page with this template". This field should be made visible to all users and include a clear explanation of its purpose. This feature is not overly complex and would significantly help editors test and play with protected templates. While a user script exists to unhide it (https://en.wikipedia.org/wiki/User:Jackmcbarn/advancedtemplatesandbox.js), this functionality should be part of the standard editing interface for better accessibility and discoverability.

Assigned focus area

Unassigned

Type of wish
Feature request
Tags
Affected users

template and module editors

Other details
  • Created: 15:43, 17 September 2025
  • Last updated: 09:43, 11 March 2026
  • Author: Ponor (talk)
Voting

This wish currently has 3 supporters. Voting for this wish is open until it is completed.

Supporters of this wish
Support Pppery (talk) 04:21, 18 November 2025
Support Seems OK. نوفاك اتشمان (talk) 23:05, 11 January 2026
Support Ponor (talk) 17:50, 7 February 2026