Template:Wg/doc

From Freephile Wiki
Revision as of 15:15, 2 January 2025 by Greg Rundlett (talk | contribs) (This is a copy from mediawiki.org but our template does not do translatable localized links; We hardcode to MediaWiki.org Manual: namespace)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Display a link to the Manual page of a MediaWiki configuration variable.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

Name of global variable (without giving $wg prefix)

Example
EnableUploads
Linerequired

Example

{{wg|EnableUploads}} → $wgEnableUploads