mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
9581a55ba2
In order to properly fix problems reported in T142636, core hook triggered on diff change (on diff page) will be added in I5aad7cc10a0db869d7c25d41f7db056885dad69b. When that change is merged, Thanks extension will be listening to this hook and not to RevisionSlider-specific revslider.diffreload. This adds temporary code fixing RevisionSlider's and Thanks' interaction before hook introduced in I5aad7cc10a0db869d7c25d41f7db056885dad69b is available. After it gets merged, the code added here should be replaced by firing the new core hook. Change-Id: I5dd6c592165ed30244ac8bff37bb6e4949c8bc4a |
||
---|---|---|
i18n | ||
modules | ||
resources | ||
tests | ||
.csslintrc | ||
.eslintrc | ||
.gitignore | ||
.gitreview | ||
.jscsrc | ||
.jshintignore | ||
.jshintrc | ||
.stylelintrc | ||
composer.json | ||
extension.json | ||
Gemfile | ||
Gruntfile.js | ||
jsduck.json | ||
package.json | ||
phpcs.xml | ||
README.md | ||
RevisionSlider.hooks.php |
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 tho 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