Page MenuHomePhabricator

Stop showing create an account message on EntitySchema editing UI for Wikibase instances that have temporary accounts enabled
Closed, ResolvedPublic

Description

Problem:
We are showing warnings when edits are made on EntitySchemas and the user isn't logged in. This warning promps them to create an account or log in. With IP Masking this will no longer be required as we will be deferring to a media wiki status bar: https://phabricator.wikimedia.org/T330510

This should apply to all edits to EntitySchemas.

Example:

image.png (134×325 px, 11 KB)

When editing: https://wikidata.beta.wmflabs.org/wiki/EntitySchema:E10 this warning box appears.

This warning box and message on an EntitySchema page should be removed when editing an EntitySchema and IP masking is enabled and the user isn't logged in.

But the warning should remain as is on wikis that don't have IP masking enabled e.g. 3rd party Wikibases

BDD
GIVEN an EntitySchema
AND a user who isn't logged in
WHEN making an edit
AND IP Masking is enabled
THEN do not show the create an account prompt

Acceptance criteria:

  • Create an account prompt isn't shown when editing EntitySchema when IP Masking is enabled

Notes

It looks like editing EntitySchemas as a temp user seems to be turned off, but will be required to test this.

Event Timeline

Lydia_Pintscher added subscribers: ItamarWMDE, Michael.

@ItamarWMDE @Michael I'm not entirely sure what the current state is. Can you help me flesh out this ticket?

@ItamarWMDE @Michael I'm not entirely sure what the current state is. Can you help me flesh out this ticket?

It is still fundamentally unclear to me what team (even WMF<->WMDE) is going to what work in this overall process. Asked more about that at T326908#9359089.

But EntitySchema will need some more fundamental work to create temporary accounts. A WIP/PoC change for Wikibase WIP example: Create a temporary user from ApiSetClaim (I57075e88)

Arian_Bozorg renamed this task from Support temporary accounts in EntitySchemas to Stop showing IP warning on EntitySchema editing UI for Wikibase instances that have temporary accounts enabled.Jan 12 2024, 2:59 PM
Arian_Bozorg updated the task description. (Show Details)
Arian_Bozorg attached a referenced file: F41537830: image.png. (Show Details)
Arian_Bozorg renamed this task from Stop showing IP warning on EntitySchema editing UI for Wikibase instances that have temporary accounts enabled to Stop showing create an account message on EntitySchema editing UI for Wikibase instances that have temporary accounts enabled.Jan 17 2024, 11:47 AM
Arian_Bozorg updated the task description. (Show Details)

Just adding my response from the other ticket here as well:

With Wikimedia products moving over to Vector 2022, Wikidata will probably make that transition this year as well. This would mean there would be only a small window of time between the temporary accounts and the move to Vector 2022.

So in this case with the login / sign-up warning, let's continue with this ticket and remove them for Wikibase instances that have temporary accounts enabled.

Hi @Arian_Bozorg ,

I had a look at this, and I'm not able to produce the warning box on beta. Which edit link are you clicking to make that show up?

As far as I’m aware, the warning shown in

image.png (134×325 px, 11 KB)

doesn’t exist for EntitySchema – Wikibase only shows it for JavaScript editing features, and we don’t really have those for EntitySchema. (Special:SetEntitySchemaLabelDescriptionAliases and action=edit instead have a textual warning that we already removed in T352005.)

Sorry for the oversight, thanks for picking up on that Arthur and for the clarification on that Lucas