https://bugzilla.wikimedia.org/show_bug.cgi?id=48663

--- Comment #10 from ssas...@wikimedia.org ---
Given that transclusion targets can be dynamic ({{ {{echo|lc}}:FOO}} and such),
it wont be possible to always provide a statically determined tpl/pf target. 
In the general case, the user shouldn't be editing parameters for these dynamic
cases without knowing that the tpl. target is specific to the current editing
session and arbitrary editing of the parameters might break the transclusion in
other scenarios (day-of-week or month-of-year based selection of tpl targets).

So, if we cannot always provide the template or parser function target, it
seems we shouldn't add that to the typeof field and leave the typeof as:
"mw:Object/Transclusion/Template" or "mw:Object/Transclusion/ParserFunction"
and rely on the data-mw.target json property to communicate info about the
target (fully resolved url, if static OR html with transclusion wrappers, if
templated).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to