Module:IPAddress/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Nominate for merging)
No edit summary
Line 1: Line 1:
{{replace|{{replace|{{Tfm/dated|page={{PAGENAME}}|otherpage=|link=Wikipedia:Templates for discussion/Log/2018 June 19#Module:IPAddress|bigbox=yes}}|template|module}}|Template:|Module:|count=1}}
{{replace|{{replace|{{Tfm/dated|page={{PAGENAME}}|otherpage=IP|link=Wikipedia:Templates for discussion/Log/2018 June 19#Module:IPAddress|bigbox=yes}}|template|module}}|Template:|Module:|count=1}}
Functions are not "local", so other modules can require this module and call them directly.
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
We return an object with 3 small stub functions to call the real ones so that the functions

Revision as of 20:43, June 19, 2018

Template:Replace 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