Last modified: 2014-01-03 16:09:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 21716 - Log entries assume sentence starts with username
Log entries assume sentence starts with username
Product: MediaWiki
Classification: Unclassified
Internationalization (Other open bugs)
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
: 30737 (view as bug list)
Depends on: 24620
  Show dependency treegraph
Reported: 2009-11-30 14:06 UTC by suburbanpanther
Modified: 2014-01-03 16:09 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description suburbanpanther 2009-11-30 14:06:35 UTC
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 [ 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.
Comment 1 suburbanpanther 2009-12-01 22:37:37 UTC
This doesn't apply only to blocks; all log entries have this format.
Comment 2 Purodha Blissenbach 2011-02-26 17:10:53 UTC
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.
Comment 3 Niklas Laxström 2011-09-09 08:42:47 UTC
*** Bug 30737 has been marked as a duplicate of this bug. ***
Comment 4 Siebrand Mazeland 2013-10-07 11:48:50 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.