Module:Sensitive IP addresses/API: Difference between revisions

Content deleted Content added
use named keys for matched ranges and entities
m use "test" rather than "ips", as there could be subnets as well
Line 33:
-- Query IP addresses and ranges:
-- {
-- ipstest = {'1.2.3.4', '4.5.6.0/24', '2001:db8::ff00:12:3456', '2001:db8::ff00:12:0/112'},
-- }
--
Line 48:
-- Combined query:
-- {
-- ipstest = {'1.2.3.4', '4.5.6.0/24', '2001:db8::ff00:12:3456', '2001:db8::ff00:12:0/112'},
-- entities = {'ussenate', 'ushr'}
-- }