Last modified: 2014-08-15 12:02:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T48541, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46541 - Timestamp is grammatically wrong [regression]
Timestamp is grammatically wrong [regression]
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
master
All All
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
https://de.wikipedia.org/wiki/Spezial...
: code-update-regression, i18n
Depends on: 45385
Blocks: 64430
  Show dependency treegraph
 
Reported: 2013-03-25 16:28 UTC by se4598
Modified: 2014-08-15 12:02 UTC (History)
4 users (show)

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


Attachments

Description se4598 2013-03-25 16:28:04 UTC
caused by bug 45385 ( MWTimestamp::getHumanTimestamp() )
introduced in https://gerrit.wikimedia.org/r/46797
Comment 1 Andre Klapper 2013-03-25 17:19:07 UTC
What does "is grammatically wrong" mean exactly, or where can I see it?
Comment 2 se4598 2013-03-25 17:38:46 UTC
It's at the header of a feedback-entry, words are in a wrong case. It displays how old feedback is.
examples are: "vor 2 Tage", "vor Ein Monat"

This applies to all output of MWTimestamp::getHumanTimestamp() as described in bug 45385.
Comment 3 TMg 2013-04-03 13:11:08 UTC
To explain this for English readers:

This works in English: "1 day ago", "2 days ago". It does not work in German because of inflection: "vor 1 Tag" is right but "vor 2 Tage" is wrong. This must be "vor 2 Tagen".

A simple solution is to change the German translation to "Alter: 2 Tage" ("age: 2 days"). But this does not look nice. And it's currently not possible to change this because it is fixed in the code.

Better solution: Don't use the existing translations. Introduce your own translations.
Comment 4 Nemo 2013-12-25 08:03:20 UTC
The situation of getHumanTimestamp() confuses me: that bug was marked fixed. TMg and se4598, before you completely forget how AFT looks like ;) could you tell if this had been fixed or not and what was left to do?
Comment 5 se4598 2013-12-25 14:16:52 UTC
By testing against enwiki:
I see "Vor 2 Tagen" and "Vor 1 Monat", which is now correct. "Vor 1 Tag" and "Vor 1 Monat" isn't as nice as "Vor einem Tag" and "Vor einem Monat" would be but I think it's not longer an real bug with AFT.

What still makes me wonder: Why does this not display "yesterday" (instead of "1 day ago") or "monday at" as suggested it would happen in the current code of getHumanTimestamp() of MW and why is the "Vor" in i.e. "Vor 1 Tag" starts uppercase, not lowercase? I don't see where this could come from.

I'm sure there was a time where the above was displayed correct (I just found an old local mw-installation where it displays "yesterday", based on git checkout of mw and aft around 1.22alpha).

So basically it's mostly resolved fixed, but there's probably still an issue in the way AFT calls getHumanTimestamp() or in getHumanTimestamp() itself, but in this should be catched by the testcase of timestamp-class as far as I understand all this. -> I have no clue why it is not like it should be.
Comment 6 Nemo 2013-12-26 00:41:08 UTC
(In reply to comment #5)
> So basically it's mostly resolved fixed, but there's probably still an issue
> in
> the way AFT calls getHumanTimestamp() or in getHumanTimestamp() itself, but
> in
> this should be catched by the testcase of timestamp-class as far as I
> understand all this. -> I have no clue why it is not like it should be.

Check bug 55886 please.
Comment 7 Marcin Cieślak 2013-12-26 22:49:20 UTC
I think we should clearly specify what "human timestamp" should be, especially given i18n issues.
Comment 8 Andre Klapper 2014-02-28 16:36:01 UTC
[Lowering priority to reflect reality, as AFTv5 is not very actively being worked on anymore.]

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


Navigation
Links