From Wikipedia, the free encyclopedia

User:Cryptic/transwiki.js and User:Cryptic/transwikifrom.js are a pair of scripts that (somewhat) ease the monotony of the transwiki process.

Installation

  1. On Wikipedia:
    1. Copy the contents of User:Cryptic/transwiki.js into your user js file. This will be in one of the following locations depending on the skin you're using:
    2. Customize the add_link() function at the top of the script by uncommenting one or more of the options.
      • If you're also using Korath's autovfd script, either remove the add_link() function from that script, or the one from this script. Either version works in either script.
    3. Optionally, uncomment the add_link("/wiki/Wikipedia:Transwiki log", 'Transwiki log'); line near the end to add a handy link to Wikipedia:Transwiki log to every page.
  2. On the project you're transwikiing to:
    1. Copy the contents of User:Cryptic/transwikifrom.js into your user js file, as above (for example, b:User:YourName/monobooks.js).
    2. Again, customize the add_link() function at the top of the script by uncommenting one or more of the options.
    3. Correct the transwiki_log_location variable in the first line of the script to the location of the transwiki log on that project.
    4. Optionally, uncomment the add_link("/wiki/" + transwiki_log_location, 'Transwiki log'); line near the end to add a handy link to that project's transwiki log to every page.

Usage

  1. On Wikipedia, edit the page you wish to transwiki.
    1. Open the history and talk pages in another tab or window, and set them aside for the moment.
    2. Copy the text of the article.
    3. Click on the "TranswikiTo" link, which should appear in the place that you configured it in Installation 1.2.
    4. A popup will ask for the project you're transwikiing to. You should respond with a single character:
  2. You'll be taken to the corresponding page in the Transwiki: pseudo-namespace of that project.
    1. Paste the contents of the article, click on the "Transwiki summary" link to fill in an appropriate edit summary.
    2. Save the page.
  3. Go to the discussion page (in the Talk:Transwiki: pseudo-namespace).
    1. Copy the history page of the original article and paste it here.
    2. Click on the "Wikify History" link. This will beautify the history by linking user names to their user pages on Wikipedia, bolding the m for minor edits, and italicizing the edit comments.
    3. Optionally, copy any links in the history lines to the discussion page as well. Since they can't be cut and pasted, this can't be automated.
    4. Optionally, copy the original article's talk page underneath the history.
  4. Copy the article's name (not the Transwiki: part), and go to the receiving project's transwiki log, and edit the appropriate section. (If you followed the optional step in Installation 2.4, there'll be a handy link to it.)
    1. Click on the "Log entry" link, and paste the article's title at the prompt. The log entry will be added in the proper format, and an appropriate summary will be filled in.
    2. Save the page.
  5. Go to Wikipedia:Transwiki log and edit the appropriate section. (If you followed the optional step in Installation 1.3, there'll be a handy link to it on Wikipedia pages.)
    1. Click on the "Log entry" link.
    2. You'll be prompted for the article title. Paste it in.
    3. You'll be prompted for the project it was transwikied to. Enter either a one-character code as in Usage 1.4 above, or the full interwiki name (for example, "jp" for the Japanese Wikipedia).
    4. You'll be prompted for the location of the VfD. If there isn't one, enter "n" or leave it blank. If it's at the normal place, enter "y". If it's part of the vfd for a different article, enter that article's name.
    5. The log entry and an appropriate summary will be filled in. Save the page.
  6. In the original Wikipedia article, remove the "Move to X" tag. If the transwiki was to Wiktionary, add {{ transwikied to Wiktionary}} to the article's talk page.