Last modified: 2014-03-18 13:27:37 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 T64377, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62377 - Add calendar hint to backend time formatter
Add calendar hint to backend time formatter
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
master
All All
: High normal (vote)
: ---
Assigned To: Adrian Lang
u=dev c=backend p=8
:
Depends on:
Blocks: 49186 62185
  Show dependency treegraph
 
Reported: 2014-03-07 14:50 UTC by Adrian Lang
Modified: 2014-03-18 13:27 UTC (History)
3 users (show)

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


Attachments

Description Adrian Lang 2014-03-07 14:50:31 UTC
The frontend formatter used to add a hint about the calendar model in specific cases:

year > 1581 && year < 1930 || year <= 1581 && calendar === 'Gregorian' || year >= 1930 && calendar === 'Julian'

<sup>Gregorian</sup>

There is also special CSS applied to that element in https://github.com/wmde/ValueView/blob/6dcc56edcffc97da131d5f4ac6ebd12eacd7aadd/src/experts/TimeValue.css, so the sup would need a class since the wrapper class does not exist anymore.
Comment 1 Gerrit Notification Bot 2014-03-10 09:46:32 UTC
Change 117833 had a related patch set uploaded by Adrian Lang:
Add optional calendar name to HTML-formatted times

https://gerrit.wikimedia.org/r/117833
Comment 2 Gerrit Notification Bot 2014-03-10 15:14:55 UTC
Change 117833 merged by Addshore:
Add optional calendar name to HTML-formatted times

https://gerrit.wikimedia.org/r/117833

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


Navigation
Links