User talk:Cryptic/transwiki.js
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.
[edit] Installation
- On Wikipedia:
- 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:
- Customize the
add_link()
function at the top of the script by uncommenting one or more of the options. - 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.
- On the project you're transwikiing to:
- Copy the contents of User:Cryptic/transwikifrom.js into your user js file, as above (for example, b:User:YourName/monobooks.js).
- Again, customize the
add_link()
function at the top of the script by uncommenting one or more of the options. - Correct the
transwiki_log_location
variable in the first line of the script to the location of the transwiki log on that project. - 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.
[edit] Usage
- On Wikipedia, edit the page you wish to transwiki.
- Open the history and talk pages in another tab or window, and set them aside for the moment.
- Copy the text of the article.
- Click on the "TranswikiTo" link, which should appear in the place that you configured it in Installation 1.2.
- A popup will ask for the project you're transwikiing to. You should respond with a single character:
- d or k for Wiktionary
- b for Wikibooks
- s for Wikisource
- c for Commons
- m for Meta
- q for Wikiquote
- You'll be taken to the corresponding page in the Transwiki: pseudo-namespace of that project.
- Paste the contents of the article, click on the "Transwiki summary" link to fill in an appropriate edit summary.
- Save the page.
- Go to the discussion page (in the Talk:Transwiki: pseudo-namespace).
- Copy the history page of the original article and paste it here.
- 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.
- 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.
- Optionally, copy the original article's talk page underneath the history.
- 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.)
- 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.
- Save the page.
- 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.)
- Click on the "Log entry" link.
- You'll be prompted for the article title. Paste it in.
- 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).
- 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.
- For example, Unicode 1-50's vfd was handled at Wikipedia:Votes for deletion/Various Unicode-related pages, so you would enter "Various Unicode-related pages" at the prompt.
- The log entry and an appropriate summary will be filled in. Save the page.
- 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.