Page MenuHomePhabricator

[[Special:Recentchanges]] does not use the content language when displaying log events (as move)
Closed, InvalidPublic

Description

Author: macronyx

Description:
I use French language settings on the Czech Wikipedia. I moved one page to
another on the Czech Wikipedia
(http://cs.wikipedia.org/w/index.php?title=Bazilika_Sacr%C3%A9-Coeur&diff=prev&oldid=356092).

In the Last changes edit summary the description of the deplacement was not in
Czech - as ever - but according to my client settings in French.

((Bazilika Sacré-Coeur déplacé vers Bazilika Sacré-Cœur (redirect): presunuti)

In my contributions
(http://cs.wikipedia.org/wiki/Speci%C3%A1ln%C3%AD:Contributions/Macronyx) the
note is in Czech as ever.

((Stránka Bazilika Sacré-Coeur přemístěna na stránku Bazilika Sacré-Cœur: presunuti)


Version: 1.6.x
Severity: normal
OS: Windows XP
Platform: PC
URL: http://cs.wikipedia.org/w/index.php?title=Bazilika_Sacr%C3%A9-Coeur&diff=prev&oldid=356092

Details

Reference
bz4920

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:06 PM
bzimport set Reference to bz4920.
bzimport added a subscriber: Unknown Object (MLST).

gangleri wrote:

Hallo Augustin!

This is a conterpart for 'Special:Recentchanges' like
Bug 2273: logs should use the default language and should not depend on the
selected user interface
was for 'Special:Recentchanges'.

First I thaught the cause of the behaviour you are describing is that the events
/ records have a different type.

a) 'Special:Log' deals with log events which change depending in the selected
user interface / according fo uselang=foo:

http://cs.wikipedia.org/w/index.php?title=Speci%C3%A1ln%C3%AD%3ALog&type=move&user=&page=Bazilika+Sacr%C3%A9-Coeur&uselang=cs
http://cs.wikipedia.org/w/index.php?title=Speci%C3%A1ln%C3%AD%3ALog&type=move&user=&page=Bazilika+Sacr%C3%A9-Coeur&uselang=fr
This is fixed.

b) 'Special:Contributions' deals with page / revision summaries which contain
similar information (here the move details) in the content language only. This
is not bug 2273.

http://cs.wikipedia.org/wiki/Speci%C3%A1ln%C3%AD:Contributions/Macronyx?uselang=cs
http://cs.wikipedia.org/wiki/Speci%C3%A1ln%C3%AD:Contributions/Macronyx?uselang=fr

c) *But* 'Special:Recentchanges' displays the log type events *only* in the
language used by the contributor.

http://test.wikipedia.org/wiki/Special:Recentchanges?uselang=en
http://test.wikipedia.org/wiki/Special:Recentchanges?uselang=fr

*note* not testes how other log events are displayed at 'Special:Recentchanges'.

best regards reinhardt [[user:gangleri]]

pgk.wikipedia wrote:

(c) is also a problem for the IRC feed at irc.wikimedia.org and causes a problem
if trying to parse those messages, since the messages will be in the perference
language of the user rather than the default language of the wiki. I notice
includes/LogPage.php in function actionText contains a FIXME suggesting the
content language should be used, however I think that would also change the
messages in the Special:Log/ views. The function probably needs to have a
forcontent parameter of it's own, such that the call to it when generating the
recentchanges log would be true and hence would always be in the content
language, whilst the other calls would remain as they are to retain viewing of
Special:Log in the users selected language.

Programmatic log events may indeed be shown in the local language, that's not a
problem but rather is part of the UI.