Manual:DeleteTag.php/de
Appearance
| MediaWiki-Datei: deleteTag.php | |
|---|---|
| Speicherort: | maintenance/ |
| Quellcode: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| Klassen: | DeleteTag |
Details
deleteTag.php is a maintenance script that removes a revision tag from edits and log entries where it was applied.
Argumente
| Argument | Beschreibung | Notwendig |
|---|---|---|
| tagname | Name of the tag to delete | Notwendig |
Verwendung
php maintenance/run.php deleteTag tagname
Terminal
$ php maintenance/run.php deleteTag "mobile edit" Deleting tag 'mobile edit'... 1 The tag has been removed from 1 revisions, deleting the tag itself... Done.
You can find all valid tags at Special:Tags
Terminal
$ php maintenance/run.php deleteTag "visualeditor-switched" Tags defined by an extension cannot be deleted unless the extension specifically allows it.
Some MediaWiki extensions may not allow tags to be deleted.
Häufiger Fehler
- Tag '$tag' not found
This error occurs when an invalid tag name is given. See Special:Tags for valid tag names.