Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Github mirror of "integration/visualdiff" - our actual code is hosted with Gerrit (please seehttps://www.mediawiki.org/wiki/Developer_access for contributing)

NotificationsYou must be signed in to change notification settings

wikimedia/integration-visualdiff

Repository files navigation

  • npm install
  • Make sure you have a workinguprightdiff binary.You may have to compile from source if the Debian-packaged version isn't compatible with your Ubuntu install.

Working with proxies

Commandline

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

Examples

$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 client

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.

Diff server

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors11


[8]ページ先頭

©2009-2025 Movatter.jp