Template:Wg: Difference between revisions

From Freephile Wiki
correct the interwiki link
correct the interwiki again (alias of mediawikiwiki)
 
Line 1: Line 1:
<code>[[mediawiki:Manual:$wg{{{1|}}}|$wg{{{1|}}}]]</code><noinclude>
<code>[[mw:Manual:$wg{{{1|}}}|$wg{{{1|}}}]]</code><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 15:17, 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