Template:Wg: Difference between revisions

From Freephile Wiki
copied from mediawiki.org but without using the Local Link template
 
correct the interwiki link
Line 1: Line 1:
<code>[[wiki:Manual:$wg{{{1|}}}|$wg{{{1|}}}]]</code><noinclude>
<code>[[mediawiki:Manual:$wg{{{1|}}}|$wg{{{1|}}}]]</code><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 15:16, 2 January 2025

$wg

Documentation icon Template documentation[view] [edit] [history] [purge]

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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

Name of global variable (without giving $wg prefix)

Example
EnableUploads
Linerequired

Example

{{wg|EnableUploads}} → $wgEnableUploads