Explore the documentation
Browse namespaces and classes within the MediaWiki base library.
Load modules and scripts to use in your code.
Access wiki configuration
Get information about wikis, pages, and users. See the complete list of configuration values.
Use the API
Interact with a wiki's API to query pages, edit pages, perform patrolling actions, and more.
- mw.Api — The Action API is a full-featured API that includes a complete set of actions and parameters. To try it out, visit Special:ApiSandbox on any wiki.
- mw.Rest — The REST API is a simplified API for performing basic read and write operations.
Integrate with wiki features
Hooks let you register and fire events that you can use to extend and enhance the behavior of MediaWiki.
Format and parse system messages
Handle translatable text or HTML strings that are part of the MediaWiki interface.
Display pop-up notifications to users.
Interact with users
Get information about users, sessions, and user preferences.
Interact with pages
Construct and parse page elements.
Get helpful methods for handling URLs, CSS, regular expressions, and more.
Debugging and error reporting
Log errors, send deprecation warnings, and debug your code.
- jQuery plugins