Lunarpedia:Wikipedia Import

From Lunarpedia
Revision as of 21:20, 15 November 2006 by Strangelv (talk | contribs) (Quick and dirty draft of tutorial to properly import Wikipedia pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Select the Wikipedia article. For example: http://en.wikipedia.org/wiki/Apollo_11

The name of the article in this case is Apollo 11

On the left side below the search box where it says 'toolbox' look for 'Special pages.' Click on that, then click on the link where it says 'export pages.'

...or go to this link: http://en.wikipedia.org/wiki/Special:Export

Type in the name of the article, in this case, Apollo 11

IMPORTANT: UNCHECK the box that reads 'Include only the current revision, not the full history' -- leaving this checked defeats the entire purpose of exporting it and hacking on the xml file.

Click on the Export button.

In your web browser, select 'save page as.' and save the file to disk with an appropriate filename (such as WikipediaApollo11.xml).

Open the file in your preferred text editor. Search for the first instance of <title>. You should see:

<title>Apollo 11</title>

Change that to

<title>GFDL:Apollo 11</title>

Save (as text file with extention .xml, probably the same filename).


Now you're ready to import.


On the left side below the search box where it says 'toolbox' look for 'Special pages.' Click on that, then click on the link where it says 'Import pages' below Restricted special pages.

...Or go here: http://lunarpedia.org/index.php?title=Special:Import

Click on the Browse button or paste the path and filename into the import box.

If all went well, you should see:

Importing pages...

  • GFDL:Apollo 11 100 revision(s)

Import succeeded!

You can now go to: http://lunarpedia.org/index.php?title=GFDL:Apollo_11