MediaWiki talk:Cx

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Protected edit request on 5 February 2020[edit]

We should add the line:

"Additionally, machine translation is turned off on English Wikipedia for all users." Mvolz (talk) 20:11, 5 February 2020 (UTC)[reply]

@Mvolz: I think there is quite limited screen space for this, how about:

Translate page - On the English Wikipedia machine translation is disabled and this tool is restricted to extended confirmed editors, see WP:CXT for details.

? — xaosflux Talk 20:14, 5 February 2020 (UTC)[reply]
Sounds okay to me although I prefer to keep in "for all users", maybe "On the English Wikipedia machine translation is disabled for all users, and this tool is restricted to extended confirmed editors." But I'm fine with either. Mvolz (talk) 20:16, 5 February 2020 (UTC)[reply]
 Done as Translate page - On the English Wikipedia machine translation is disabled for all users and this tool is limited to extended confirmed editors (see WP:CXT).. — xaosflux Talk 20:48, 5 February 2020 (UTC)[reply]

Protected edit request[edit]

Please shorten this to just "Translate page" and instead move the longer explanation to MediaWiki:cx-specialpage-enable-betafeature. See Special:ContentTranslation - this message is used as the title, and it should just be "Translate page". Also, currently the link isn't rendered, and I assume it should be. Thanks, --DannyS712 (talk) 21:02, 5 February 2020 (UTC)[reply]

@DannyS712: last I checked that page won't render links, and this is the only place we could inject some text in to the tool - are you sure this is different now? — xaosflux Talk 21:05, 5 February 2020 (UTC)[reply]
 Not done I just checked the actual tool again, this is still the only place to inject in to it. It would be nice to have additional messages that could be put in there, would need a phab request. — xaosflux Talk 21:08, 5 February 2020 (UTC)[reply]
@Xaosflux: can you take a look at the special page? This message is what is used for the special page's description (https://gerrit.wikimedia.org/g/mediawiki/extensions/ContentTranslation/+/1603747283ff8f77c6276e33646ac0c68a8d8268/specials/SpecialContentTranslation.php#25) and it likely isn't where this message was intended to be displayed. DannyS712 (talk) 22:10, 5 February 2020 (UTC)[reply]
Also, where in the actual tool do you see this message? DannyS712 (talk) 22:11, 5 February 2020 (UTC)[reply]
@DannyS712: steps to get to it as a tool user, and from what I can tell the only thing we can inject there:
  1. Enable Content Translation in Special:Preferences#mw-prefsection-betafeatures
  2. Visit Special:ContentTranslation
  3. Click on any suggested page for a translation to English (you may have to adjust the filter)
  4. Click start translation
xaosflux Talk 22:36, 5 February 2020 (UTC)[reply]
@Xaosflux: Okay, I found it. But, that screen is only shown to users who are already extended confirmed, isn't it? DannyS712 (talk) 22:46, 5 February 2020 (UTC)[reply]
@DannyS712: no, there isn't actually a permission that is needed to use CX (which would also be nice, and we could add it to the EC group only) - our only EC block is an abuse filter that kicks in later. The whole thing is sloppy. — xaosflux Talk 22:50, 5 February 2020 (UTC)[reply]
@Xaosflux: So, add a permission needed to use? Pretty easy to do - can you file a phab ticket and assign it to me? DannyS712 (talk) 22:56, 5 February 2020 (UTC)[reply]
I don't think the extension maintainers wanted to - do you know who is maintaining CX extension now? (Is it still WMF led?) — xaosflux Talk 22:57, 5 February 2020 (UTC)[reply]
@DannyS712: but also, we don't really want to stop all users from using it, only stop them from using it when the destination namespace is ns:0 unless they are EC here, and we would still want to have messaging for others. — xaosflux Talk 22:58, 5 February 2020 (UTC)[reply]

Protected edit request (2021)[edit]

This is basically the same request as above (@DannyS712 @Xaosflux), but I think it's possible to do in a different way.

Let me motivate this by saying that the current override breaks a bunch of things:

Instead, the warning should be added to the message MediaWiki:Contenttranslation-summary, which is shown below the page header (when it exists). You might also want to add it to MediaWiki:Cx-specialpage-enable-betafeature, which is shown instead when the user doesn't have the tool enabled. Also, I'm pretty sure that both of these actually support wikitext links, unlike the current one. Matma Rex talk 17:51, 3 November 2021 (UTC)[reply]

 Done @Matma Rex: Hows it now? — xaosflux Talk 17:57, 3 November 2021 (UTC)[reply]
Don't think that message used to exist - it is certainly a better place for this! — xaosflux Talk 17:58, 3 November 2021 (UTC)[reply]
@Xaosflux Way better, thanks! Screenshot from my point of view: F34728162, and mobile: F34728160. Matma Rex talk 18:01, 3 November 2021 (UTC)[reply]
I think the message might have been added in change 697726 or change 630559. A bunch of code was rearranged so that ContentTranslation uses more of the standard MediaWiki special page code (by calling parent::execute( … )), and that ends up adding the "summary" message. Not sure if it was intentional, but it's definitely convenient. Matma Rex talk 18:06, 3 November 2021 (UTC)[reply]