Page MenuHomePhabricator

IP address warning on EntitySchema text editing page
Closed, ResolvedPublic

Description

As an anonymous editor I want to be warned that my IP address will be used in edit histories when I am making edits to EntitySchemas.

Problem:
We currently don't show the "IP address warning" message when EntitySchema text is edited like we do when an EntitySchema is created or when setting a label, description or aliases (e.g. https://www.wikidata.org/w/index.php?title=EntitySchema:E123&action=edit).

We need to have the same message appear when EntitySchema text is edited to notify the users that their IP address will be included in the edit history.

Screenshot

image.png (714×1 px, 115 KB)

Screenshot from 'Set label, description and aliases for EntitySchema'
Note the "IP address warning" under the title.

Copy
Warning: You are not logged in. Your IP address will be recorded in the edit history of this Schema.

BDD
GIVEN an EntitySchema
AND "IP address warning"
WHEN an EntitySchema text is edited by an anonymous editor
THEN the IP address warning message is displayed

Acceptance criteria:

  • "IP address warning" is displayed when an edit of EntitySchema text is made by an anonymous user

Event Timeline

Change 944884 had a related patch set uploaded (by Michael Große; author: Michael Große):

[mediawiki/extensions/EntitySchema@master] Show copyright notice and anon-user warning when editing schema text

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

Change 944884 merged by jenkins-bot:

[mediawiki/extensions/EntitySchema@master] Show copyright notice and anon-user warning when editing schema text

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

Michael subscribed.

If you're logged-out (for example when in a private window) then you can now see the anonymous user warning on beta: https://wikidata.beta.wmflabs.org/w/index.php?title=EntitySchema:E1&action=edit

Arian_Bozorg claimed this task.

Looks good!

Thanks so much Michael :)