Difference between revisions of "Module:IPAddress/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Primefac
(TFD closed as keep (XFDcloser))
m (7 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{replace|{{replace||template|module}}|Template:|Module:|count=1}}
+
{{used in system|in [[MediaWiki:Newarticletext]]}}
 
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

Latest revision as of 17:15, 26 September 2020

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