Page MenuHomePhabricator

IPv6 anonymous edits treated differently to IPv4
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

What happens?:
IPv4 presentation leads to Special:Contributions view, IPv6 leads to User:$IP view. It seems that IPv6 anonymous is treated as a registered account.

What should have happened instead?:
Both edits shall be formatted the same way.

Event Timeline

Aklapper changed the task status from Open to Stalled.Sep 11 2022, 11:02 AM

Hi @Smyru, thanks for taking the time to report this! Cannot reproduce. Can you please provide full specific links for each example, please, and where (again full links) to see that?

@Aklapper, perhaps this is only reproducible with non reviewed delta. The link for reproduction, I have posted above, it originally lead to unaccepted changes. Meanwhile since the creation of the ticket they have gotten reviewed though and merged. I should have preserved the markup of the page.

Aklapper changed the task status from Stalled to Open.Sep 29 2022, 9:42 AM
Aklapper added a project: MoveComms-Support.
Aklapper edited projects, added MediaWiki-Special-pages; removed MoveComms-Support.

I cannot spot it either anymore. I am fine with closing the report as Invalid. I will keep an eye on this and file a new one / reopen (not sure what's the desired process here) once I observe repro.

Ladsgroup subscribed.

Sounds good. Thanks!

BTW where do I find this extension source code?

BTW where do I find this extension source code?

The source code is in git, you can use your browser under https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/extensions/FlaggedRevs/+/refs/heads/master to browse through the source files or use a git copy, see https://www.mediawiki.org/wiki/Gerrit/Tutorial#What_is_Git? for more information (The tutorial is to change things, if you want only have a look the information on that page could be a bit to much, but I have not see a help page to just look at the source).

OK, I have stumbled upon another reproduction eventually. Please observe this set of unrevised changes by an anonymous IPv6 user: https://pl.wikipedia.org/w/index.php?title=J%C4%99zyk_portugalski&oldid=69053199&diff=cur&diffmode=source

The field affected is:

<fieldset class="portlet pBody diffhistorybox" …>

The class diffhistorybox is provided by https://pl.wikipedia.org/wiki/MediaWiki:Gadget-diffhistory.js and not visible for logged-out users, making the steps to reproduce not helpful here.
As this is a problem with a gadget please ask the local community.

There is regex in the js which only works for IPv4 and could be the problem described here (was added with https://pl.wikipedia.org/w/index.php?title=MediaWiki:Gadget-diffhistory.js&diff=prev&oldid=27358446). Maybe use of function mw.util.isIPAddress instead can help here

That's not directly obvious what code generates various parts of the view. Thanks for explanation, I will continue work on this in the local community.

Wargo subscribed.

Resolved. Gadget issue.