Handbuch:addChangeTag.php
MediaWiki Version: | ≥ 1.32 |
MediaWiki-Datei: addChangeTag.php | |
---|---|
Speicherort: | maintenance/ |
Quellcode: | master • 1.43.0 • 1.42.5 • 1.39.11 |
Klassen: | AddChangeTag |
Details
addChangeTag.php file is a maintenance script to create a change tag.
Optionen/Argumente
Option | Beschreibung | Notwendig? |
---|---|---|
--tag | Name of the tag to add | Notwendig |
--reason | Reason for adding the tag | Notwendig |
Verwendung
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 1.39.10 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php
instead of php maintenance/run.php scriptName
.