Page MenuHomePhabricator

Unset IPInfo as a BetaFeature and make available by default on wikis where temporary accounts are known
Closed, ResolvedPublic1 Estimated Story Points

Description

Summary

Wikis with the BetaFeatures extension require IPInfo to be enabled as a beta feature before a user can use it.

Now that IPInfo is deployed everywhere, we should graduate it from BetaFeatures.

This should happen in tandem with the rollout of temporary accounts, because it narrows down IPInfo access.

Background

We want to simplify patrolling workflows as part of the temporary accounts deployment, so removing the step of enabling the beta feature will help.

The set of users allowed to access IP information is narrower on wikis where temporary accounts are known, as it needs to conform to our temporary account IP address access policy,
so we should remove the BetaFeature gating on such wikis only to avoid granting default IPInfo access to users that would then lose it after the rollout of temporary accounts.

Technical notes

  • Don't require BetaFeature opt-in for IPInfo access on wikis where temporary accounts are known (check via TempUserConfig::isKnown)

Related Objects

StatusSubtypeAssignedTask
Resolvedkostajh
DeclinedNone
ResolvedNiharika
In ProgressNiharika
Resolvedkostajh
Resolved mszabo
Resolved mszabo
OpenNone
Resolved mszabo
Resolved mszabo
Resolved mszabo
ResolvedSTran
ResolvedTchanders
Resolvedkostajh
OpenNone
Resolved mszabo
DeclinedNone
ResolvedSTran
InvalidNone
Resolvedkostajh
Resolvedkostajh
ResolvedBUG REPORT AGueyte
DeclinedBUG REPORT TThoabala
DeclinedBUG REPORTNone
ResolvedBUG REPORT TThoabala
ResolvedBUG REPORT AGueyte
ResolvedBUG REPORT TThoabala
DeclinedBUG REPORT TThoabala
DeclinedBUG REPORT AGueyte
InvalidBUG REPORTNone
InvalidNone
ResolvedBUG REPORT TThoabala
ResolvedSTran
ResolvedSTran
ResolvedTchanders
ResolvedTchanders
ResolvedSTran
ResolvedSTran
ResolvedTchanders
DeclinedNone
ResolvedTchanders
ResolvedTchanders
ResolvedSTran
ResolvedNone
ResolvedSTran
ResolvedBUG REPORTTchanders
Resolvedkostajh
Resolvedjijiki
Resolvedkostajh
ResolvedSTran
DuplicateNone
ResolvedSTran
DuplicateSTran
Resolvedkostajh
Resolvedjijiki
Resolvedkostajh
ResolvedBUG REPORTkostajh
Resolvedkostajh
DuplicateNiharika
Resolved mszabo
DuplicateNone
DuplicateNone
ResolvedTchanders
ResolvedBUG REPORT mszabo
ResolvedNiharika
ResolvedTchanders
ResolvedDreamy_Jazz
ResolvedDreamy_Jazz
ResolvedBUG REPORTDreamy_Jazz
Resolvedkostajh
Resolved mszabo

Event Timeline

@Tchanders when we do this I would suggest also:

  • Updating the version number in extension.json to something other than 0.0.0 (as this is on all wikis so should probably have a useful version number here)
  • Updating https://www.mediawiki.org/wiki/Extension:IPInfo to no longer be marked as experimental considering it would no longer be behind betafeatures.

Also we should mark the IP Info REST APIs as internal for use only by IPInfo code, so that people do not try to use it for other things and expect announcements if want to modify the REST API.

kostajh added a subscriber: JayCano.

@JayCano @Niharika as we are wrapping up IP Info work, I propose we finish up this task as well. Should be a small amount of work.

kostajh set the point value for this task to 1.Sep 13 2024, 11:03 AM
kostajh moved this task from Inbox to Backlog on the Temporary accounts board.

Taking this out of the Ready column temporarily. We need to communicate we are going to do this before we actually take it out of beta as, after that, everyone will see the "IP Info Contributions" accordion on Special:Contributions for IPs. I think there's a couple of other minor things we should also do before we graduate it out of beta.

Taking this out of the Ready column temporarily. We need to communicate we are going to do this before we actually take it out of beta as, after that, everyone will see the "IP Info Contributions" accordion on Special:Contributions for IPs.

@Niharika Per meeting just now, are we ready to do this task?

I think there's a couple of other minor things we should also do before we graduate it out of beta.

Do we have a list of these things?

@kostajh The blockers to doing this task are:

(I connected all these under the Epic)

Then we can graduate it out of Beta. In parallel we can start communicating that this is about to happen. CC @sgrabarczuk

mszabo changed the task status from Open to Stalled.Jan 9 2025, 1:24 PM
mszabo subscribed.

Marking stalled as this is blocked by T375086 and T325451.

kostajh changed the task status from Stalled to Open.Mar 19 2025, 11:43 AM

Marking stalled as this is blocked by T375086 and T325451.

Clarification now exists in https://phabricator.wikimedia.org/T325451#10651235

Change #1140176 had a related patch set uploaded (by Máté Szabó; author: Máté Szabó):

[mediawiki/extensions/IPInfo@master] Remove IPInfo from BetaFeatures

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

Change #1146647 had a related patch set uploaded (by Máté Szabó; author: Máté Szabó):

[mediawiki/extensions/IPInfo@master] Graduate IPInfo out of beta when temporary users are known

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

Change #1146955 had a related patch set uploaded (by Máté Szabó; author: Máté Szabó):

[mediawiki/extensions/CheckUser@master] Skip IPInfo integration tests for handler signature change

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

Change #1146956 had a related patch set uploaded (by Máté Szabó; author: Máté Szabó):

[mediawiki/extensions/CheckUser@master] Fix and reenable IPInfoHandlerTest

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

Change #1140176 abandoned by Máté Szabó:

[mediawiki/extensions/IPInfo@master] Remove IPInfo from BetaFeatures

Reason:

Superseded by Ibb79f165f8f4eaf380d7d91ef1ebb2105433035a

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

Change #1147806 had a related patch set uploaded (by Máté Szabó; author: Máté Szabó):

[mediawiki/extensions/IPInfo@master] Introduce IPInfoPermissionManager service

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

Change #1146955 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Skip IPInfo integration tests for handler signature change

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

Change #1147806 merged by jenkins-bot:

[mediawiki/extensions/IPInfo@master] Introduce IPInfoPermissionManager service

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

Change #1146647 merged by jenkins-bot:

[mediawiki/extensions/IPInfo@master] Graduate IPInfo out of beta when temporary users are known

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

Change #1146956 merged by jenkins-bot:

[mediawiki/extensions/CheckUser@master] Fix and reenable IPInfoHandlerTest

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

mszabo renamed this task from Unset IPInfo as a BetaFeature and make available by default to Unset IPInfo as a BetaFeature and make available by default on wikis where temporary accounts are known.May 21 2025, 12:54 PM
mszabo updated the task description. (Show Details)

@Tchanders when we do this I would suggest also:

  • Updating the version number in extension.json to something other than 0.0.0 (as this is on all wikis so should probably have a useful version number here)

Should we do this after T375086: Bring IP Info access permissions to parity with the IP Reveal feature?

Should we do this once IPInfo is no longer a BetaFeatures extension (i.e. once we've rolled out temp accounts everywhere)?

Change #1152056 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/extensions/IPInfo@master] Mark REST API handler classes as internal, for IPInfo use only

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

Also we should mark the IP Info REST APIs as internal for use only by IPInfo code, so that people do not try to use it for other things and expect announcements if want to modify the REST API.

Done in https://gerrit.wikimedia.org/r/1152056

Also we should mark the IP Info REST APIs as internal for use only by IPInfo code, so that people do not try to use it for other things and expect announcements if want to modify the REST API.

Done in https://gerrit.wikimedia.org/r/1152056

I think something would also be needed at https://en.wiktionary.org/w/index.php?api=mw-extra&title=Special%3ARestSandbox

Currently the REST APIs are listed there for use with no indication that they are for internal use only.

@Tchanders when we do this I would suggest also:

  • Updating the version number in extension.json to something other than 0.0.0 (as this is on all wikis so should probably have a useful version number here)

Should we do this after T375086: Bring IP Info access permissions to parity with the IP Reveal feature?

Should we do this once IPInfo is no longer a BetaFeatures extension (i.e. once we've rolled out temp accounts everywhere)?

We should probably make the 1.0.0 release in extension.json once we mark the extension as no longer experimental.

@Tchanders when we do this I would suggest also:

  • Updating the version number in extension.json to something other than 0.0.0 (as this is on all wikis so should probably have a useful version number here)

Should we do this after T375086: Bring IP Info access permissions to parity with the IP Reveal feature?

Should we do this once IPInfo is no longer a BetaFeatures extension (i.e. once we've rolled out temp accounts everywhere)?

We should probably make the 1.0.0 release in extension.json once we mark the extension as no longer experimental.

Following some more discussion, I've made a separate task for this: T395566: IPInfo: Release version 1.0.0

Also we should mark the IP Info REST APIs as internal for use only by IPInfo code, so that people do not try to use it for other things and expect announcements if want to modify the REST API.

Done in https://gerrit.wikimedia.org/r/1152056

I think something would also be needed at https://en.wiktionary.org/w/index.php?api=mw-extra&title=Special%3ARestSandbox

Currently the REST APIs are listed there for use with no indication that they are for internal use only.

Filed separately as T395576: Mark REST APIs as internal on Special:RestSandbox. I've re-tagged https://gerrit.wikimedia.org/r/1152056 against that (in case it's still useful).


I think we can close this task now. I double checked that IPInfo is not a beta feature on testwiki, where temp accounts are enabled, and still a beta feature on enwiki, where temp accounts are not enabled.