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.

See also

  • Manual:Importing XML dumps
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.