Moving a wiki to Miraheze/zh-cn

您可以将您自己、Fandom或其他任何Mediawiki主机托管商所托管的维基迁移至Miraheze. 您只需要带有您维基历史记录的XML文件.

从Fandom导出
Fandom（亦称Wikia）在 提供维基的XML存储. 但它可能已经过时——请让您的维基管理员点击“发送请求”（Send request）按钮. 如果您的维基没有活跃管理员，则必须建议Fandom的支持人员来为您点击. 请见Fandom关于此的文档. 请通知您的Wiki统计页面的系统管理员. 系统管理员：由于协议原因（尤其是知识共享许可的出处要求），您必须下载“当前页面和历史记录”.

如果愿意，您可以向Miraheze提供来自Fandom的图像存档以供自动上传. 请注意，根据Fandom的使用条款，自动爬取图片是违规的，并且图片不在XML存储中提供. 我们认为，手动下载依然合规，但是Miraheze无法在这一过程中为您提供帮助. 由于与您个人上传的图像相关联的一些元数据，您可能在欧盟的GDPR第20条中享有其他权利.

另请注意，我们已经被Fandom告知他们不允许大量删除页面和在主页上链接到外部维基. 鉴于此，用户可以创建有关搬运的公开信息，使其在删除前悬挂两周. 这个提交或将被存档以用于与之相关的讨论.

从 特殊:导出页面 导出
You can export your wiki using Special:Export. That page is self-explanatory, just make sure to uncheck "" because of the legal concerns outlined above. If this fails, you'll have to use the method below.

Exporting via maintenance scripts
If you have access to the server where MediaWiki is installed, issue dumpBackup.php in the wiki.

Caveats

 * None of the methods here export image files. You will have to copy the files and give them to the Miraheze system administrators for processing (via a Phabricator ticket).
 * Alternatively, you can use Wikiteam's wiki archiving tool to make a XML dump and download all available images at the same time. We can't guarantee it will work on all wikis, nor we will run it for you. You'll have to run it on your own and prepare the data.
 * These tools cannot populate the user database. Even if you have a database dump with the user data to import, we cannot handle their user information unless you have every users' consent to transfer the user data to us.
 * As always, any data transferred must have the proper copyright, and you must a license or ownership that allows you to host the content at Miraheze (e.g. Creative Commons). If you need to change the license of the wiki as a whole from CC-SA to some other license, please note this in your upload request.

Do it yourself
If your dump is really small (less than few KBs), you can try Special:Import on your wiki. (Don't try this command in Meta! Well... you can't do it, unless you have local sysop. Still, don't do it, unless you have compelling reason.) Images cannot be uploaded with the MediaWiki interface. Please see below section.

Request import
If your file is big enough that MediaWiki fails to process in due time, it has to be processed by Miraheze system administrators. Please request import using this form (Phabricator account required), and send your actual XML dump (with a link to phabricator task) to sre@undefinedmiraheze.org. Image import should also follow this way, too.

You should avoid creating a new page that is also in your old wiki. That will cause a conflict, and will most likely result in unpleasant situations.

Please note that we will disable any editing (including account creation) on the wiki during the import process: Your wiki users will need to create an account on Meta (this wiki!) and use that username and password to log in on the wiki until the import is complete.