Manual:Importing revisions

Importing revisions can be done interwiki or by upload.

Database
For each page that is imported in a single XML file, a row in the logging table will be created.

Files

 * Manual:Import.php: Contains WikiImporter, UploadSourceAdapter, WikiRevision, ImportStringSource, and ImportStreamSource classes
 * Manual:SpecialImport.php: Implements Special:Import
 * Manual:importDump.php: Maintenance script

Configuration settings

 * $wgImportSources - List of interwiki prefixes for wikis that will be accepted as sources for Special:Import (for sysops).
 * $wgImportTargetNamespace - Optional default target namespace for interwiki imports.