mediawiki-extensions-Revisi.../tests/qunit
Leszek Manicki dc838bc87d Fetch more revisions as the user moves back and forward
This changes the previous behaviour of fetching always up to
500 most recent revisions.

Now the extensions fetches N revisions including the newer
revision selected to diff as the most recent revision.
N is number of revisions that would fit in the current
window when rendered as bars.
When user is close to either "end" of the slider, extensions
fetches another batch of up to N older or newer revisions,
as long as user does not reach the oldest or the newest
revision of the page.

Among others, this removes the limitations of the previous
approach: showing only 500 revisions, and failing to show
anything when any of selected revisions was older than
500 recent revisions.

This change also simplifies usage of Api class.

Bug: T135005
Change-Id: Ib3f4a6ac57ff17008f9d8784c4716bd294443096
2016-07-28 12:58:35 +02:00
..
QUnit.revisionSlider.testOrSkip.js Make QUnit tests language-setting-proof 2016-07-04 11:59:49 +00:00
RevisionSlider.DiffPage.test.js Make RevisionList expect list of Revision object 2016-07-05 00:01:46 +02:00
RevisionSlider.HelpDialog.test.js Open links in the "tutorial" in the new window 2016-07-20 12:28:20 +02:00
RevisionSlider.Pointer.test.js Prefix all classes and IDs with mw-revslider 2016-07-01 11:27:23 +01:00
RevisionSlider.PointerView.test.js Prefix all classes and IDs with mw-revslider 2016-07-01 11:27:23 +01:00
RevisionSlider.Revision.test.js Fetch more revisions as the user moves back and forward 2016-07-28 12:58:35 +02:00
RevisionSlider.RevisionList.test.js Fetch more revisions as the user moves back and forward 2016-07-28 12:58:35 +02:00
RevisionSlider.RevisionListView.test.js Make RevisionList expect list of Revision object 2016-07-05 00:01:46 +02:00
RevisionSlider.Slider.test.js Make RevisionList expect list of Revision object 2016-07-05 00:01:46 +02:00
RevisionSlider.SliderView.test.js Fetch more revisions as the user moves back and forward 2016-07-28 12:58:35 +02:00