Page MenuHomePhabricator

Sysops intermittently cannot edit protected pages using Andoid App
Closed, DuplicatePublicBUG REPORT

Description

Steps to reproduce

  1. Visit the protected page (for example Hlavní strana, you must be sysop).
  2. Try to edit the page.

Expected results

I expected that I can edit the page, but I cannot. App displays error:

image.png (2×970 px, 397 KB)

Event Timeline

Unable to duplicate on enwiki with android app on a protected page (https://en.wikipedia.org/w/index.php?title=UTC%E2%88%9211:00&action=history). @Patriccck can you log out and back in to your mobile app and retest? Can you verify that you can edit protected pages via the mobile web and or standard web? Can you verify you can edit non-protected pages via the android app?

@Patriccck asked me before filling this task if I can reproduce, and I was able to, albeit I haven't tried with a sysop account (Wikipedia app doesn't let me to login with WebAuthn used at my primary account). My testing was done with my alt account. The steps I've performed are:

  1. Promote User:Martin Urbanec (test) to engineer [cswiki group being able to edit protected pages]
  2. Login in mobile app using the same account
  3. Go to Template:Grafika aktualit
  4. I saw the "Page is protected" dialog

After @Xaosflux's comment, I've tried the same, except I promoted the account to full sysop and, surprisingly, it worked. Is it possible the mobile app checks for group membership rather than having the permission?

In both cases, I've logged in _after_ I promoted the account.

For the record, @Patriccck (a cswiki sysop) reported to me privately he was able to edit after logging out/in.

Xaosflux renamed this task from Sysops cannot edit protected pages to Sysops intermittently cannot edit protected pages using Andoid App.Mar 16 2020, 11:09 AM

Can you check for holding a permission instead?