gplx/mediawiki/resources
Sascha 355da16a5b feat: Document/Reference namespace, infobox sidebar, deploy script, SMW property types
- Add Document: (NS 3000) and Reference: (NS 3002) namespaces with SMW enabled
- Fix SMW namespace config: set smwgNamespacesWithSemanticLinks before wfLoadExtension
- Declare all Doc*/Ref* SMW properties as Has type::Text for correct query results
- Template:DocumentBox — right-floating infobox sidebar with header row styling
- Template:ReferenceBox — new sidebar template for Reference: pages
- MediaWiki:Common.js — filter buttons (Type, Validity area, Scope, Status, Doc type,
  Language, Restricted access), 250-char preview, pagination; removed unused groups
- Document_Index — rewritten with [[Document:+]] SMW queries, grouped by status + scope
- Main_Page — updated Quick navigation, replaced old property-name queries
- scripts/deploy.ps1 — add pages mode (rsync + SSH wiki push), db mode (mysqldump sync),
  updated all mode; 21-page mapping incl. Template:DocumentBox/ReferenceBox
- .deploy.example.env — document new vars (DEPLOY_PHP, DEPLOY_MW_USER, DEPLOY_DB_*)
- scripts/templates/*.wiki — new and updated content pages + category pages
- mediawiki/resources/assets/GxPlex-Logo.png — project logo asset

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-27 21:21:06 +02:00
..
assets feat: Document/Reference namespace, infobox sidebar, deploy script, SMW property types 2026-06-27 21:21:06 +02:00
lib feat: Mediawiki added, extensions added 2026-06-01 16:02:23 +02:00
src feat: Mediawiki added, extensions added 2026-06-01 16:02:23 +02:00
README.md feat: Mediawiki added, extensions added 2026-06-01 16:02:23 +02:00
Resources.php feat: Mediawiki added, extensions added 2026-06-01 16:02:23 +02:00

README.md

MediaWiki Frontend API

This documentation describes the public API that user scripts, gadgets, skins, and extensions can use to interact with MediaWiki. To interact with MediaWiki from outside a wiki, use the Action API.

The MediaWiki frontend API consists of global variables and ResourceLoader modules.

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

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

Contribute