Changes

Jump to navigation Jump to search
Now using Module:IPAddress for IPv6 detection instead of template code in /core .
{{#switch: {{#if: {{{page|}}}
| {{#ifeq: {{SUBJECTSPACE:{{{page|}}} }} | {{ns:User}}
| {{#invoke:IPAddress|isIp|{{#titleparts:{{PAGENAME:{{{page|}}} }}|1}}}}
| other
}}
| {{#ifeq: {{SUBJECTSPACE}} | {{ns:User}} <!--User or user talk space-->
| {{#invoke:IPAddress|isIp|{{#titleparts:{{PAGENAME}}|1}}}}
| other
}}
}}
| 4 = {{{IPv4| {{{IP| {{{1|}}} }}} }}}
| 6 = {{{IPv6| {{{IP| {{{1|}}} }}} }}}
| other
| #default = {{{other| {{{2|}}} }}}
}}<noinclude>

{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
</noinclude>

Navigation menu