The purpose of the project is:

At the moment it is used only in Help:VisualEditor/User guide, but the same concept can be applied to other tools as well.

Team

  • Erica Litrenta - anything Help:VisualEditor/User guide related
  • Ed Sanders - anything screenshots related
  • Amir Aharoni - anything language related
  • Ċ½eljko Filipin - anything related to uploading files to Commons

For existing projects

How to see the existing screenshots?

How to run the screenshot creating job?

  • Click Build Now button.

How to add a language to the current job?

New projects

How to write a test that creates screenshots?

  • Add another test to screenshots.js
  • Uploading is done using the commons_upload Ruby gem.
  • Environment variables that the gem needs:
    • MEDIAWIKI_API_UPLOAD_URL, API URL of the site where the images are to be uploaded
      • Testing: https://commons.wikimedia.beta.wmflabs.org/w/api.php
      • Production: https://commons.wikimedia.org/w/api.php
    • MEDIAWIKI_USER: usually LanguageScreenshotBot (exists on testing and production)
    • MEDIAWIKI_PASSWORD testing or production

How to create a whole new job for another extension?

  • Add another project to jjb/language-screenshots.yaml (example: gerrit:300035)

See also

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.