Manual:ImportTextFile.php/fr
![]() | Cette fonctionnalité a été supprimée du noyau Mediawiki dans la version 1.24.0. Voyez edit.php comme manière alternative pour utiliser cette fonctionnalité. |
![]() | Cette fonctionnalité a été supprimée du noyau Mediawiki dans la version 1.24.0. Voyez importTextFiles.php comme manière alternative pour utiliser cette fonctionnalité. |
Fichier MediaWiki : importTextFile.php | |
---|---|
Emplacement : | maintenance/ |
Code source : | master • 1.39.1 • 1.38.5 • 1.35.9 |
Classes : | Accès au code • Accès à la documentation |
Détails
Version de MediaWiki : | ≤ 1.23 |
importTextFile.php file is a maintenance script to create or edit pages using the contents of a text file.
Utilisation
php importTextFile.php <options> <filename>
Options
Option/Parameter | Description |
---|---|
<filename>
|
Path to the file containing page content to import |
--title <title> | Title for the new page; default is to use the filename as a base |
--user <user> | User to be associated with the edit |
--comment <comment> | Edit summary |
--nooverwrite | Don't overwrite existing content |
--norc | Don't update recent changes |
--help | Show this information |