mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 00:58:44 +00:00
902f1b7eda
Except for the part about running QUnit tests within MediaWiki. Change-Id: I98db2aff467a384d89bb3a84e3d65d56bde416de
824 B
824 B
Contributing to VisualEditor
Thank you for helping us develop VisualEditor!
We inherit the contribution guidelines from VisualEditor core. Be sure to read the Contribution guidelines in the VisualEditor repository.
Running tests
The VisualEditor plugins for MediaWiki can be tested within your MediaWiki install.
Configure your wiki to
allow running of tests. In LocalSettings.php
, set:
// https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing
$wgEnableJavaScriptTest = true;
Then open http://URL_OF_MEDIAWIKI/index.php/Special:JavaScriptTest/qunit
(for example, http://localhost/w/index.php/Special:JavaScriptTest/qunit).