Community Wishlist Survey 2017/Editing/Wikitext substitutions should work in ref and gallery blocks

◄ Back to Editing


  • Problem: Links ending in |]], substitutions with {{subst: and tilde-timestamps (~~~~~) don't behave as expected within <ref> and <gallery> blocks. (Amongst others.)
  • Who would benefit: Article wikitext editors.
  • Proposed solution: Resolve that substitution and pipe tricks work inside other mediawiki tag extensions
  • More comments: More generally speaking: common wikitext substitutions that editors would expect to work in all reader-visible places, do not work in some contexts.

    mw:Extension:Cite has not evolved with other components of wikiediting. Substitution (subst:) and pipe tricks from inside custom tags like <ref> fail unless one pushes with more complicated use of {{#tag:}}. Such use can be problematic due to the misinterpretation of | and {{!}}. To note that the identified problem also applies to use of <poem>.

  • Phabricator tickets: T4700: Pre-save transform skips extensions using wikitext (gallery, references, footnotes, Cite, status indicators, pipe trick, subst, signatures)
  • Proposer: bdijkstra (talk) 16:49, 8 November 2017 (UTC)[]

DiscussionEdit

VotingEdit

  •   Support Tgr (talk) 08:29, 28 November 2017 (UTC)[]
  •   Support Dvorapa (talk) 09:13, 28 November 2017 (UTC)[]
  •   Support --Liuxinyu970226 (talk) 13:04, 28 November 2017 (UTC)[]
  •   Support — Draceane talkcontrib. 18:02, 28 November 2017 (UTC)[]
  •   Support Ninovolador (talk) 21:08, 28 November 2017 (UTC)[]
  •   Support Thomas Obermair 4 (talk) 21:46, 28 November 2017 (UTC)[]
  •   Support Shizhao (talk) 02:59, 29 November 2017 (UTC)[]
  •   Support Luan (discussão) 20:19, 29 November 2017 (UTC)[]
  •   Support Syrenka V (talk) 21:26, 29 November 2017 (UTC)[]
  •   Support - Evad37 (talk) 23:41, 29 November 2017 (UTC)[]
  •   Support Dromedar61 (talk) 20:50, 30 November 2017 (UTC)[]
  •   Support Very very old bug, supportin this might be the only way how to force developers t do something... JAn Dudík (talk) 06:10, 1 December 2017 (UTC)[]
  •   Support«« Man77 »» [de] 13:57, 2 December 2017 (UTC)[]
  •   Support MichaelSchoenitzer (talk) 14:28, 2 December 2017 (UTC)[]
  •   Support Emir of Wikipedia (talk) 16:05, 2 December 2017 (UTC)[]
  •   Support WikiMasterGhibif (talk) 23:24, 2 December 2017 (UTC)[]
  •   Support Klaas `Z4␟` V:  08:55, 3 December 2017 (UTC)[]
  •   Support Waldir (talk) 10:37, 3 December 2017 (UTC)[]
  •   Support It also affects VE users: automatic addition of access date (using {{subst:#time:Y-m-d}} in {{cite web}} had to be removed because it messed up references inserted in VE, although it seemed to work while editing (!). Tacsipacsi (talk) 12:18, 3 December 2017 (UTC)[]
  •   Support Ciao • Bestoernesto 02:53, 4 December 2017 (UTC)[]
  •   Support - as proposed. Checkingfax (talk) 21:13, 4 December 2017 (UTC)[]
  •   Support this is a quite annoying bug   hugarheimur 22:36, 6 December 2017 (UTC)[]
  •   Support the wub "?!" 00:24, 7 December 2017 (UTC)[]
  •   Support Facenapalm (talk) 12:58, 11 December 2017 (UTC)[]
  •   Support, a very annoying bug — NickK (talk) 16:29, 11 December 2017 (UTC)[]