mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +00:00
902f1b7eda
Except for the part about running QUnit tests within MediaWiki. Change-Id: I98db2aff467a384d89bb3a84e3d65d56bde416de
23 lines
824 B
Markdown
23 lines
824 B
Markdown
# 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](https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FVisualEditor.git/master/CONTRIBUTING.md)
|
|
in the VisualEditor repository.
|
|
|
|
|
|
## Running tests
|
|
|
|
The VisualEditor plugins for MediaWiki can be tested within your MediaWiki install.
|
|
|
|
[Configure your wiki](https://www.mediawiki.org/wiki/Manual:JavaScript_unit_testing) to
|
|
allow running of tests. In `LocalSettings.php`, set:
|
|
```php
|
|
// 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>).
|