es.wikibooks.orgs has recently been launched. Some users are moving the articles from their former location on www.wikibooks.org
For better compliance of the GNU FDL, some of us are wondering whether there is a way to move the page along with its history to the new site.
I know the Special:Export feature, but is there an import feature to be used in the target site?
Regards.
Manuel G R wrote:
es.wikibooks.orgs has recently been launched. Some users are moving the articles from their former location on www.wikibooks.org
For better compliance of the GNU FDL, some of us are wondering whether there is a way to move the page along with its history to the new site.
I know the Special:Export feature, but is there an import feature to be used in the target site?
Special:Import is not yet complete. If someone wants to have a go, please feel free. Otherwise I'll try to get to at some point, but can make no guarantees about when that will be.
-- brion vibber (brion @ pobox.com)
On Mon, 2004-02-08 at 15:42 -0700, Brion Vibber wrote:
Special:Import is not yet complete. If someone wants to have a go, please feel free. Otherwise I'll try to get to at some point, but can make no guarantees about when that will be.
I decided that this was a good place to get my feet wet, and did some work last night. I have the form more or less done; files upload (though not all error possibilities are checked for); and a first crack at XML parsing (based entirely on actual Export produced XML, and SpecialExport). Now comes the more difficult part, actually updating the database. There are a number of issues:
- do we import revisions? -- Article is not set up for revisions; you cant tell it what user, timestamp, etc to use -- Should Article be expanded, or should I just do SQL from there? -- What about revision contributors? What if they don't exist in the current Wiki? -- How about rewriting the contributor line? ie: "OtherWikiUser (imported by CurrentUser)" - only currentuser is a link. Or putting the other sites user in the comment field?
-- How about this: put all the imported data in the archive, and dup the most recent copy as cur. Attributed cur to the logged in user. All the others to "importer", with the OtherWikiUser, and other time in the comment. -- if all the archives are imported at the same time (within one second), how do we know the order?
On Wed, 4 Aug 2004, Jeff Warnica wrote:
On Mon, 2004-02-08 at 15:42 -0700, Brion Vibber wrote:
Special:Import is not yet complete. If someone wants to have a go, please feel free. Otherwise I'll try to get to at some point, but can make no guarantees about when that will be.
I decided that this was a good place to get my feet wet, and did some work last night. I have the form more or less done; files upload (though not all error possibilities are checked for); and a first crack at XML parsing (based entirely on actual Export produced XML, and SpecialExport). Now comes the more difficult part, actually updating the database. There are a number of issues:
Just to make sure: you _are_ working from the existing SpecialImport.php, right?
-- brion vibber (brion @ pobox.com)
wikitech-l@lists.wikimedia.org