Main Page
Appearance
This is a test wiki for mw:Extension:Produnto.
Getting access
Users can upload a sandbox but will need sysop permissions to edit MediaWiki:Packages.json.
Tool owners can run maintenance scripts:
$ ssh login.toolforge.org
$ become produnto-test
$ ./mwscript createAndPromote --help
Add a repo
- Make sure the repo is under repos/lua or repos/produnto or tstarling
- In the GitLab repo settings, add a new webhook with the URL https://produnto-test.toolforge.org/w/rest.php/produnto/v1/gitlab/tag
- Tag a release
- Add the package to MediaWiki:Packages.json
Test unreleased changes to packages
Install Produnto Sandbox
$ git clone https://gitlab.wikimedia.org/tstarling/produnto-sandbox
$ cd produnto-sandbox
$ npm install
$ echo '{
"scriptUrl": "https://produnto-test.toolforge.org/w",
"clientId": "677285625d0b65da5a42204649e86084"
}' > config.json
Upload your working copy and watch for changes:
$ node bin/watch.js --name=sandbox1 my-package:$HOME/src/my-package
Activate the sandbox by visiting Special:ProduntoSandbox.
Now the unreleased package contents should be used during preview.