mediawiki-extensions-Revisi.../modules
Moriel Schottlender abfcd2c01b RTLize RevisionSlider's behavior
Allow RevisionSlider to work properly in both LTR and RTL contexts
by making sure that when the interface language is RTL, the entire
interface flips. "Backwards" and "Forwards" are reversed in RTL
context, and the code and behavior should respond to that.

Changes made:
* Make sure the container has a direction set
* Change the placement of the revision divs from absolute
  positioning (that requires re-calculations when the page
  is flipped to RTL) to divs that are display: inline-block
  and have no right/left setting. This means that the DOM
  will automatically flip its own visual order when the
  container is set to RTL.
* Flip the calculation of positioning and the calculation
  of which element the pointer is on when it is dragged
  if the document is RTL.
* Mirror all scroll animations when the page is in RTL.
* Rename the scroll buttons to 'backwards' and 'forwards'
  for clarity, as they are flipped when the interface is
  RTL.
* Rename pointers to 'older' and 'newer' instead of
  trusting their order in the DOM.

Bug: T136277
Change-Id: I7c903c2e9d8ee2a0ef2eeb7b99f2251f230a794e
2016-06-08 13:26:43 +00:00
..
ext.RevisionSlider.css RTLize RevisionSlider's behavior 2016-06-08 13:26:43 +00:00
ext.RevisionSlider.DiffPage.js RTLize RevisionSlider's behavior 2016-06-08 13:26:43 +00:00
ext.RevisionSlider.fetchRevisions.js If the slider fails to load then fail nicely! 2016-05-12 09:46:39 +01:00
ext.RevisionSlider.init.js Use momentjs to display internationalized timestamps 2016-06-03 13:20:35 +00:00
ext.RevisionSlider.noscript.css When JavaScript disabled do not show RevisionSlider 2016-05-31 19:49:08 +00:00
ext.RevisionSlider.Pointer.js Make pointer offset depend on whether pointer is the upper pointer. 2016-05-26 12:30:12 +02:00
ext.RevisionSlider.PointerView.js RTLize RevisionSlider's behavior 2016-06-08 13:26:43 +00:00
ext.RevisionSlider.Revision.js Use momentjs to display internationalized timestamps 2016-06-03 13:20:35 +00:00
ext.RevisionSlider.RevisionList.js Adds the missing first revision to the slider. 2016-05-12 15:25:37 +00:00
ext.RevisionSlider.RevisionListView.js RTLize RevisionSlider's behavior 2016-06-08 13:26:43 +00:00
ext.RevisionSlider.Slider.js Fix bug that caused the most recent revision to never be visible. 2016-05-26 10:56:25 +02:00
ext.RevisionSlider.SliderView.js RTLize RevisionSlider's behavior 2016-06-08 13:26:43 +00:00