Steps to replicate the issue (include links if applicable):
- Retrieve, using the pagetriagelist api, the details for a page that is not in the main namespace, while specifying a page_id to use to only retrieve the details of one page
- e.g. Go to https://en.wikipedia.org/w/api.php?action=pagetriagelist&page_id=73374700 (you can use the page id of any article in Draftspace).
- Notice the value for the key "talk_page_title"
What happens?:
The value returned is "Talk:Draft:Williopsis"
What should have happened instead?:
The value returned should be "Draft talk:Williopsis" (or whatever prefix is set for the Draft Talkspace in LocalSettings.php (underscores here would be replaced with spaces))