Page MenuHomePhabricator

[SPIKE] Investigate how AfD and AfC talk pages would display in the app
Closed, ResolvedPublic

Description

Background
When participating in an AfD, you can't reply to people like you can on talk pages. You have to edit the page in source. For some reason, using the four tildes does not show my signature in the preview before my edit is published. It was super weird to just see four tildes but otherwise normal preview functionality. - Clovermoss

Task

  • Explore what it would look like to show AfD talk pages in the app in English, Arabic and Hindi.
  • See if a API Exists for AfD and AfC

Event Timeline

@Dbrant : Could work on EN if we hardcode feeding in AfD for talk pages, there are MANY questions around support for other languages. WE will revisit this when we work on patrolling tasks next quarter

LGoto triaged this task as Low priority.Aug 18 2022, 4:40 PM
LGoto moved this task from Needs Triage to Product Backlog on the Wikipedia-Android-App board.
JTannerWMF renamed this task from [SPIKE] Investigate how AfD talk pages would display in the app to [SPIKE] Investigate how AfD and AfC talk pages would display in the app.Apr 20 2023, 12:54 AM
JTannerWMF updated the task description. (Show Details)

See if a API Exists for AfD and AfC

The API for processing AfD pages is the same as for regular Talk pages. Having an API is not the problem.

Screenshot_20230419_222448.png (1,440×3,040 px, 237 KB)

The problem is detecting whether a page is an AfD page.
The reason we show Talk pages in our native presentation is because Talk pages are in the Talk: namespace. If we detect that a page is in the Talk: namespace, we show it in the native interface. But AfD pages are in the Wikipedia: namespace, which is a namespace that also contains a million other types of pages that are not AfDs.

We can hard-code the English case of "/Wikipedia:Articles for Deletion/", so that we know that anything under that path can be considered a “talk” page, but hard-coding the same thing for all other languages is the difficult part. Do all other language wikis follow the same convention for AfDs? Do we have a list of path prefixes (like the English case) for other languages?

Another consideration:

  • At least on enwiki, when replying or casting a vote in an AfD, the convention is to write your vote in bold, followed by your reasoning, e.g. "Delete, article does not meet notability requirements". However, our current native Talk interface only supports plain text. The user can technically type wikitext into it, but ideally we should expand the interface with syntax buttons, much like we have in the general article editor, and also offer a "preview" of the reply, so that the user can be sure that their message will be formatted as they expect.