Manual:importTextFile.php
From MediaWiki.org
| MediaWiki File: importTextFile.php | |
|---|---|
| Location: | /maintenance/ |
| Source code: | HEAD |
| Classes: | None |
Import Text File
Import the contents of a text file into a wiki page.
USAGE: php importTextFile.php <options> <filename>
<filename> : Path to the file containing page content to import
Options:
--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