Jump to content

Module:IPAddress/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Pppery (talk | contribs) at 20:43, 19 June 2018 (Nominate for merging). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

'"`UNIQ--modulestyles-00000001-QINU`"'

Functions are not "local", so other modules can require this module and call them directly. We return an object with 3 small stub functions to call the real ones so that the functions can be called from templates also.

Only dotted decimal notation for IPv4 supported. Does not support dotted hexadecimal, dotted octal, or single-number formats (see IPv4#Address_representations).

Unit tests at Module:IPAddress/testcases