MediaWiki extension RevisionSlider

Clone this repo:
  1. 1cdcc1b Localisation updates from https://translatewiki.net. by Translation updater bot · 2 days ago master wmf/1.43.0-wmf.2 wmf/branch_cut_pretest
  2. b1d8a16 Remove dead code by Jon Robson · 6 days ago
  3. e482005 Remove dead code for "colored diff column top borders" by thiemowmde · 6 days ago
  4. b8f57c9 build: Updating eslint-config-wikimedia to 0.27.0 by libraryupgrader · 8 days ago
  5. 40bbb24 Merge "Drop RTL scroll type detection, obsolete since 2023" by jenkins-bot · 3 weeks ago REL1_42 wmf/1.42.0-wmf.26 wmf/1.43.0-wmf.1

RevisionSlider extension

This MediaWiki extension shows a slider allowing selecting and comparing of revisions on a diff page

Installation

Check out this extension into the extensions folder of your MediaWiki installation and add the following line to your LocalSettings.php:

wfLoadExtension( 'RevisionSlider' );

Tests

Before executing tests run the following in the root directory of the extension once:

composer install
npm install

For the tests run:

composer test
node_modules/.bin/grunt test

QUnit Tests

See https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing#Run_the_tests

Browser Tests

See tests/selenium/README.md