Module:Check for unknown parameters:修订间差异
删除的内容 添加的内容
enwiki>Johnuniq implement edit request from User:Zackmann08 to remove 'coord' from default in mapframe_params table per talk permalink |
CaelLab-import(留言 | 贡献) 导入自中文维基百科 |
||
第6行:
local p = {}
local mapframe_params = {
'coord',
'coordinates',
'id',
第64行 ⟶ 第50行:
'mapframe-stroke-width',
'mapframe-switcher',
'mapframe-width',
'mapframe-wikidata',
第109行 ⟶ 第94行:
-- create the list of known args, regular expressions, and the return string
local knownargs = {}
if isnotempty(args['mapframe_args']) then
for _, v in ipairs(mapframe_params) do
end
end
local regexps = {}
for k, v in pairs(args) do
第131行 ⟶ 第110行:
end
end
-- loop over the parent args, and make sure they are on the list
local ignoreblank = isnotempty(args['ignoreblank'])
| |||