Page MenuHomePhabricator

Provide a mechanism to transclude/include translatable templates
Closed, DuplicatePublic

Description

If a template is made translatable, {{template}} no longer works as expected. While this is hard to fix, Translate extension should provide out of the box the functionality of https://www.mediawiki.org/wiki/Template:Translatable_template.

Details

Reference
bz56451

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:28 AM
bzimport set Reference to bz56451.
bzimport added a subscriber: Unknown Object (MLST).
Qgil created this task.Nov 1 2013, 5:20 AM
Qgil added a comment.Nov 1 2013, 5:21 AM

I meant

  1. Transclude page A in Page B. Sorry.

This has never been supported. Bug 48891 might change that, but I'm desperately needing help from people being able to hack the parser.

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 29 2015, 11:39 PM

I am going to repuspose this task. This might change when support for VisualEditor is added. In the mean time the recommended way is to use templates such as https://www.mediawiki.org/wiki/Template:Translatable_template

Translate extension should provide such facility out of the box, or at least make it easier than copying that template (which requires Lua).

Nikerabbit renamed this task from <translate> tags visible when transcluded to Provide a mechanism to transclude/include translatable templates.Mar 23 2016, 7:47 AM
Nikerabbit raised the priority of this task from Low to High.
Nikerabbit updated the task description. (Show Details)

Of course I should have checked whether such tasks exists before doing changes...