Skip to content

About

Adds Slash Commands to MediaWiki

Resources

Stars

2 stars

Watchers

4 watching

Forks

Repository files navigation

Slash Commands

MediaWiki extension that adds "slash commands" to the Visual Editor.

Image

Professional Wiki created this extension and provides MediaWiki Development, MediaWiki Hosting, and MediaWiki Consulting services.

Table of Contents

Installation

Platform requirements:

  • MediaWiki 1.39 or later (tested with 1.39)
  • VisualEditor 1.39 or later (tested with 1.39)
  • PHP is NOT used by this extension, so its version does not matter

Installation instructions:

  • Clone extension into extensions/SlashCommands/
  • Add wfLoadExtension( 'SlashCommands' ); to LocalSettings.php

Development

  • Setup node environment: make visual-editor-install
  • Build the assets: make visual-editor-build
  • Lint (and reformat): make visual-editor-lint
  • To add production assets to git: make add-production-assets

Release notes

Version 1.2.0 - 2025-08-29

  • Added German translations

Version 1.1.0 - 2023-08-16

  • Added link and other commands
  • Added plugin system for registering custom slash commands
  • Fixed UI bugs

Version 1.0.0 - 2023-06-15

Initial release — Release announcement

  • Support for MediaWiki 1.39
  • Support for PHP 7.4 and above
  • Slash command menu with formatting, list, and insert commands

About

Adds Slash Commands to MediaWiki

Resources

Stars

2 stars

Watchers

4 watching

Forks

Used by

Contributors

Languages