commit | f3be60464e7f847ec473a4f01b9d5b07e69a0a5a | [log] [tgz] |
---|---|---|
author | thiemowmde <thiemo.kreuz@wikimedia.de> | Thu Nov 21 09:50:19 2024 +0100 |
committer | thiemowmde <thiemo.kreuz@wikimedia.de> | Thu Nov 21 09:50:19 2024 +0100 |
tree | e842e5399c70b7988950dc45c1877ff5fdb33741 | |
parent | 4396f4453fdce0bdd0f22c1765a450301f4781d0 [diff] |
Minimize .length checks in JavaScript This doesn't change anything but is just a code style question. I find it less confusing than a numeric comparison, to be honest. Change-Id: I6ef220e85e395fe4769103e20402e1e540946778
This MediaWiki extension shows a slider allowing selecting and comparing of revisions on a diff page
Check out this extension into the extensions
folder of your MediaWiki installation and add the following line to your LocalSettings.php
:
wfLoadExtension( 'RevisionSlider' );
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
See tests/selenium/README.md