https://bugzilla.wikimedia.org/show_bug.cgi?id=19363
--- Comment #10 from Helder <[email protected]> 2009-06-25 18:38:56 UTC --- Hi Roan! (In reply to comment #9) > Currently, autosummaries are not part of the interface, but are saved in the > database verbatim. This means that for every revision, there's only one > summary > in one language that everybody sees. For this reason, it's undesirable to have > this stored in the UI language, because then an edit made by a Brazilian > person > would show an edit summary in pt-br for everyone. > Suppose that a user speaks the language PT-BR and has set this in the preferences. When the user do an edit at the project EN.wikipedia, I can imagine three possible behaviors that autosumaries we could have: (1) The user sees "Editing $1 (new section)" when previewing and "/* $1 */ new section" in the history and recent changes. If the user changes from PT-BR to any other language, these messages remain UNCHANGED; (2) The user sees "Editando $1 (nova seção)" when previewing and "/* $1 */ nova seção" in the history and recentchanges. If the user changes from PT-BR to any other language, these messages remain UNCHANGED; (3) The user sees "Editando $1 (nova seção)" when previewing and "/* $1 */ nova seção" in the history and recentchanges. If the user changes from PT-BR to any other language, these messages CHANGES according to the new language; Currently, what we have is the version (1). Considering that (A) the "new section" part of the messages are _not_ typed by the user, and that (B) what the user type is usually in the language set in the preferences (PT-BR), and that (C) the sumaries should be saved exactly as they are when the user preview his edit, I think that what makes more sense for the user is the option (2). Maybe what I've said in my previous comments was not clear, but I'm not asking to have the option (3): the second one makes more sense. (In reply to comment #8) > Lot's of work for minor benefit, imho. > By the way, this is indeed a "minor benefit" but it has confused me a lot =S when I came across this: The default language at Portuguese projects is PT and I'm Brazilian, so I set PT-BR in the preferences. But every time I've created a new section since I collaborate at pt.wikibooks I see "nova secção" instead of "nova seção". And this looks like a "typo" considering that the language was set to PT-BR, and not PT. So I was looking at http://pt.wikibooks.org/wiki/Especial:Todas_as_mensagens , then at http://pt.wikibooks.org/wiki/MediaWiki_Discuss%C3%A3o:Newsectionsummary and then at translatewiki http://translatewiki.net/w/i.php?title=MediaWiki:Newsectionsummary/pt-br&action=edit&loadgroup=core&loadtask=view trying to understand what is wrong... =/ It took me a while before I realize this is what MediaWiki was "supposed" to do... So the current behavior do not seems the correct one... Question: Is it difficult to change from (1) to (2)? > > How can I found where is wfMsgForContent defined at svn? > > > It's in includes/GlobalFunctions.php . What it does is format a message in the > content language as opposed to the UI language. > Thanks! Helder -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
