Page MenuHomePhabricator

VisualEditor: Protected page warning messages are missing
Closed, ResolvedPublic

Description

VE is missing the red "semi-protected page" box seen at
http://en.wikipedia.org/w/index.php?title=Muscle&action=edit and probably also the equivalent one for administrators on fully protected pages.

They should be displayed as a "notice".


Version: unspecified
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51215

Details

Reference
bz50415

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:50 AM
bzimport set Reference to bz50415.

In sequencing, this should probably be above everything except the not-applicable anon warning (so anon warning > protected > editing old > page notices). Maybe we need a more formal ordering?

This also applies to things like BLP warnings, mind; non-page-specific warnings generally seem to get cut off.

The edit box of a protected page also uses a pick background. That is missing from VE.

(In reply to comment #3)

The edit box of a protected page also uses a pick background. That is
missing
from VE.

No, this is enwiki's local CSS: [[MediaWiki:Group-sysop.css]] needs to be updated. I will file an edit request.

Change 73022 had a related patch set uploaded by Robmoen:
Add protected & semiprotected notices to api.

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

Change 73022 merged by jenkins-bot:
Add protected & semiprotected notices to api.

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

This is now fixed in master and we will push to production very soon. Sorry for the inconvenience.