Manual:importTextFile.php

From MediaWiki.org
Jump to: navigation, search

Other languages:
català • ‎Deutsch • ‎English • ‎español • ‎suomi • ‎français • ‎italiano • ‎日本語 • ‎Nederlands • ‎polski • ‎português • ‎português do Brasil

Details[edit | edit source]

MediaWiki version: 1.23

importTextFile.php file is a maintenance script to create or edit pages using the contents of a text file.

Usage[edit | edit source]

php importTextFile.php <options> <filename>

Options[edit | edit source]

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

External links[edit | edit source]