When tvar name contains an underscore like for example "Linking_data" in the example <tvar|Linking_data>#Linking_data</>", the resulting insertable is "$Linking". It's expected this is "$Linking_data".
Cf. f55755b7f60058c16be4039b57360d094f972a93 for what's allowed as tvar; and b50d034fbd58c38d68ad0eb68ba22d654077dfda for how to add an insertable pattern.
Version: master
Severity: minor
URL: https://www.wikidata.org/wiki/Help:About_data