==== Background
See the parent task for more details.
We need a preference which, when selected, allows the user to reveal IP addresses (T325238) when they want to.
This should be added via the CheckUser extension, since that's where all the IP address reveal functionality lives.
==== Acceptance criteria
About the preference:
* Checkbox, where checked means that the user can see IP address reveal buttons
* Appears under the Special:Preferences#mw-prefsection-personal tab (the default tab)
* Available to anyone with the `checkuser-temporary-account` right, and no-one else
* ~Checked by default for users in the `checkuser` group~ see {T327061}
* Unchecked by default for everyone else
* Section title TBC. For now, "Temporary account IP reveal"
* Checkbox wording TBC. For now, "Enable revealing IP addresses for temporary accounts"
This task is just for adding the preference, not yet for checking it anywhere.
==== Notes
* Example patch where a preference was added to IPInfo: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/IPInfo/+/640236
* Documentation on the `GetPreferences` hook: https://www.mediawiki.org/wiki/Manual:Hooks/GetPreferences