Page MenuHomePhabricator

Allow transcluded content to be treated as unwikified text
Open, Needs TriagePublic

Description

It should be possible to transclude pages while treating their contents as unwikified text, (i.e., wrap the page in <nowiki> tags *before* processing) so as to avoid invoking unwanted functions.

Example: {{#invoke:String|find|{{:Jurassic Park}}|dinosaur}}

The above invocation doesn't just return the position of the string "dinosaur" within the text of the article Jurassic Park, as one would expect; it also invokes a Lua module (from the film infobox) that italicizes the page title.

Anomie suggested a path to a fix here.

If this task is not worded properly, or does not include the right tags, please fix it instead of marking it invalid; there's a real problem here, and my inability as a non-developer to identify its source doesn't make it go away.