Template:Wg: Difference between revisions

From Freephile Wiki
copied from mediawiki.org but without using the Local Link template
 
correct the interwiki again (alias of mediawikiwiki)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<code>[[wiki: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