Handbuch:addChangeTag.php
Appearance
| MediaWiki Version: | ≥ 1.32 |
| MediaWiki-Datei: addChangeTag.php | |
|---|---|
| Speicherort: | maintenance/ |
| Quellcode: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| 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 MediaWiki 1.39 and earlier, you must invoke maintenance scripts using
php maintenance/scriptName.php instead of php maintenance/run.php scriptName.