mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
7b75c1ebf2
MediaWiki uses the momentJS module to display standard timestamps; this means you can avoid calculating the user offset, but also, it means that all timestamps are internationalized and translated, and use the standard view that MW uses in its interfaces. We can store the user's offset in a RevisionSlider variable so we can refer to it in timestamp construction, as well as manipulate it in tests without touching any global user options that may affect other tests. Bug: T136825 Change-Id: I67d9859b8f33ab8a217128822e246e7ab67f6511 |
||
---|---|---|
.. | ||
ext.RevisionSlider.css | ||
ext.RevisionSlider.DiffPage.js | ||
ext.RevisionSlider.fetchRevisions.js | ||
ext.RevisionSlider.init.js | ||
ext.RevisionSlider.noscript.css | ||
ext.RevisionSlider.Pointer.js | ||
ext.RevisionSlider.PointerView.js | ||
ext.RevisionSlider.Revision.js | ||
ext.RevisionSlider.RevisionList.js | ||
ext.RevisionSlider.RevisionListView.js | ||
ext.RevisionSlider.Slider.js | ||
ext.RevisionSlider.SliderView.js |