Page MenuHomePhabricator

Create local overrides for talk page "Learn more" links in the new topic tool empty state
Closed, ResolvedPublic

Description

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

  1. Per the Copy section on T274832:
  2. Per the Copy section on T274831 and T277329:

Minimum test case

Non-User Talk Pages
Case 1

  1. Visit an empty, non-user talk page on any 5 Wikipedias listed on this page
  2. Click the Learn more about how these pages are used link within the empty state design (T274832)
  3. Verify you are taken to that local Wikipedia's talk page help page

Case 2

  1. Visit an empty, non-user talk page on one Wikipedia that is NOT listed on this page
  2. Click the Learn more about how these pages are used link within the empty state design (T274832)
  3. Verify you are taken to https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Talk_pages

User Talk Pages
Case 3

  1. Visit an empty, user talk page on any 5 Wikipedias listed on this page
  2. Click the Learn more about how these pages are used link within the empty state design (T277329+ T274831)
  3. Verify you are taken to that local Wikipedia's user page help page

Case 4

  1. Visit an empty, user talk page on one Wikipedia that is NOT listed on this page
  2. Click the Learn more about how these pages are used link within the empty state design (T277329+ T274831)
  3. Verify you are taken to https://www.mediawiki.org/wiki/Special:MyLanguage/Help:User_page

Event Timeline

The script only made 265 edits, while the two Wikidata items have 125 + 143 = 268 site links. I spent a lot of time figuring out why (and I had to re-run it because I didn't keep the output).

Apparently on kkwiki, my edit to https://kk.wikipedia.org/wiki/МедиаУики:Discussiontools-emptystate-link-userpage was blocked by an abuse filter "100-ден аз өңдеу жасаған қатысушылардың бет бастауына шек қою" (something about preventing users under 100 edits from creating pages). I guess they won't get the override.

And on huwiki, both pages have already been created: https://hu.wikipedia.org/w/index.php?title=MediaWiki:Discussiontools-emptystate-link-talkpages&action=history https://hu.wikipedia.org/w/index.php?title=MediaWiki:Discussiontools-emptystate-link-userpage&action=history

@Dusan_Krehel You added the User-notice tag, can you confirm that you want a notice about this change to be included in Tech News? This is a small change affecting a beta feature.

@matmarex

I saw that: https://sk.wikipedia.org/w/index.php?oldid=7236254&rcid=17917644

First look: This is a translate string of translatewiki. Or hm, what is it, if no translatewiki?

This item is in Main place. Untypical name for standard article. This name is a surprise for normal user, if he see in standard wiki on skwiki.

@Dusan_Krehel I'm not sure if I understand your questions, but I will try to answer. Tell me if I should clarify something. (I could write in Polish and you could write in Slovak, if that helps?)

That page I created replaces the translation from Translatewiki. The message is defined here: https://translatewiki.net/wiki/MediaWiki:Discussiontools-emptystate-link-userpage/en. I created a local page on each wiki, instead of using translations, because the help page may be different on different wikis even in the same language.

The text I added will be used as a link in a new interface for creating discussion pages that we're working on:

image.png (2×3 px, 333 KB)

By default, the text "Learn more about how these pages are used" (or its Slovak translation) would be a link to https://www.mediawiki.org/wiki/Help:User_page/sk, but we thought that the local help page at https://sk.wikipedia.org/wiki/Wikipédia:Stránka_redaktora would be more useful for users on Slovak Wikipedia.

If there is a better help page, please edit the page I created (or if you'd prefer to have a link to mediawiki.org, please delete it).

Case 1: Checked on bn, cs, ca, eo and uk wiki.
Case 2: Checked on https://bn.wikibooks.org/wiki/
Case 3: Checked on gl, eu, fi, als and el wiki.
Case4: Checked on this page: https://bn.wikibooks.org/wiki/%E0%A6%AC%E0%A7%8D%E0%A6%AF%E0%A6%AC%E0%A6%B9%E0%A6%BE%E0%A6%B0%E0%A6%95%E0%A6%BE%E0%A6%B0%E0%A7%80_%E0%A6%86%E0%A6%B2%E0%A6%BE%E0%A6%AA:RYasmeen_(WMF)

Everything is working as expected.