Template:Maintenance script

Category:MediaWiki code#Maintenance%20script

Template:MW file/noslash

Template documentation


Template used on maintenance scripts' documentation pages, to provide summary information about them and add them to Category:Maintenance scripts.

Copy and paste template

{{Maintenance script
|name = 
|location = 
}}

Usage notes

Card that describes information of a maintenance script in core.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

The full, properly-capitalized name of the script. This is used to sort the scripts correctly in the maintenance scripts category and other categories the setting is used on, and to change the displayed name of the page.

Example
CheckUsernames.php
Stringrequired
Locationlocation

The path to the script from the root MediaWiki directory. Defaults to /maintenance/.

Default
/maintenance/
Stringoptional
Category:Infobox templates#Maintenance%20script
Category:Infobox templates Category:MediaWiki code Category:MediaWiki code pages without class names Category:Pages using the JsonConfig extension