Manual:AddChangeTag.php/cs
Verze MediaWiki: | ≥ 1.32 |
Soubor MediaWiki: addChangeTag.php | |
---|---|
Lokalita: | maintenance/ |
Zdrojový kód: | master • 1.43.1 • 1.42.6 • 1.39.12 |
Třídy: | AddChangeTag |
Podrobnosti
addChangeTag.php file is a maintenance script to create a change tag.
Options/Arguments
Option | Description | Required? |
---|---|---|
--tag | Name of the tag to add | Požadované |
--reason | Reason for adding the tag | Požadované |
Usage
php maintenance/run.php addChangeTag --tag "tag name" --reason "reason shown in log"
Terminal
$ php maintenance/run.php addChangeTag --tag "EditTag" --reason "New tag for tracking" EditTag was created.
Ve verzi MediaWiki 1.39.12 a starší musíte vyvolat skripty údržby pomocí
php maintenance/scriptName.php
namísto php maintenance/run.php scriptName
.