Manual:addChangeTag.php
MediaWiki version: | ≥ 1.32 |
MediaWiki file: addChangeTag.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.4 • 1.41.5 • 1.39.11 |
Classes: | AddChangeTag |
Details
editaddChangeTag.php file is a maintenance script to create a change tag.
Options/Arguments
editOption | Description | Required? |
---|---|---|
--tag | Name of the tag to add | Required |
--reason | Reason for adding the tag | Required |
Usage
editphp 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 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.