Page MenuHomePhabricator

Stop showing IP warning on Create Lexeme (both js and non-js) for Wikibase instances that have temporary accounts enabled
Closed, ResolvedPublic

Description

Problem:
We are showing warnings on the Create Lexeme page (both js and non-js) and the user isn't logged in. This warning informs them that their IP will be shown. With IP Masking this will no longer be the case so we should remove the warning.

Example

image.png (277×1 px, 49 KB)

On the Create Lexeme page above only the IP warning should be removed.
i.e. "Warning: You are not logged in. Your IP address will be publicly visible if you make any edits."

This should only be removed only when IP masking is enabled.

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

BDD
GIVEN a user who isn't logged in
WHEN creating a Lexeme
AND IP Masking is enabled
THEN do not show the IP leak warning

Acceptance criteria: