Page MenuHomePhabricator

Add option to specify extra namespaces to treat as talkpages for mentions etc in Notifications
Closed, InvalidPublic

Description

Currently it just seems to to be (whatever) talk: pages and project: pages, but if a wiki has added others for this purpose too (such as forum:), there doesn't appear to be any way to add them to the list.

Should really have a config to modify them, as well as checking if they're being treated as talk pages in general by mw in general (as some extension-added ones may be; no need to have to manually specify those)

Event Timeline

Isarra created this task.Jan 13 2019, 5:33 PM
Restricted Application added a project: Growth-Team. · View Herald TranscriptJan 13 2019, 5:33 PM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Catrope closed this task as Invalid.Jan 17 2019, 9:38 PM
Catrope added a subscriber: Catrope.

There is no list of namespaces where mentions are expected or not expected. Instead, the code looks at the diff to see whether a signature was added. That's not exactly a great way to do it, and it causes issues (mentions being eaten in cases where the signature isn't detected, or was forgotten and added later), but that's how it works right now. My favorite proposal to fix this broken system is T128535: Consider ping parser function instead of link-based mention.

To demonstrate that mentions work in weird namespaces, I pinged myself on a category page on testwiki, and it worked: https://test.wikipedia.org/w/index.php?title=Category%3ASandbox_category_page&type=revision&diff=374996&oldid=374994