Wikipedia:WikiProject Transwiki
From Wikipedia, the free encyclopedia
|
Welcome to WikiProject Transwiki, a WikProject for helping with the transwiki process outside of the Wikimedia family. This is done by explaining how to import and export articles, linking to help with MediaWiki software, prepping templates for use outside of Wikipedia, listing available resources (including editors willing to help), and much more.
For more information on WikiProjects, please see Wikipedia:WikiProjects and Wikipedia:WikiProject best practices.
[edit] Main goals
- Template "pack - a pack of commonly used templates that is pure wikicode and ready to be imported via xml file. We'll need to identify which templates should go into this basic pack. Some templates might require converting into pure-wiki table code, or for simplification.
- MediaWiki "pack"- similar to the template pack, a bunch of MediaWiki namespace pages that are formatted for general and easy use for most other wikis
- How to export- Expanding on the export/import guide, which so far is very minimal.
[edit] Useful files and templates
[edit] MediaWiki files
- /MediaWiki:Common.css - Click edit and select all text. Disregard appearance when viewed as a normal page. Should work on most installations of MediaWiki. Will import most of the css classes that Wikipedia uses (especially useful for wikitable classes). Last updated: April 17, 2008
- /MediaWiki:Common.js - Click edit and select all text. Disregard appearance when viewed as a normal page. Same as above, but for some common java script. Also includes useful bug fixes that might not be fixed in the current version of MediaWiki. Last updated: April 17, 2008
[edit] Templates
- These templates can normally be used as-is
- Template:! - Vital for most other templates to work. Recommend full protection when used on other wikis.
- Template:!! - Same as above.
- Template:- - Not as vital, but still highly used.
- Template:Main
- Template:Tl
- The following templates have been converted to use pure-wiki code, which is often required for most MediaWiki wikis
- /Template:Infobox animanga character - Nov 6, 2007
- Template:Infobox animanga (works as is, since it's just an instruction page)
-
- /Template:Infobox animanga/Header - Oct 18, 2007
- Template:Infobox animanga/Footer (works as is, since it's basically nothing more than
|}
, to end the table) - /Template:Infobox animanga/Other - Oct 18, 2007
- /Template:Infobox animanga/Anime - Oct 18, 2007
- /Template:Infobox animanga/Manga - Oct 18, 2007
- /Template:Infobox animanga/Movie - Oct 18, 2007
- /Template:Japanese episode list Dec 20, 2007
- /Template:Infobox VG - Nov 2, 2007
- /Template:Ambox - Oct 11, 2007
- /Template:Infobox Company - April 17, 2008
[edit] How to export
Do not use Special:Export, as it will only return 100 revisions at a time, and some of the other documented features do not currently work.
Instead, use http://en.wikipedia.org/w/index.php?title=Special:Export&pages=ARTICLE_NAME&history=1&action=submit
.
Save the file as something.xml
Use a find/replace feature of a text editor and find all "</username>
" and replace it with "@en.wikipedia.org</username>
"
Save. You should now be ready to import the file via Special:Import on another MediaWiki wiki.