mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +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
23 lines
814 B
Markdown
23 lines
814 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/VisualEditor%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>).
|