Module:Harvc and Module:Harvc/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
replace target_check() with call to target_check() in Module:Footnotes, which has full wrapper/whitelist functionality |
only display target error if there is no argument error message |
||
Line 18: | Line 18: | ||
local function target_check (anchor_id, ignore) |
local function target_check (anchor_id, ignore) |
||
local whitelist_check = require('Module:Footnotes').target_check |
local whitelist_check = require('Module:Footnotes/sandbox').target_check |
||
local args = {ignore=ignore, template='Harvc', show=true} |
local args = {ignore=ignore, template='Harvc', show=true} |
||
return whitelist_check(anchor_id, args) |
return whitelist_check(anchor_id, args) |