|This page is one of the official rules on the Simple English Wikipedia.|
Many people agree with it. They see it as a standard idea that all users should follow. When changing this page, please check that other people agree with your changes. Use the talk page when you are not sure or when you want to suggest a change.
- For a more detailed description of what importing is, see Help:Import.
The local import tool is at Special:Import. This tool brings - or "imports" - a page from a different Wikipedia to the Simple English Wikipedia. It can also bring the page history of the page to the Simple English Wikipedia.
There are two types of imports:
- Transwiki import – imports the content and revision history of any page from another wiki. We can only import from the English Wikipedia, and the Simple English Wiktionary, Wikibooks and Wikiquote. To import a page from any other wiki, please ask a steward.
- Upload import – imports a file in a special XML format produced by exporting pages from another wiki.
Administrators automatically have the ability to perform transwiki imports. Other users may request this flag if they need it (see below). Upload import is disabled on most Wikimedia wikis, but this wiki has elected to allow bureaucrats to assign and revoke the flag if needed.
To gain access to the local import tool one must place a request on the requests for permissions page. This is only required for the first instance of granting the tool. Subsequent grants can be accomplished by placing the task request on the Administrators' noticeboard. An attending bureaucrat will grant the tool.
The editor must meet certain requirements:
- Gain a local consensus
- Have a minimum of three months on the project
- Have a minimum of 200 mainspace edits on the project
- Have a clear, specified task
Once all the requirements are met, a local bureaucrat will issue the flag. The same user will remove the flag once the task is done.
With the importer tool, if you need it, get it. Once you are done, then give it back.
Import process[change source]
- Go to Special:Import
- Enter the name of the page to import.
- Uncheck "copy all history revisions for this page" if you want only the most recent line of history to be imported over.
- Be cautious to not check the box to bring all the templates over, this feature will overwrite many templates, even ones you don't intend to overwrite.
Importing over a page that already exists locally will usually cause visible conflicts in the page's revision history. Before using the tool, consider the common problems below.
Import guidelines[change source]
Common issues[change source]
Importing over the top of a page that already exists locally will usually cause problems with the page's revision history.
The chronology of a revision table is arranged using two methods. The system that calculates which edits are the previous/next edits (and the number of bytes between them) is based on revision numbers; while the system that calculates the number of revisions between two edits is based on timestamps.
When a page's revision history is imported, the foreign edits are assigned local revision numbers. Each number assigned is one higher than the last, starting from the earliest. Therefore, any edits already made to that page at the time of the import will have lower revision numbers than the imported edits, even if their timestamps indicate they were made at a later time. If the timestamps on any of the local edits were made more recently than the imported edits, it causes an overlap and a break in continuity.
This can make the revision table difficult to read, both for humans and computers. The difference between edits may look strange on the revision table (see image, far right). The exact change can still be seen correctly by clicking on the diff links, but only if you specify both of the revisions you wish to compare. Cycling through the changes without specifying both, in this instance, will lead you round in circles (see image, upper right).
Another description of these kinds of complications can be found here.
- Avoiding the overlap
Importers can avoid conflicts in revision histories by checking to see whether local edits have been made to a page. If they have, the following options will prevent an overlap:
- If the latest revision you want to import has a later timestamp than the most recent local edit to the page, uncheck the box that says "Copy all history revisions for this page". The imported edit will be sorted after the local edit.
- Some wikis ask users to import the page to a rarely used namespace (such as MediaWiki talk) or a subpage of the page being imported, where the overlapping revisions can be safely left deleted. For an example, see Wikipedia:Requests for page importation: Guidelines for admins on the English Wikipedia.
- You may find the easiest way to avoid it is to simply not use import. Copying the code directly from the source and pasting it here is perfectly acceptable, as long as you attribute the source with its URL or a hypertext link.
- Correcting the overlap
The only way to correct the conflict once the page has been imported is to split off the conflicting revisions.