afch-rewrite icon indicating copy to clipboard operation
afch-rewrite copied to clipboard

Broken links for IP editors in userspace logs

Open TechnoSquirrel69 opened this issue 1 year ago • 2 comments

Example diff.

Userspace log entries incorrectly create links to the "user pages" of IP addresses ([[User:192.168.1.1]]), instead of, say, the contributions page. An easy fix might be to emulate Twinkle and use {{User}}, which has all the relevant links.

TechnoSquirrel69 avatar Jan 01 '24 06:01 TechnoSquirrel69

Just noting for the sake of pedantry that this isn't necessarily "incorrect", just not the most helpful/useful link to provide as IPs do not have user pages.

That being said, I would probably make the argument that linking to all editors' contributions (IP or editor) would be more useful than linking to their (often redlinked) user page.

primefac avatar Jan 01 '24 07:01 primefac

I think I would agree with that comment, which is why I suggested the {{User}} template — that'd be getting two birds with one stone, and would bypass the need to create a check for whether the submitter is an IP or not.

TechnoSquirrel69 avatar Jan 02 '24 01:01 TechnoSquirrel69