Page MenuHomePhabricator

Log entries assume sentence starts with username
Closed, ResolvedPublic

Description

Author: suburbanpanther

Description:
I haven't found another appropriate thread, but if it's been answered already, apologies.

This seems to be a problem with the way different bits of text are put together to produce log entries. For example, '''Username''' + Permissionserrorstext-withaction + actionedit gives a complete message. In some cases, this produces a problem, certainly in my own language, Manx (gv) and presumably in others.

E.g. for blocklogentry: blocked $1 with an expiry time of $2 $3
This is combined with the user name to form: '''Username''' blocked $1 with an expiry time of $2 $3

For languages which aren't Subject-Verb-Object this is grammatically incorrect. For example, I would like to put something like: Ghlass magh '''Username''' $1 derrey $2 $3

Is there any way to do this? I haven't found any other languages with such a setup so far.

I initially [http://translatewiki.net/w/i.php?title=Support&offset=20091129003140#lqt_thread_561 raised this] at translatewiki but was advised to report it here, although I wouldn't call it a bug as such, just a localisation problem.


Version: unspecified
Severity: normal
URL: http://gv.wikipedia.org/wiki/Er_lheh:Log

Details

Reference
bz21716

Related Objects

StatusAssignedTask
ResolvedNone
OpenNone
Declinedsiebrand
Resolved Fabrice_Florin
Resolvedmatthiasmullie
ResolvedUmherirrender
ResolvedUmherirrender
ResolvedUmherirrender
ResolvedNone
ResolvedUmherirrender
OpenNone
ResolvedGlaisher
OpenNone
ResolvedGlaisher
OpenNone
OpenNone
OpenNone
OpenNone
OpenNone
ResolvedGlaisher
Resolvedmatej_suchanek
ResolvedGlaisher

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:57 PM
bzimport set Reference to bz21716.
bzimport added a subscriber: Unknown Object (MLST).
bzimport created this task.Nov 30 2009, 2:06 PM

suburbanpanther wrote:

This doesn't apply only to blocks; all log entries have this format.

There is generally always the option to make each log entry a message in the MediaWiki name space in it entirety, with the apropriate set of parameters.

A downside may be that sometimes log entries are read by programs and acted upon programmatically. If formats differ between languages, this becomes more difficult. Frankly, I think, a technically better, language independent way should be used to access log data from within programs, such as via the API.

  • Bug 30737 has been marked as a duplicate of this bug. ***

Marking this as resolved. Since MediaWiki 1.19 this is no longer the case. There is legacy code and code that hasn't been updated. My advice is to open separate issues when encountering those.