Module:Sensitive IP addresses/API: Difference between revisions

Content deleted Content added
add support for blank JSON objects, and format errors as JSON if options.format is "json"
m Protected "Module:Sensitive IP addresses/API": High-risk Lua module: used in the MediaWiki interface, e.g. MediaWiki:Blockiptext via Template:Sensitive IP addresses ([Edit=Require administrator access] (indefinite...
 
(One intermediate revision by the same user not shown)
Line 459:
"entity-ids": []
}}]])
for i, key in ipairs{'matches', 'matched-ranges', 'entities', 'entity-ids'} do
deepCopyInto(result.sensitiveips[key], jsonResult.sensitiveips[key])
end