Manual:addChangeTag.php
Appearance
| MediaWiki version: | ≥ 1.32 |
| MediaWiki file: addChangeTag.php | |
|---|---|
| Location: | maintenance/ |
| Source code: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| Classes: | AddChangeTag |
Details
[edit]addChangeTag.php file is a maintenance script to create a change tag.
Options/Arguments
[edit]| Option | Description | Required? |
|---|---|---|
| --tag | Name of the tag to add | Required |
| --reason | Reason for adding the tag | Required |
Usage
[edit]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.
In MediaWiki version MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.