Manual:importTextFile.php
From Linux Web Expert
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.24.0</tvar>.</translate> <translate> Please see <tvar name=page>edit.php</tvar> for an alternative way to use this feature.</translate> |
File:OOjs UI icon alert-destructive.svg | <translate> This feature was removed from MediaWiki core in version <tvar name=ver>1.24.0</tvar>.</translate> <translate> Please see <tvar name=page>importTextFiles.php</tvar> for an alternative way to use this feature.</translate> |
Archivo de MediaWiki: importTextFile.php | |
---|---|
Ubicación: | maintenance/ |
Código fuente: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Clases: | Buscar código • Buscar documentación |
Detalles
<td class="mw-version-versionbox" title="<translate nowrap> MediaWiki <tvar name=1>1.23</tvar> is unsupported version</translate>"><translate> ≤</translate> 1.23
Versión de MediaWiki: |
importTextFile.php file is a maintenance script to create or edit pages using the contents of a text file.
Uso
php importTextFile.php <options> <filename>
Opciones
Opción/parámetro | Descripción |
---|---|
<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> | Resumen de edición |
--nooverwrite | Don't overwrite existing content |
--norc | No actualizar los cambios recientes |
--help | Mostrar esta información |