Summary
The IP Info user preference to enable use of the tool currently is set to only be enabled locally. We should allow this to be enabled globally, given that this has been approved by WMF Legal.
Background
- The IP Info extension has a preference used to enable use of the tool, which asks the user to only use it to respond to abuse
- This preference can only be enabled locally, which was done because it was unclear if enabling globally was allowed
- WMF Legal has since approved enabling this preference globally, so we can undo the change to make it local only
- This is needed to be able to work on the temporary accounts onboarding dialog
Technical notes
- Should just involve reverting 4392d00483929e237705b45091cb6d28ed3d704d, but could involve adding some tests if necessary
Acceptance criteria
- It is possible to enable the IP Info use agreement preference globally
Original ticket description
What is the problem?
Currently, all the user preferences associated with IPInfo (T264150 and T292802) can be set globally.
We should decide whether this is desirable.
For example, we might prefer that administrators have to explicitly request access on each wiki they want to use IPInfo on.
If we decide to allow the preferences to be set globally, T&S needs to be aware that there are two possible places they need to look at (e.g. if they want to know who has access to IPInfo).
We should also be aware that allowing options to be set globally increases the amount of testing necessary (in my experience by a significant amount).
Steps to reproduce problem
To enable these options globally:
- Clone and enable GlobalPreferences extension ( wfLoadExtension("GlobalPreferences"); )
- Go to Special:GlobalPreferences (e.g. https://en.wikipedia.beta.wmflabs.org/wiki/Special:GlobalPreferences)
- Click on the "Beta features" tab
- Scroll down to the "IP Info" checkbox
- Click both checkboxes to make it global and turn it on globally
- Click Save
- Go to the "User profile" tab
- Scroll down to the section titled "IP Information"
- Check all four checkboxes to enable both options globally
- Click Save
Screenshots
The IP Info checkbox on the Beta features tab:
IP Information section on the User profile tab:

