Manual:importTextFile.php
This feature was removed from MediaWiki core in version 1.24.0. Please see edit.php for an alternative way to use this feature. |
This feature was removed from MediaWiki core in version 1.24.0. Please see importTextFiles.php for an alternative way to use this feature. |
MediaWiki file: importTextFile.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | Find code • Find documentation |
Details
editMediaWiki version: | ≤ 1.23 |
importTextFile.php file is a maintenance script to create or edit pages using the contents of a text file.
Usage
editphp importTextFile.php <options> <filename>
Options
editOption/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 |