**Problem:**
We are showing warnings when edits are made via SpecialPages to Entities 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.
This applies for all edits to Entities that are done via SpecialPages.
**Example**
{F41601531}
In the example 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.
When IP masking is enabled the message should read:
> By clicking "Create", you agree to the [[ https://foundation.wikimedia.org/wiki/Terms_of_Use | terms of use ]], and you irrevocably agree to release your contribution under the [[ https://creativecommons.org/publicdomain/zero/1.0/ | Creative Commons CC0 License ]].
> If you [[ https://www.wikidata.org/w/index.php?title=Special:UserLogin&returnto=Special:NewItem | log in ]] or [[ https://www.wikidata.org/w/index.php?title=Special:CreateAccount&returnto=Special:NewItem | create an account ]], your edits will be attributed to a username, among other benefits.
But the warning should remain as is on wikis that don't have IP masking enabled e.g. 3rd party Wikibases
When IP masking is not enabled it should continue to read:
> By clicking "Create", you agree to the [[ https://foundation.wikimedia.org/wiki/Terms_of_Use | terms of use ]], and you irrevocably agree to release your contribution under the [[ https://creativecommons.org/publicdomain/zero/1.0/ | Creative Commons CC0 License ]].
> Warning: You are not logged in. Your [[ https://en.wikipedia.org/wiki/IP_address | IP address ]] will be publicly visible if you make any edits. If you [[ https://www.wikidata.org/w/index.php?title=Special:UserLogin&returnto=Special:NewItem | log in ]] or [[ https://www.wikidata.org/w/index.php?title=Special:CreateAccount&returnto=Special:NewItem | create an account ]], your edits will be attributed to a username, among other benefits.
**Affected SpecialPages:**
EntitySchema pages T352002:
* Create EntitySchema T352004
* Edit EntitySchema text T352005
* Set label, description and aliases for EntitySchema T352006
Lexeme pages T352016:
* Create Lexeme (both js and non-js) T352018
* Merge Lexeme T352017
Item and Property pages T352065:
* Create Item T352066
* Create Property T352067
* Merge Item T352068
* Redirect an entity T352072
* Set Item sitelink T352071
* Set Item label, description or alias T352070
* Set Property label, description or alias T352069
**BDD**
GIVEN an Entity
WHEN making an edit to them via a Special Page
AND IP Masking is enabled
THEN do not show the IP leak warning
**Acceptance criteria:**
* IP leak warning isn't shown when editing Entities via SpecialPages when IP Masking is enabled
**Notes**
[[ Ramifications of IP masking on Wikidata related extensions | Report: Ramifications of IP masking on Wikidata related extensions ]]