selenium: Upgrade to wdio-mediawiki 6.0.0

This change remove the use of mwbot.

Bug: T407738
Change-Id: I2beaf415211170fee32403e72b85dff589081d03
3 files changed
tree: 9af7ee3c94818360fe56f6ef61c454b3d0e54fbd
  1. i18n/
  2. includes/
  3. resources/
  4. sql/
  5. tests/
  6. .api-testing.config.json
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. .phpcs.xml
  11. .stylelintrc.json
  12. bundlesize.config.json
  13. CODE_OF_CONDUCT.md
  14. composer.json
  15. COPYING
  16. Example.i18n.alias.php
  17. Example.i18n.magic.php
  18. extension.json
  19. Gruntfile.js
  20. package-lock.json
  21. package.json
  22. README.md
README.md

Example extension for MediaWiki

The Examples extension is a collection of small example features that implement common extension interfaces in MediaWiki.

The basic structure of this repository is based on the BoilerPlate extension.

Usage

This repository is for reading, and contains verbose guidances and comments along the way. You can freely copy snippets from here. To start your own extension, it is recommended to copy the BoilerPlate extension instead.

Testing

This extension implements the recommended entry points of Wikimedia CI for PHP and Front-end projects.

Before you can test and build code locally, you need:

PHP

To run the PHP code checks and unit tests:

  • Run composer update

This will install testing software to vendor/ in the current directory.

Now, run compose test whenever you want to run the automated checks and tests.

Front-end

To run the checks for JavaScript, JSON, and CSS:

  • Run npm install

This will intall testing software to node_modules/ in the current directory/

Now, run npm test to run the automated front-end code checks..

Contributing

git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/examples.git

Known issues

  • TODO comments in this repo are left on purpose.

    You're welcome to follow the excercises and try to fix these locally, save it as patch, and upload such commit as a patch on Gerrit.

    However, please do not merge such patches, so that the next person can follow the excercise too.