Page MenuHomePhabricator

Footer talk link does not handle non-mainspace pages correctly
Open, MediumPublic1 Story Points

Description

Steps to reproduce

  1. Go to a non-mainspace page, e.g., en:User:Example
  2. Click the Talk link in the footer and choose a browser to handle the link

Actual results

App navigates to a "bad title" page because, assuming the title is a mainspace article, it simply prepends "Talk:" to the title

Expected results

Best case: App navigates to User_talk:Example

Also acceptable and better than the status quo: "talk" link does not appear for non-mainspace pages

From OTRS report: https://ticket.wikimedia.org/otrs/index.pl?Action=AgentTicketZoom;TicketID=9994845

Details

Related Gerrit Patches:

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 25 2017, 3:43 PM
Mholloway updated the task description. (Show Details)May 25 2017, 3:44 PM
CKoerner_WMF added a subscriber: CKoerner_WMF.EditedJan 18 2018, 9:07 PM

A contributor on English Wikipedia reported something similar to this task today. Before I go and create yet another task could someone confirm/deny if this is related?

https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#No_talk_pages_appear_on_Mobile (See YuriGagrin12's comments in particular)

A contributor on English Wikipedia reported something similar to this task today. Before I go and create yet another task could someone confirm/deny if this is related?

This does seem quite related. To be more clear,

  1. The talk page links for all pages in the non-main namespace are broken (this is for all languages)
  2. As the talk page links for the other languages doesn't seem to have been localised they might be broken for mainspace pages also for non-English languages.

Is there any development about that? That embarrasses us in the world!

Note: related to T204100

Change 480887 had a related patch set uploaded (by Cooltey; owner: Cooltey):
[apps/android/wikipedia@master] Fix: talk page url does not have correct format if the page contains namespace.

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

I think the talk link should open the talk page in the mobile app instead of sending it to the browser. Good work so far!

Change 480887 abandoned by Cooltey:
Fix: talk page url does not have correct format if the page contains namespace.

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

Charlotte triaged this task as Medium priority.Tue, Dec 3, 5:52 PM