Skip to content

invalid invoke

Bhsd edited this page May 22, 2026 · 3 revisions

❌ By default, this rule reports invalid {{#invoke:}} calls as errors.

Options

function

This option can be configured to specify the severity of missing function names in {{#invoke:}} calls.

Examples of incorrect code for { "invalid-invoke": [ 0, { "function": 2 } ] }:

{{#invoke:Foo}}

Examples of correct code for { "invalid-invoke": { "function": 0 } }:

{{#invoke:Foo}}

name

This option can be configured to specify the severity of invalid module names in {{#invoke:}} calls.

Examples of incorrect code for { "invalid-invoke": [ 0, { "name": 2 } ] }:

{{#invoke:<foo>|bar}}

Examples of correct code for { "invalid-invoke": { "name": 0 } }:

{{#invoke:<foo>|bar}}

Clone this wiki locally