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

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Random proposal◄ Editing  The survey has concluded. Here are the results!

Wikitext substitutions should work in ref and gallery blocks

  • 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) 09:27, 5 November 2018 (UTC)Reply[reply]

Discussion

Gallery, tables, templates, pictures, etc should be fully functional for formatted texts. RIT RAJARSHI (talk) 18:52, 21 November 2018 (UTC)Reply[reply]

Voting