mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
7599551aef
* CODING.md was renamed to CONTRIBUTING.md a while back.
* Fix link to upstream CONTRIBUTING.md (was pointing at itself,
follows-up 902f1b7
).
Change-Id: I465642b842fb2724a57a5c4d93525a9bf46b39ca
814 B
814 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).