- Notifications
You must be signed in to change notification settings - Fork0
Github mirror of "integration/visualdiff" - our actual code is hosted with Gerrit (please seehttps://www.mediawiki.org/wiki/Developer_access for contributing)
wikimedia/integration-visualdiff
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
- npm install
- Make sure you have a working
uprightdiff
binary.You may have to compile from source if the Debian-packaged version isn't compatible with your Ubuntu install.
- Set the HTTP_PROXY_AND_PORT if you have a proxy in between.Ex: HTTP_PROXY_AND_PORT=http://some.proxy:8138
bin/ has some commandline scripts to generating diffs
Either use the following scripts
node bin/gen.screenshots.js --helpnode bin/diff.screenshots.js --help
OR this script
node bin/gen.visual_diff.js --help
$cd bin; node gen.visual_diff.js --config<your-config-file> --title Hospet
Thebin/examples
directory has a sample enwiki titles list and a bunch of example config files for 3 different use cases
- parsoid.php.diffsettings.js for comparing PHP parser output against Parsoid output
- batching.diffsettings.js for comparing Parsoid output without use of the Parsoid batching API against Parsoid output that uses the parsoid batching API
- php_output.diffsettings.js sample file (incomplete) for some use case that might compare PHP parser output in 2 different configurations
bin/examples directory also provides a rundiffs.sh script for generating diffs on a bunch of titles (provided in a file as a CLI arg) and run with a CLI-provided config file.At the very least, you may have to update the binary property for uprightdiff in the config files.
testreduce/ has client scripts and example config for mass testingof visual diffs by getting titles from a testreduce server (eitherfrom the Parsoid codebase or from the testreduce repo on githubonce that is ready for use).
There is an example testreduce server settings file there as well.
Thin server for generating diffs to be used in combination withtestreduce server to look at diffs (since the server doesn't havethe actual images, just a numeric score).
About
Github mirror of "integration/visualdiff" - our actual code is hosted with Gerrit (please seehttps://www.mediawiki.org/wiki/Developer_access for contributing)
Resources
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.