Community Wishlist Survey 2023/Editing/"Preview page with this template" should only accept/suggest pages that transclude the template

"Preview page with this template" should only accept/suggest pages that transclude the template

  • Problem: I've used the "Preview page with this template" many times and wondered why my changes weren't being applied, only to realize e.g. I was editing the sandbox and the page was using the live version.
  • Proposed solution: If the specified page does not transclude the template, the server will return an error instead of the unaltered version of the page. Similarly, the autocomplete feature of the textbox only suggests pages that transclude the template.
  • Who would benefit: Template editors
  • More comments: The autocomplete improvement is difficult with the currently available APIs, except in extremely inefficient ways (see T279736#7142483).
  • Phabricator tickets: T279736
  • Proposer: Nardog (talk) 13:35, 28 January 2023 (UTC)[reply]

Discussion

Voting