Difference between revisions of "Help:Downloading Camera-wiki.org"

From Camera-wiki.org
Jump to: navigation, search
(How to download Camerapedia's contents)
 
m (tinkering)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
You might want to keep a copy of some of Camerapedia's contents at home for a variety of reasons. Maybe you want to create your own work version of the website, to write drafts; or you want to include the contents into another Mediawiki website (but please take care of the GFDL and of the special copyright status of the images). Or you might simply want to keep a backup, to be sure that the contents remains available to you in the future whatever happens of the website.
+
You might want to keep a copy of some of Camera-wiki.org's text content for any of a variety of reasons: to create your own work version of the website, to write drafts, to include the contents into another Mediawiki website,<ref>In this event, please observe the GFDL. Further, the special copyright status of images will not allow many to be linked to.</ref> to keep a backup (in order to be sure that the contents remain available in the future whatever happens to the website).
  
Instead of saving the contents of each and every page, here is a quick and easy way to proceed, through Mediawiki's export function:
+
==How to do it==
# First you have to create a text file with a list of all the pages you want to download, putting one page title per line. If you want to download all the site's pages in one pass, you will have to make a complete list of [[Special:AllPages|all pages]]. Be warned this will be slightly tedious, and involves running command line scripts to have a properly formatted file. Pre-compiled lists, complete as of Jan. 8, 2011, are appended to this page: [[Help:How to download Camerapedia's contents/Main namespace|list of pages in the main namespace]] and [[Help:How to download Camerapedia's contents/Main namespace|list of other pages]].
+
Instead of saving the contents of each and every page, here is a quick, easy and far better way to proceed, using Mediawiki's export function:
# Now you have to paste this list into the site's [[Special:Export|Export page]]. Make sure to check "Save as file", otherwise your browser will try to display the resulting XML file. You're also given the choice of including the full history or not. Including the full history makes a much bigger file, but this is mandatory if you want to know who wrote which section of the pages, and to attribute the contents to its authors properly.
+
# Create a text file with a list of all the pages you want to download, with one page title per line. If you want to download all the site's pages in one pass, you will have to make a complete list of [[Special:AllPages|all pages]]. Be warned this will be slightly tedious, and involves running command line scripts to have a properly formatted file. <!-- Pre-compiled lists, complete as of Jan. 8, 2011, are appended to this page: [[Help:How to download the wiki's contents/Main namespace|list of pages in the main namespace]] and [[Help:How to download the wiki's contents/Other pages|list of other pages]].<ref>If these pages appear to contain mere garbage, click "edit" and then type Ctrl-A; you'll then see the point.</ref> -->
# Press "Export". Voilà, that's done, your browser is downloading an XML backup file that you can import back in another Mediawiki installation, with the full history log.
+
# Paste this list into the site's [[Special:Export|Export page]]. Make sure to check "Save as file", otherwise your browser will try to display the resulting XML file. You're also given the choice of whether or not to include the full history. Including the full history makes a much bigger file, but the full history is mandatory if you want to know who wrote which section of the pages, and in order to attribute the contents to its authors properly.
 +
# Press "Export".
 +
Voilà, that's done, your browser is downloading an XML backup file that you can import back into another Mediawiki installation, complete with the full history log.
 +
 
 +
==Notes==
 +
<references />

Latest revision as of 15:28, 30 March 2011

You might want to keep a copy of some of Camera-wiki.org's text content for any of a variety of reasons: to create your own work version of the website, to write drafts, to include the contents into another Mediawiki website,[1] to keep a backup (in order to be sure that the contents remain available in the future whatever happens to the website).

How to do it

Instead of saving the contents of each and every page, here is a quick, easy and far better way to proceed, using Mediawiki's export function:

  1. Create a text file with a list of all the pages you want to download, with one page title per line. If you want to download all the site's pages in one pass, you will have to make a complete list of all pages. Be warned this will be slightly tedious, and involves running command line scripts to have a properly formatted file.
  2. Paste this list into the site's Export page. Make sure to check "Save as file", otherwise your browser will try to display the resulting XML file. You're also given the choice of whether or not to include the full history. Including the full history makes a much bigger file, but the full history is mandatory if you want to know who wrote which section of the pages, and in order to attribute the contents to its authors properly.
  3. Press "Export".

Voilà, that's done, your browser is downloading an XML backup file that you can import back into another Mediawiki installation, complete with the full history log.

Notes

  1. In this event, please observe the GFDL. Further, the special copyright status of images will not allow many to be linked to.