Skip to content

Extensions

Extension enhancements

Citizen works out of the box, but these extensions unlock additional features when installed.

PageImages

Bundled with MediaWiki. Adds thumbnails to command palette results.

TextExtracts

Bundled with MediaWiki. Adds descriptions to command palette results.

LocalSettings.php
php
$wgExtractsExtendRestSearch = true;

ShortDescription

Displays a short description under the page title and in command palette results. Takes priority over TextExtracts when set.

MediaSearch

Adds a media search action to command palette results. Works automatically when installed.

MobileFrontend

Not recommended

Citizen is a fully responsive skin, so MobileFrontend's separate mobile experience is redundant and may conflict with Citizen's layout.

If you still need MobileFrontend, set the default mobile skin to Citizen:

LocalSettings.php
php
$wgDefaultMobileSkin = 'citizen';

Shows related pages in the command palette when no query is entered. To also show them at the bottom of pages:

LocalSettings.php
php
$wgRelatedArticlesFooterAllowedSkins[] = 'citizen';

Semantic MediaWiki

Adds an Ask query mode to the command palette. Type /smw: to build structured queries with autocomplete for properties, categories, and values. Works automatically when installed.

TemplateStylesExtender

Only needed if you use TemplateStyles. Enables CSS variables in TemplateStyles, including Citizen's design tokens.

Extension styles

TIP

Citizen provides custom styles for many popular extensions via skinStyles. These apply automatically when the extension is installed.

Supported extensions