10 Things You Did Not Know MediaWiki Can Do
Ten overlooked MediaWiki capabilities, verified: __HIDDENCAT__, collapsible content, temporary accounts, copy-upload, {{=}}, group CSS, Scribunto and more.
MediaWiki is deeper than it looks from the default interface. These ten capabilities are all real, documented and often overlooked — a mix of magic words, configuration and built-in features that solve common problems without extra extensions.
- Hidden categories — put
__HIDDENCAT__on a category page and the category stops appearing in the footer of member articles while remaining searchable and admin-visible. The classic use: quality-control categories like 'Pages needing cleanup' - Collapsible content — wrapping anything in
<div class="mw-collapsible">makes it expandable/collapsible on the reader's click, no extension needed. Liven up long lists and step-by-step instructions - Temporary accounts for anonymous editors — with temporary accounts (available since MediaWiki 1.40, and standard on Wikimedia since 2024), IPs no longer appear in public history; config via
$wgAutoCreateTempUser - Copy-upload by URL —
$wgEnableUploads+$wgAllowCopyUploadslets users import files from a remote URL instead of downloading and re-uploading; admins can restrict domains wiki-side onMediaWiki:Copyupload-allowed-domains - The {{=}} magic word — templates that need a literal equals sign in a parameter value use
{{=}}(renders as '='), avoiding parser breakage - Group-specific CSS —
MediaWiki:Group-user.css,MediaWiki:Group-sysop.cssetc. load per user group: show a feature only to logged-in users without JavaScript - Lua scripting via Scribunto — the Scribunto extension (bundled) runs Lua inside templates: loops, tables and string handling that wikitext simply cannot do, powering most of Wikipedia's complex templates
- Visual diffs — on wikis with VisualEditor, the diff page offers a toggle between wikitext and a rendered side-by-side visual diff; reviewers of prose-heavy edits prefer it
- #ifexist for conditional content —
{{#ifexist:Page|A|B}}(from the bundled ParserFunctions) renders different content based on whether a page exists — used for "create this article" links and dynamic navigation - API-driven automation — everything (create, edit, delete, search, import) is reachable through the Action API; with the
editright, bots and scripts automate bulk imports, reports and sync — the foundation of every serious MediaWiki workflow
Most of these cost nothing to enable and cover the quirky middle ground between 'default wiki' and 'extension zoo'. The documentation links above are the authoritative reference for each feature.