In the patch https://gerrit.wikimedia.org/r/c/mediawiki/extensions/DiscussionTools/+/708713, we've implemented the talk page "Learn more" links in the new topic tool empty state using links to mediawiki.org. On wikis that have local help pages on the subject, we want to link to those pages instead.
Requirements
- Per the Copy section on T274832:
- For each wiki listed in https://www.wikidata.org/wiki/Q4592157, override the message 'discussiontools-emptystate-link-talkpages' (e.g. https://en.wikipedia.org/wiki/MediaWiki:Discussiontools-emptystate-link-talkpages) with the page title from Wikidata (e.g. Help:Talk pages)
- Per the Copy section on T274831 and T277329:
- For each wiki listed in https://www.wikidata.org/wiki/Q4592334, override the message 'discussiontools-emptystate-link-userpage' (e.g. https://en.wikipedia.org/wiki/MediaWiki:Discussiontools-emptystate-link-userpage) with the page title from Wikidata (e.g. Wikipedia:User pages)
Minimum test case
Non-User Talk Pages
Case 1
- Visit an empty, non-user talk page on any 5 Wikipedias listed on this page
- Click the Learn more about how these pages are used link within the empty state design (T274832)
- Verify you are taken to that local Wikipedia's talk page help page
Case 2
- Visit an empty, non-user talk page on one Wikipedia that is NOT listed on this page
- Click the Learn more about how these pages are used link within the empty state design (T274832)
- Verify you are taken to https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Talk_pages
User Talk Pages
Case 3
- Visit an empty, user talk page on any 5 Wikipedias listed on this page
- Click the Learn more about how these pages are used link within the empty state design (T277329+ T274831)
- Verify you are taken to that local Wikipedia's user page help page
Case 4