Module:IPAddress/sandbox/doc
Module:IPAddress | sandbox <
This is the documentation page for Module:IPAddress/sandbox
This is a documentation subpage for Module:IPAddress/sandbox. It contains usage information, categories and other content that is not part of the original module page. |
This template is used in MediaWiki:Newarticletext and MediaWiki:Blockedtext. Changes to it can cause immediate changes to the Wikipedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any changes at the talk page before implementing them. |
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