Jump to content

About [[MediaWiki:Action-viewmywatchlist/hi]]

Yes, the only purpose of these messages is to complete that sentence (after the "to" in English).

Nemo (talk)17:49, 21 July 2013

Then I don't see why the messages have been split like this. I don't think saving a few bytes is worth the trouble translators will have in figuring out the relation between these messages and fixing it.

I "really" think that MediaWiki:Permissionserrorstext-withaction/en should be split into four messages, the $2 argument discarded and replaced with MediaWiki:Action-viewmywatchlist/hi, MediaWiki:Action-editmywatchlist/hi, MediaWiki:Action-viewmyprivateinfo/hi and MediaWiki:Action-editmyprivateinfo/hi in one instance each.

It is beyond me how/why anyone would think splitting messages like this is a good idea.

PS: I'm ready to file a bug if that's what's needed to fix this mess.

Well, as you can see from the links in docs originally it was even worse, at least now you should be able to produce sentences that make sense.

We have dozens of actions and many reasons one of them can be forbidden, so avoiding lego completely would mean having hundreds of messages more to translate. Moreover, consider the possibility of an action in an extension forbidden by something in another extension... the latter couldn't have knowledge of the former. So at most I suppose we could integrate the first parameter of permissionserrorstext-withaction, not the second.

If you think it would be better to have less patchwork here, do file a bug please; you'll make a better case if you can mention and briefly explain a concrete case in which a correct translation is made very hard or impossible in a language you know.

Nemo (talk)17:16, 23 July 2013

Ok, so what you're saying is that it is possible that MediaWiki:Permissionserrorstext-withaction/en is used with any of the dozens od action messages by an extension?

Obviously if the lego is used over so many messages, avoiding it would be stupid. However, this brings the original question for any other messages that may possibly be used with MediaWiki:Permissionserrorstext-withaction/en.

  1. Which other messages "may" be used as $2 in MediaWiki:Permissionserrorstext-withaction/en by an extension?
  2. Is it possible that any such message is used elsewhere too?

If I can get answers for these two questions, it will become possible to identify if the lego is a problem which may cause an impossibility of sentence formation. I didn't find an impossibility with the four messages specified, but I would like to investigate this.