wiki.techinc.nl/resources
Jon Robson 159787b678 Skin: Use design tokens rather than hardcoded values
Since the design tokens have not yet been released to Codex we
use CSS variables with fallback for the time being. This is because
they are needed in Minerva for night mode.

Bug: T357166
Bug: T357998
Change-Id: I206e91dac7e14d80a5ffc6b533255b54dafca29a
2024-03-20 00:24:27 +00:00
..
assets
lib Update Codex from 1.3.4 to 1.3.5 2024-03-19 19:27:35 +00:00
src Skin: Use design tokens rather than hardcoded values 2024-03-20 00:24:27 +00:00
package.json Add jsdoc with jsdoc-wmf-theme 2023-11-28 00:37:48 +00:00
README.md docs: Update JSDoc homepage 2024-02-26 16:58:37 +00:00
Resources.php resources: Use colon-separator in content language for htmlform 2024-03-16 13:34:02 +01:00

This documentation describes the public API that user scripts, gadgets, skins, and extensions can use to interact with MediaWiki. These resources contain frontend JavaScript and CSS managed by ResourceLoader. To interact with MediaWiki from outside a wiki, use the Action API.

Get started

Explore the documentation

Browse namespaces and classes within the MediaWiki base library.

Manage dependencies

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.

Send notifications

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.

Utilities

Get helpful methods for handling URLs, CSS, regular expressions, and more.

Debugging and error reporting

Log errors, send deprecation warnings, and debug your code.

Upstream

  • jQuery plugins
  • OOjs — JavaScript library for working with objects
  • OOUI — component-based JavaScript UI library

Contribute