[go: nahoru, domu]

build: Updating npm dependencies

* eslint-config-wikimedia: 0.28.0 → 0.28.2
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2

Change-Id: I798f739b5b2f12e5c6eedc88ecac557de28be129
16 files changed
tree: d30b51b0a31b62d55ccc996c76421eefc420c04b
  1. .phan/
  2. i18n/
  3. modules/
  4. resources/
  5. src/
  6. tests/
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. .phpcs.xml
  11. .stylelintrc.json
  12. .svgo.config.js
  13. CODE_OF_CONDUCT.md
  14. composer.json
  15. COPYING
  16. extension.json
  17. Gruntfile.js
  18. jsduck.json
  19. package-lock.json
  20. package.json
  21. README.md
README.md

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