mw is a command-line interface for MediaWiki and Wikimedia developers. It provides a set of tools to simplify common tasks, such as managing a local development environment, interacting with GitLab and Gerrit, and more.
- MediaWiki Development Environment: A Docker-powered local environment for MediaWiki development.
- GitLab & Gerrit Integration: Tools for managing merge requests, patches, and repository interaction.
- ToolHub & CodeSearch: Quick access to Wikimedia developer tools and codebase search.
- Update System: Easy updates to the latest version of the CLI.
For user-facing documentation and a guide on how to use mw, visit the MediaWiki.org page.
Follow the installation guide on MediaWiki.org.
We welcome contributions! Please see the following documents for more information:
- CONTRIBUTING.md: Guidelines for contributing to the project and the workflow we follow.
- DEVELOPMENT.md: Detailed instructions on how to set up your local development environment, build the project, and run tests.
From the repository root, build the CLI and put its bin directory first on
your current terminal's PATH:
make build
export PATH="$PWD/bin:$PATH"
hash -r
command -v mwThe last command should show this repository's bin/mw. Documentation examples
using mw will then run your development build unchanged. Rebuild with
make build after changing the source; the PATH change lasts for this shell
session. You can also run ./bin/mw directly from the repository root.
- Phabricator: #mwcli
- IRC:
#mediawikion Libera.Chat - Mailing List: wikitech-l
This repository has continuous integration setup on GitLab. You can read more in CI.md.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.