Module talk:IPAddress: Difference between revisions

Content deleted Content added
Reuse Module:IP: hunting for usage
Line 80:
:Probably desirable although I haven't looked at the details yet. It would be quite a lot more overhead but probably insignificant. Some thought about how Module:IPAddress is used would be good (if it's not used much, overhead doesn't matter). However, if it's going to be redone, please fix the atrocious global functions and fix any modules which use them. This is 2021 and global functions are known bad! For one thing, any module using [[Module:No globals]] will crash if it tries to use these functions. [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 00:58, 19 March 2021 (UTC)
::I don't know how reliable it is, but according to "what links here", Module:IPAddress is not used by any modules (apart from itself for some weird reason). It is used by around 210 templates but I suspect that almost all of them are incorrect reporting by the tool, due to use of {{tl|Userspace linking templates}} on the doc pages of those templates. There may be more, but the only templates I can find using this module are {{tl|IsIPAddress}} and {{tl|Xsign}}. The module is used at [[MediaWiki:Newarticletext]]. {{ping|L235}} Did you use this module somewhere? [[User:Johnuniq|Johnuniq]] ([[User talk:Johnuniq|talk]]) 09:09, 19 March 2021 (UTC)
:::I currently use it in [[Mediawiki:Blockedtext]] but would be quite happy if this was merged into [[Module:IP]]! '''[[User:L235|KevinL]]''' (<small>aka</small> [[User:L235|L235]] '''·''' [[User talk:L235#top|t]] '''·''' [[Special:Contribs/L235|c]]) 18:18, 19 March 2021 (UTC)