AC:
- Add links to the relevant block log under the Active blocks heading, after the data
- Add links only in the accordion, not in the popup
- Link 'Logs' to: Special:Log?type=block&page=<ip>
• Prtksxna | |
Jun 21 2022, 5:03 AM |
F35349879: logs_no_block.png | |
Jul 28 2022, 7:37 AM |
F35307126: block_log_link.png | |
Jul 5 2022, 2:48 PM |
F35258416: Screen Shot 2022-06-21 at 10.33.28 AM.png | |
Jun 21 2022, 5:03 AM |
AC:
Change 810125 had a related patch set uploaded (by TsepoThoabala; author: TsepoThoabala):
[mediawiki/extensions/IPInfo@master] IP Info: Add links to block log on infobox
Change 810125 merged by jenkins-bot:
[mediawiki/extensions/IPInfo@master] Add links to block log on infobox
@Prtksxna The log link only appears when there is at least one active block. Is that OK? I can imagine that even if there are no active blocks a user might want to see the logs to check any past blocks.
I also notice the clickable part of the <a> element extends across the whole column (the blue area in the screenshot). Is that OK?
That makes sense. I thought we didn't keep information about past blocks (at least not for too long), is that incorrect?
I also notice the clickable part of the <a> element extends across the whole column (the blue area in the screenshot). Is that OK?
Is this the case with all the links on that column? Global contribs and xtools too?
I think they are kept forever. I have seen block logs on enwiki going back to 2004.
I also notice the clickable part of the <a> element extends across the whole column (the blue area in the screenshot). Is that OK?
Is this the case with all the links on that column? Global contribs and xtools too?
It is the case for Global contribs and XTools as well.
In that case, yes. We should show the link even when there are no active blocks.
It is the case for Global contribs and XTools as well.
Thanks Dom! I've created T312320: IP Info: Links in the box should only be clickable on the text for this.
Change 817365 had a related patch set uploaded (by TsepoThoabala; author: TsepoThoabala):
[mediawiki/extensions/IPInfo@master] Add links to block log - always show blocks even if there are not active blocks
Change 817365 merged by jenkins-bot:
[mediawiki/extensions/IPInfo@master] Add links to block log - always show blocks even if there are not active blocks
The "Logs" link now appears even if there are no blocks.
The link it takes you to is Special:Log?type=block&page=<ip>.
@TThoabala @Tchanders I notice that it will also work if the link is Special:Log?type=block&page=User:<ip>. But, I am assuming it makes no difference. It didn't seem to when I compared them for a few IPs.
Test environment: https://en.wikipedia.beta.wmflabs.org and local docker IP Info 0.0.0 (602a002) 12:27, 27 July 2022.