Tech:SRE Import guideline

SRE Draft Policy

Imports are a vital process as not only do they allow users to migrate their wikis from other platforms to Miraheze, but they also allow users to easily take content from other wikis without having to copy/paste and with easier copyright attribution. While imports are very important to Miraheze, the process of importing must not be abused, and excessive requests for imports (especially which are in order to 'fork' wikis will be scrutinized before being authorized'

This policy is an SRE policy and due to its complexity, it is not necessary to have all users read it before making a request. Instead, it will be used by SRE members when determining whether an import will be approved.

Types of import

 * Type I: Migrating from another platform - When a wiki is migrating from another platform (and all or most users agree), it will usually be fine to import large XML and image dumps to Miraheze.
 * Type II: Forking from another wiki - When a wiki is 'forking' another wiki (and most users from that wiki are not coming to Miraheze), we will enquire about how many active users there are (or are expected) to be if the import is quite large.
 * Type III: Importing from Wikipedia or other large projects - When importing from Wikipedia or any other similar sites, we will ask how the import requested is actually necessary for the wiki, especially if articles from the Main space are being imported.

The key metric in all the above cases will be how many active users are there on the Miraheze wiki and how many will be expected to join. That is because the key idea behind this policy is not to have a single user or very few users take up a lot of of our space without actually using the content that they have imported, and us just hosting content from other wikis.

(See Exceptions below)

Exceptions to rule above

 * For Type I cases, if the XML and image dumps being requested are very large (~>10GB for XMLs, >15GB for images) some further questions should be asked (regarding active users)
 * For Type III cases, templates, JS/CSS scripts, Gadgets, etc. will be given more allowance, as long as they are not excessive and will actually be used on the wiki.

Questions to be asked (if necessary)

 * How many active users are there on your wiki and how many do you expect there will be in the near future (realistically)? (All Types (for I only if large))
 * Why is this content necessary for your wiki? Will you actually use the content after importing it, how? (Type III)

Indicative table [Is it necessary to have this]
This table indicates the approximate sizes of XMLs/images that will be taken account for forked wikis and Wikipedia imports. This table is only indicative and requests can be refused or approved even if they do not fit into these categories. This table DOES NOT apply to Type I imports.

1 active user: 500MB XML max; 2.5GB images max. (Can be exceeded if it's approved by a MWE following the response to the question below or if a reasonable use case exists) Imports from Wikipedia (or any other website that didn't belong to the user before) are limited to 100MB unless justification is provided.

1-5 active users: 1GB XML; 5GB images max

5-15 active users: 5GB XML; 10GB images max

15-25 active users: 10GB XML; 20 GB images max

> 25 active users: very rare for a forked wiki (not fully migrated), but hard to justify over 15GB XML and 30GB for images.