Page MenuHomePhabricator

Show categories of a page in the Android app
Open, MediumPublic


Proposed in Community-Wishlist-Survey-2016. Received 45 votes, and ranked #28 out of 265 proposals. View full proposal with discussion and votes here.

Actually, in Android app you don't see, which categories the actual page is sorted in. Would be great to have this information somewhere :)


Version: Stable
Severity: enhancement
See also: T24660: Display the categories on the mobile site for everyone



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:48 AM
bzimport set Reference to bz71966.
bzimport added a subscriber: Unknown Object (MLST).
Deskana triaged this task as Lowest priority.Jan 22 2015, 5:03 PM

Reopen, as this is not T71984: Category view shows no articles in the mobile app, this is about show in which catgeories _one: page is categorized in, the other task is about showing the list of pages, which are in _one_ category :)

Florian raised the priority of this task from Lowest to Needs Triage.Mar 1 2016, 5:45 PM
Nemo_bis triaged this task as Medium priority.Nov 23 2016, 6:48 AM

This bug is quite important. I was reminded by , «Mobile web visitors have fewer pageviews per browsing session».

Deskana renamed this task from Show categories of a page to Show categories of a page in the Android app.Feb 18 2017, 5:07 AM
This task was proposed in the Community-Wishlist-Survey-2016 and in its current state needs owner. Wikimedia is participating in Google Summer of Code 2017 and Outreachy Round 14. To the subscribers -- would this task or a portion of it be a good fit for either of these programs? If so, would you be willing to help mentor this project? Remember, each outreach project requires a minimum of one primary mentor, and co-mentor.

@Dbrant Is your team planning on working on this project? If not would this be a good outreach/volunteer/hackathon project?

Unfortunately I don't think this would be a viable project for volunteers, because the depth of this issue is greater than might seem at first glance.
Technically it wouldn't be difficult to show the categories to which a page belongs. However, when the user actually navigates to a Category: page, it is not rendered correctly in the app, because the server doesn't actually return any content for it. This is due to numerous underlying issues in Parsoid and the Content Service (see T153980).
If there are volunteers who want to tackle the server-side issues first, that would be great. However, with regard to this task, even though it can be completed on its own by a volunteer, it wouldn't add much value to our users until the server-side issues are fixed.

Categories are page metadata, and the default desktop rendering is done by the skin. Other experiences will want to display categories in different ways, which is also facilitated by separating the category data from its formatting.

Page metadata is currently served primarily from two endpoints:

It might be worth considering adding the page's categories to one or both of those end point's responses.

Niedzielski added a subscriber: Niedzielski.

This seems to be a feature for the native Android app specifically and not mobile web so I'm removing the Readers-Web-Backlog tag.

Charlotte added a subscriber: Charlotte.

A prototype of this has been tested at Wikimania 2019. We will review the results and prioritise accordingly.

Just wanted to update this task with a note. We recently received another request about this.

A temporary fix will be implemented via T274295 where non-main-namespace pages will show up as mobile-web.

We have to use the temporary fix because Parsoid does not parse Categories and we are using Parsoid for rendering pages. If there is a native presentation for this we will consider pursuing it, but for now this will have to be our stop-gate.

Thanks for everyone's patience on this topic.

JTannerWMF added a subscriber: schoenbaechler.

@Dbrant can you share a prototype link here and @schoenbaechler can provide some feedback after getting through some of the other tasks at the top of his list

@JTannerWMF @Dbrant moved this to the bottom of the 'Needs Design/Design doing) column, as it was previously at the top of the list. Feel free to rearrange @JTannerWMF.