Page MenuHomePhabricator

IP range block log not showing when the target is prefixed with User:
Closed, ResolvedPublicBUG REPORT

Description

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

What happens?:
"No matching items in log."

What should have happened instead?:
The block log is shown.

Other information (browser name/version, screenshots, etc.):
The block log correctly appears if you

Event Timeline

Change 934458 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] SpecialLog: Fix logs of IP user target

https://gerrit.wikimedia.org/r/934458

@Func Thanks for the patch. One thing that's not clear to me is why "User:" is in the Target textbox if it's not in the URL query, and vice versa. Is this intentional?

@Func Thanks for the patch. One thing that's not clear to me is why "User:" is in the Target textbox if it's not in the URL query, and vice versa. Is this intentional?

Not intentional, will be fixed by this patch and always prefixed with User:.

@Func there seems to be bug with logs of IPs which is probably related:

Visit e.g. meta:Special:Contributions/92.4.182.16 -> click „logs“ -> meta:Special:Log/92.4.182.16 opens and claims „92.4.182.16 isn't a valid username“
If I enter meta:Special:Log/User:92.4.182.16 it still says „... isn't a valid username“.

Is that covered by your patch or should I open a new bug report?

Is that covered by your patch or should I open a new bug report?

Thanks, I modified the patch to cover that. Any issues related to Special:Log is welcome to post on this bug report.

Dreamy_Jazz triaged this task as Medium priority.Jul 3 2023, 9:55 AM

Change 934458 merged by jenkins-bot:

[mediawiki/core@master] SpecialLog: Fix issues related to IP users

https://gerrit.wikimedia.org/r/934458

Change 934624 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@wmf/1.41.0-wmf.15] SpecialLog: Fix issues related to IP users

https://gerrit.wikimedia.org/r/934624

Change 934624 merged by jenkins-bot:

[mediawiki/core@wmf/1.41.0-wmf.15] SpecialLog: Fix issues related to IP users

https://gerrit.wikimedia.org/r/934624

Mentioned in SAL (#wikimedia-operations) [2023-07-03T13:19:03Z] <urbanecm@deploy1002> Started scap: Backport for [[gerrit:934624|SpecialLog: Fix issues related to IP users (T338042 T340929)]]

Mentioned in SAL (#wikimedia-operations) [2023-07-03T13:20:25Z] <urbanecm@deploy1002> func and urbanecm: Backport for [[gerrit:934624|SpecialLog: Fix issues related to IP users (T338042 T340929)]] synced to the testservers: mwdebug1002.eqiad.wmnet, mwdebug1001.eqiad.wmnet, mwdebug2002.codfw.wmnet, mwdebug2001.codfw.wmnet

Mentioned in SAL (#wikimedia-operations) [2023-07-03T13:27:35Z] <urbanecm@deploy1002> Finished scap: Backport for [[gerrit:934624|SpecialLog: Fix issues related to IP users (T338042 T340929)]] (duration: 08m 32s)

Func claimed this task.