Slash Commands
Modern productivity for MediaWiki's visual editor

On this page
External links
Slash Commands for VisualEditor
Improve editing productivity and speed by using slash commands.
Slash commands offer a significant boost in productivity, allowing editors to perform tasks quickly without having to rely heavily on the mouse. Whether it's formatting text, creating tables, or adding images, the power of slash commands lies in the ability to expedite the editing process.
By eliminating the need to search through menus or remember complex syntax, users can now focus more on the content itself, resulting in a smoother and more enjoyable editing experience.
Usage Documentation
When editing a page using Visual Editor, type / to bring up a list of commands. As you start typing the name of a command the list will be filtered to show only matching commands:

To select the highlighted command, simply press ↵. If the command is not highlighted at the top, then you can continue typing more of the command's name. Alternatively, use the ↑ ↓ keys to select one of the other commands and then press ↵.

Installation
Requirements
- MediaWiki 1.39 or later
Load and enable
Enable the extension by adding the following to your LocalSettings.php:
wfLoadExtension( 'SlashCommands' );
You can verify the installation by checking your wiki's Special:Version page.
More MediaWiki Extensions
Professional MediaWiki Services
MediaWiki services by the authors of Slash Commands

Get superior results from the best MediaWiki developers with a proven track record of creating MediaWiki extensions & integrations.

Make your wiki look great! Use a time-tested responsive MediaWiki theme, or have us create a custom MediaWiki skin for you.

Let us take care of your wiki. We are MediaWiki hosting experts and provide cloud hosting, dedicated hosting, and on-premise hosting.

Bring your wiki to the next level by leveraging our MediaWiki expertise. From strategic planning to wikitext, we have you covered.

Migrate your wiki with confidence. We move your MediaWiki to a new home, or we help you migrate from another system to MediaWiki.

Keep your MediaWiki up-to-date and secure. We offer MediaWiki maintenance services to keep your wiki running smoothly.