Page MenuHomePhabricator

VisualEditor: Protection edit notice should also show when under cascaded protection from another page
Closed, ResolvedPublic

Description

Article tabs are wrong when page is protected via cascading from another page.

To reproduce: visit https://pl.wikipedia.org/wiki/Wikipedia:Strona_główna?uselang=en and behold the "Edit source" link, even if you're anonymus.


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

Details

Reference
bz53893

Event Timeline

bzimport raised the priority of this task from to Normal.
bzimport set Reference to bz53893.
matmarex created this task.Sep 7 2013, 5:39 PM
  • Bug 58452 has been marked as a duplicate of this bug. ***

Did something change here? MW shows an edit tab on these pages. If you turn on VE then it changes that "Edit" to "Edit source" and adds a new "Edit", which is what I would expect it to do.

What probably should be done is showing the cascade notice on VE though.

Change 128965 had a related patch set uploaded by Alex Monk:
Check cascade protection and show notice if relevant

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

Change 128965 merged by jenkins-bot:
Check cascade protection and show notice if relevant

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