Manual:Importing revisions
Importing revisions can be done interwiki or by upload.
Database
editFor each page that is imported in a single XML file, a row in the logging table will be created.
Files
edit- Manual:Import.php : Contains WikiImporter, UploadSourceAdapter, WikiRevision, ImportStringSource, and ImportStreamSource classes
- Manual:SpecialImport.php : Implements Special:Import
- Manual:ImportDump.php : Maintenance script
Configuration settings
edit- $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.