Page MenuHomePhabricator

TypeError: currentPage.titleObj.getTalkPage(...) is null
Closed, ResolvedPublicBUG REPORT

Description

Loading Special:Homepage on mobile betalabs currently results in an error, TypeError: currentPage.titleObj.getTalkPage(...) is null. The call to canHaveTalkPage results in false because Special:Homepage is in a lower namespace number than what canHaveTalkPage() checks for.

Test URL:
https://en.m.wikipedia.beta.wmflabs.org/wiki/Special:Homepage

Details

Related Gerrit Patches:

Event Timeline

kostajh triaged this task as Medium priority.Nov 25 2019, 1:14 PM
kostajh created this task.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 25 2019, 1:14 PM
kostajh changed the subtype of this task from "Task" to "Bug Report".

Change 552804 had a related patch set uploaded (by Kosta Harlan; owner: Kosta Harlan):
[mediawiki/skins/MinervaNeue@master] Check if title can have talk page before accessing prefixed text

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

@kostajh: Is T238968 a duplicate and should get merged into this task?

@Aklapper oh dear. Yes. Thanks, I'll also merge T238035 in.

Change 552804 merged by jenkins-bot:
[mediawiki/skins/MinervaNeue@master] Check if title can have talk page before accessing prefixed text

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

Etonkovidova closed this task as Resolved.Nov 27 2019, 1:28 AM