Content deleted Content added
strip suffixes for CIDR ranges that can be represented as a single IP address |
use lang:ucfirst with the description, and don't bother falling back to the name, as the description is now required |
||
Line 37:
-- Return a wikitext table summarizing all the sensitive IP ranges
-- and the entities they belong to.
-- Load dependencies
local lang = mw.language.getContentLanguage()
-- Set up options
Line 65 ⟶ 68:
:cssText(options.cellstyle)
:wikitext(options.mainheader)
-- Add column headers
Line 111 ⟶ 114:
:tag('td')
:cssText(options.cellstyle)
:wikitext(lang:ucfirst(entityData.description
if showNotes then
dataRow:tag('td')
|