Content deleted Content added
add p.getSensitivityReasons |
sketch out plan of attack |
||
Line 1:
-- This module provides functions for handling sensitive IP addresses.
-- Load modules
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local p = {}▼
local sensitivityReasons = {
Line 10 ⟶ 9:
technical = true,
}
-- Plan of attack:
-- * Load the data from Module:Sensitive IP addresses/list via a formatting module
-- at Module:Sensitive IP addresses/data
-- * This module will do preprocessing that must be done for every query
-- * Make an API so that other modules can query this module for data about
-- sensitive IPs and ranges.
-- * Export query results as both a Lua table and as JSON
-- * Use this API to create a table to be used in
-- [[Template:Sensitive IP addresses]].
--------------------------------------------------------------------------------
-- Exports
--------------------------------------------------------------------------------
▲local p = {}
function p.isValidSensitivityReason(s)
|