MediaWiki talk:Cx
Protected edit request on 5 February 2020
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- @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)
- 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)
- ? — xaosflux Talk 20:14, 5 February 2020 (UTC)
- 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)
Protected edit request
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- @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)
- 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)
- @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)
- Also, where in the actual tool do you see this message? DannyS712 (talk) 22:11, 5 February 2020 (UTC)
- @DannyS712: steps to get to it as a tool user, and from what I can tell the only thing we can inject there:
- Enable Content Translation in Special:Preferences#mw-prefsection-betafeatures
- Visit Special:ContentTranslation
- Click on any suggested page for a translation to English (you may have to adjust the filter)
- Click start translation
- See the top of the page that a user sees. If we can get another message that will show here (e.g. MediaWiki:cx-translation-local-instructions or the like) that would be better.
- — xaosflux Talk 22:36, 5 February 2020 (UTC)
- @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)
- @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)
- @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)
- 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)
- @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)
- 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)
- @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)
- @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)
- @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)
- @DannyS712: steps to get to it as a tool user, and from what I can tell the only thing we can inject there:
- 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)
Protected edit request (2021)
[edit]This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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:
- The entire text appears in the list on Special:SpecialPages (screenshot: F34728141)
- The length messes up the layout on Special:ContentTranslation when you have the tool enabled, especially if your username contains spaces (screenshot: F34728140) and even worse in the mobile version (screenshot: F34728139)
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)
- Done @Matma Rex: Hows it now? — xaosflux Talk 17:57, 3 November 2021 (UTC)
- Don't think that message used to exist - it is certainly a better place for this! — xaosflux Talk 17:58, 3 November 2021 (UTC)
- @Xaosflux Way better, thanks! Screenshot from my point of view: F34728162, and mobile: F34728160. Matma Rex talk 18:01, 3 November 2021 (UTC)
- 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)
- 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
- @Xaosflux Way better, thanks! Screenshot from my point of view: F34728162, and mobile: F34728160. Matma Rex talk 18:01, 3 November 2021 (UTC)
- Don't think that message used to exist - it is certainly a better place for this! — xaosflux Talk 17:58, 3 November 2021 (UTC)