Module:IPAddress/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(docs to docpage)
 
(upd)
Line 6: Line 6:
dotted hexadecimal, dotted octal, or single-number formats (see [[IPv4#Address_representations]]).
dotted hexadecimal, dotted octal, or single-number formats (see [[IPv4#Address_representations]]).
Unit tests at [[Module:IPAddress/tests]]
Unit tests at [[Module:IPAddress/testcases]]

Revision as of 14:42, April 27, 2013

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