Page MenuHomePhabricator

Parsing of WP:RIGHTS does not account for login state
Open, LowPublic

Description

We received the following from one of our users through the Android support email:

The first image is from the app, second is from the website. I'm signed in on both. If I was a confirmed user (which I am not, the website is correct), I assume this would stop me from doing things I could only do with that permission level. I have still been able to do basic edits, and they've been credited to my account, but I guess this part is weird.

Screenshot_20220921-003903_Lawnchair.png (2×1 px, 410 KB)

Screenshot_20220921-003901_Lawnchair.png (2×1 px, 344 KB)

Event Timeline

The root cause here is that templates like {{If autoconfirmed}} use the autoconfirmed-show and unconfirmed-show CSS classes (among others), which are set to their defaults in MediaWiki:Common.css and MediaWiki:Mobile.css and then overridden in MediaWiki:Group-autoconfirmed.css. Similar things hold for the other groups. As far as I can tell, the app doesn't load this CSS

LGoto triaged this task as Low priority.Sep 26 2022, 4:29 PM
LGoto added a project: Content-Transform-Team.
LGoto moved this task from Needs Triage to Tracking on the Wikipedia-Android-App-Backlog board.