Directory

mediawiki/extensions/RevisionSlider - Gitiles

MediaWiki extension RevisionSlider

Clone this repo:
  1. 1a6fb24 Merge "migrate mw.track counter metrics to Prometheus" by jenkins-bot · 14 hours ago master
  2. 55874fa Use `wikimedia/client` instead of `client-es6` by Ed Sanders · 3 days ago wmf/branch_cut_pretest wmf/next
  3. c781c79 Localisation updates from https://translatewiki.net. by Translation updater bot · 5 days ago
  4. 95d90d5 migrate mw.track counter metrics to Prometheus by Cole White · 2 weeks ago
  5. 2ccaf7a Localisation updates from https://translatewiki.net. by Translation updater bot · 3 weeks ago

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