User:DWalden (WMF)/IPInfo

How to find/create test IPs
To look up information for an IP that IP needs to be associated with either an edit or a log action.

The IP can then be looked up on:
 * An article's edit history

Edit
/edit

Log
/log

Edit

 * Edit any page while logged out. You can do this with a VPN to simulate IPs from different locations. (I have confirmed that I can edit from a VPN on beta.)

Log

 * 1) Pick an  which you are interested in.
 * 2) Go to   (you need to be logged in as an admin).
 * 3) On the form, pick an expiration date and click "Block" Ip log data special-block.png
 * 4) Go to   and you should see a line like , with the (i) icon next to  Log data block log.png

Test Strategy
When we worked on this previously (end of 2020), testing focused on a few quality criteria.

Accuracy

 * Are we reporting information for the wrong IP?
 * Do we display the information in a misleading way?

Security

 * Does anyone have access to IP information who should not?
 * Do we log access for non-repudiation purposes?
 * An patterns in the behaviour/response of the application which might lead to information disclosure? (info, example)

Usability

 * Support on a range of user interface languages, including right-to-left languages
 * Support on a range of skins
 * Support on a range of browsers (and possibly devices if we want to support mobile)
 * Accessibility (e.g. people who only use keyboard or use a screen reader)

Oracles
Places to check information about IPs.
 * Block info
 * Number of times an  has been blocked:
 * Web:
 * API:  (only shows the most recent 500 blocks for the IP)
 * Edits
 * Number of edits locally:
 * Web:
 * API:  (it will only show the most recent 500 edits for the IP)
 * Number of edits globally:
 * Web: ???
 * API: ???

What we (probably) won't test

 * Correctness of the results MaxMind gives us.

Test Code
https://gitlab.wikimedia.org/DomWalden/ipinfo-testing