Page MenuHomePhabricator

MediaWiki pages used in interface can be translated by non-admins
Open, Needs TriagePublic

Description

Non-admins can create and translate MediaWiki pages used in Wikidata interface using Translate Extension. I, User:4nn1l2, am not an admin on Wikidata, but I could create MediaWiki:Search-nonefound/fa and Translations:MediaWiki:Search-nonefound/1/fa.

It is worth mentioning that this is not possible on Commons. I also tried to do the same on MetaWiki and Mediawiki.org, but I could not find any appropriate messages.

The issue was originally reported at Commons translations' noticeboard: https://commons.wikimedia.org/w/index.php?title=Commons:Translators'_noticeboard&oldid=336435626#Translation_capability

Event Timeline

Please enable translation of all messages for all translators.Thanks

This can't be reproduced, @4nn1l2 may be you should check again. Non-admins cannot create/edit Wikidata:MediaWiki:Search-nonefound/fa. While Wikidata:Translations:MediaWiki:Search-nonefound/1/fa can both be created and edited by non-admins because it's in "Translation" namespace which doesn't have the same namespace-wide protection as MediaWiki namespace

Bugreporter renamed this task from MediaWiki pages used in Wikidata interface can be translated by non-admins to MediaWiki pages used in interface can be translated by non-admins.Jan 26 2019, 7:54 PM

Please also check the history of MediaWiki:Search-nonefound/fa. I did create that MediaWiki page on 20:52, 24 January 2019‎.

Well, this looks weird. I have 700+ edits and not having any explicit permission on Wikidata, this is what I am seeing.

Screen Shot 2019-01-26 at 9.10.26 PM.png (493×1 px, 148 KB)

I can't edit, neither create the page or similar pages, for instance consider the nonexistent Wikidata:MediaWiki:Search-nonefound/he.

Please read my comment again. I already said non admins can edit this. It was never restricted to sysops AFAIK.

I can't edit, neither create the page or similar pages,

Non-admins cannot create nor edit MediaWiki pages directly, but they can do so using Translate Extension.

Please read my comment again. I already said non admins can edit this. It was never restricted to sysops AFAIK.

Please do some translations https://www.wikidata.org/w/index.php?title=Special:Translate&action=page&group=agg-Interface_messages&language=ha&filter=%21translated and check your contributions, before repeating yourself here. Thanks!

I can't edit, neither create the page or similar pages,

Non-admins cannot create nor edit MediaWiki pages directly, but they can do so using Translate Extension.

You seem to be contradicting yourself here. I reiterated that non-admin cannot edit/create any page mediawiki namespaces, but you claim you did.

I did create that MediaWiki page on 20:52, 24 January 2019‎.

Creating page via translation is different from editing page directly. It's strange to actually do the former and claim doing the latter. You edited that special interface with (translate) right which is available to all users

Please do some translations https://www.wikidata.org/w/index.php?title=Special:Translate&action=page&group=agg-Interface_messages&language=ha&filter=%21translated and check your contributions, before repeating yourself here. Thanks!

No need to test anything here. It will work, all users have (translate) right on Wikidata. Am afraid, I have to say this for the third time.

In T214741, @4nn1l2 wrote:

It is worth mentioning that this is not possible on Commons. I also tried to do the same on MetaWiki and Mediawiki.org, but I could not find any appropriate messages.

This is explicable. This is because the translation admins on Commons, MetaWiki and Mediawiki.org are NOT doing things like this.

If you want non-admins to stop translating interface messages on Wikidata, ask the WD translation admins to stop adding the translation tags to the MediaWiki pages.

You seem to be contradicting yourself here. I reiterated that non-admin cannot edit/create any page mediawiki namespaces, but you claim you did.

Please do read the first sentence of description:

Non-admins can create and translate MediaWiki pages used in Wikidata interface using Translate Extension.

Creating page via translation is different from editing page directly. It's strange to actually do the former and claim doing the latter. You edited that special interface with (translate) right which is available to all users

I did not make such a claim. That was your misunderstanding from the beginning.

No need to test anything here. It will work, all users have (translate) right on Wikidata. Am afraid, I have to say this for the third time.

Thanks that you ultimately acknowledged "it [would] work".

This is explicable. This is because the translation admins on Commons, MetaWiki and Mediawiki.org are NOT doing things like this.

If you want non-admins to stop translating interface messages on Wikidata, ask the WD translation admins to stop adding the translation tags to the MediaWiki pages.

I did create MediaWiki:Com-poty-cat-sculptures and reliefs/fa using Translate Extension on Commons, and I think it is convenient for translators to translate messages using Translate Extension. Admins should be able to translate interface messages on every multi-language wiki using this extension.

Wikidata is making user interface messages translatable using translatable pages feature. This is not supported by the developers of Translate.

This ticket seems invalid to me. The Wikidata admins have decided that doing this is OK when they marked the page for translation. There's no need to second-guess that on Translate side, even if it is not supported.

Or maybe repurpose this task as "you shouldn't be able to edit translation units for a page that (ignoring translate's custom rules) you don't have permission to edit". That would fix another longstanding and documented misfeature in Translate, but would also be moving a lot of people's cheese.