FANDOM


RedirectMaker is a tool for partially automating the process of figuring out what redirects to make for a page and for adding said redirects to a wiki.

Background Information

RedirectMaker is intended for when one needs to make a very large number of redirects for a particular page. It partially solves 2 problems: figuring out what redirects to make and actually making them. The process of making the redirects works, but figuring out which ones to make is not a perfect process.

Basically, while this will make all of the variations of the pagename as redirects, it still needs the base versions of the pagename. So if you have a page named "Aelita", and she went through names like toilet paper and also went by "Aelita Shaeffer", "Aelita Stones", and "Aelita Hopper"; you'd still need to code all 4 manually. But the supported derivative forms would be generated automatically.

Installation

Usage

Before attempting to use this script, you need to install it first and make sure that staff have actually approved the script. Otherwise, the attempt will fail.

Step 1: Choose which page all of the redirects you're making will go to.

Step 2: click "RedirectMaker" in the toolbox in Monobook or the bottom toolbar in Oasis. It really doesn't matter which.

Step 3: You should see a new console with some checkboxes, a couple of text areas, and some buttons. Ignore the bottom text area for now.

Step 4: Populate the upper text area with a JSON object, and check the boxes as appropriate. See "Input" for the object's specification, and recommended checks.

Step 5: Click "Propose Redirects".

Step 6: Look through each line in the lower text box labeled "proposed results". Delete anything that shouldn't be a redirect to your target page. Leave no blank lines. Do not modify the upper text box.

Step 7: click "Add Redirects", and click "ok" for the warning alert. The script will start adding the redirects. Do not change your network conditions or close the tab at this time. This process can take a while, so if you need get coffee or have to pee, it's a good time to do it. Eventually, you'll see another alert telling you that the redirects have been added. Click "ok", and you're done.

Input

Core Options

These options are all visible by default. Some checkboxes are checked by default depending on the conditions of the wiki.

  • diacriticFilter: This checkbox enables the creation of variations of previously created redirects without diacritical marks. It only does this with extensions of the Latin alphabet. This is for people who do not have those particular diacritical marks on their keyboards. For the sake of common decency, leave this checked.
  • alternateWidths: This checkbox enables the creation of redirects that use variable width characters. These are half-width characters and full width characters. Generally, if the wiki's language is Japanese, Korean, a Chinese language, or an Okinawan language, check this. Otherwise, set it to false.
  • (Experimental) Extract Core Forms From Infoboxes: This is an experimental feature which can be used to autoextract core forms from Portable infoboxes. However, it requires wiki-specific configuration. Contact User:Deadcoder for details about this one and help setting up the configuration. Don't use this unless it has been configured on the wiki in question and you have made sure the configuration is set up correctly for your needs.
  • legacyHangul: This checkbox enables the support of the legacy support Hangul in Unicode in addition to the standard Hangul.
  • decomposeHangul: This checkbox, when checked, adds variations where the Hangul syllable blocks are broken up, in addition to the rendered variations provided. Don't check this unless you've checked legacyHangul, alternateWidths, or both.
  • recomposeHangul: Use this if you've input words in Hangul and bypassed the syllable block system somehow. It will generate the variations with blocks. Don't enable it otherwise.
  • Swiss ß/ss spelling change: Use this if you want variations where 'ß' is replaced with 'ss', and uppercase equivalents.
  • Destination Page: This text input is the page that all the redirects you're making will map back to. If your destination page is in a namespace other than main, you must explicitly state so with a colon breaking up the namespace and pagename.
  • Filler: This string is the content of the redirect pages. This is separate so you can make special modifications like adding categories.
  • Core Forms: These are all of the baseforms of the page name that aren't the target. These are typically name variations. Break them up by line.
  • Phonetic Kana Forms: This JSON array of arrays of strings is all of the approximations of the page name to the Mora phonetic system. Leave this array empty unless the wiki's language is Japanese or an Okinawan language. Each member array is one attempt at an approximation in the Mora system. See "Mora Input" for details.
  • Namespace: If you want to make the redirects in a namespace other than main, set your desired namespace here. Leave it blank otherwise. Do not set this to "Special", or the language equivalent.

Kana Romanization Options

These options are only visible if you press "Kana Romanization Options". They are also visible by default if the software automatically checked any check boxes. If they are visible and you do not want to see them, they can be hidden by pressing "Kana Romanization Options". Some checkboxes are checked by default depending on the conditions of the wiki.

  • NihonShiki: If you want Romanji redirects in the Nihon-Shiki standard made, check this. Don't check it otherwise.
  • KunreiShiki: If you want Romanji redirects in the strict Kunrei-Shiki standard made, check this. Don't check it otherwise. Kunrei-Shiki is terrible, so don't enable it.
  • KunreiShikiLegacy: If you want Romanji redirects in the loose Kunrei-Shiki standard made, check this. Don't check it otherwise. Kunrei-Shiki is terrible, so don't enable it.
  • JSLRomanji: If you want Romanji redirects in the JSL standard made, check this. Don't check it otherwise. Note that this is merely an approximation of JSL, as the accent marks are omitted.
  • Hepburn1: If you want Romanji redirects in the first version of Hepburn made, check this. Don't check it otherwise. This version of Hepburn is obsolete, and shouldn't be used unless you're dealing with really old previously transcribed nouns.
  • Hepburn2: If you want Romanji redirects in the second version of Hepburn made, check this. Don't check it otherwise. This version of Hepburn is obsolete, and shouldn't be used unless you're dealing with really old previously transcribed nouns.
  • Hepburn3: If you want Romanji redirects in the modern version of Hepburn made, check this. Don't check it otherwise. This is one of the common active Hepburn versions in use. Note that the phonetic extensions won't reliably transcribe.
  • HepburnMod: If you want Romanji redirects in the modern modified version of Hepburn made, check this. Don't check it otherwise. This is one of the common active Hepburn versions in use. Note that the phonetic extensions won't reliably transcribe.
  • HepburnPassport: If you want Romanji redirects in the passport version of Hepburn made, check this. Don't check it otherwise. This is based on the looser rules for Passports used with the modern version of Hepburn. Don't use this unless you know the rules.

Cyrillic Romanization Options

These options are only visible if you press "Cyrillic Romanization Options". They are also visible by default if the software automatically checked any check boxes. If they are visible and you do not want to see them, they can be hidden by pressing "Cyrillic Romanization Options". Some checkboxes are checked by default depending on the conditions of the wiki.

  • ISO9A Cyrillic Romanization: Check this if you want GOST 7.79A romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • ISO9B Cyrillic Romanization: Check this if you want GOST 7.79B romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • Russian Cyrillic Romanization: Check this if you want Scientific Russian romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • Belarusian Cyrillic Romanization: Check this if you want Scientific Belarusian romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • Serbian Cyrillic Romanization: Check this if you want Scientific Serbian romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • Bulgarian Cyrillic Romanization: Check this if you want government standard Bulgarian romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • Macedonian Cyrillic Romanization: Check this if you want government standard Macedonian romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • Mongolian Cyrillic Romanization: Check this if you want government standard Mongolian romanized transcription of your Cyrillic pagenames. Don't check it otherwise.
  • Ukrainian Cyrillic Romanization: Check this if you want government standard Ukrainian romanized transcription of your Cyrillic pagenames. Don't check it otherwise.

Mora Input

Each member array of phoneticKanaForms is one attempt at a mora conversion of the page name. The input system is non-standard, because it was designed to handle multiple transcription systems. Within each array, each string is an attempt at a single sound or punctuation symbol.

For each string, use one of the following:

  • A romanji transcription of a sound that occurs in the Katakana table, be it modern or archaic; gojūon or yōon. This will yield the various standard Katakana.
  • A space character, used for the dot character used to break up foreign names.
  • An ASCII hyphen, used for the chōon character.
  • A plus symbol. This is internally translated into the small tsu symbol that duplicates consonants.
  • A romanji transcription of a secondary sound supported by one of the accepted standards. These are documented here.

Since some of these have more than one transcription standard, for reasons that relate to both technical reasons and disputing standards, each standard is supported; which means that each array in phoneticKanaForms will map to one or more Katakana approximations.

Example Input

Namespace: (left blank)
 
Diacritic Filter: Checked
 
Alternate Widths: Checked
 
legacyHangul: Not Checked
 
decomposeHangul: Not Checked
 
recomposeHangul: Not Checked
 
Swiss ß/ss spelling change: Not Checked
 
NihonShiki: Checked
 
KunreiShiki: Not Checked
 
KunreiShikiLegacy: Not Checked
 
JSLRomanji: Not Checked
 
Hepburn1: Not Checked
 
Hepburn2: Not Checked
 
Hepburn3: Checked
 
HepburnMod: Checked
 
HepburnPassport: Not Checked
 
ISO9A Cyrillic Romanization: Not Checked
 
ISO9B Cyrillic Romanization: Not Checked
 
Russian Cyrillic Romanization: Not Checked
 
Belarusian Cyrillic Romanization: Not Checked
 
Serbian Cyrillic Romanization: Not Checked
 
Bulgarian Cyrillic Romanization: Not Checked
 
Macedonian Cyrillic Romanization: Not Checked
 
Mongolian Cyrillic Romanization: Not Checked
 
Ukrainian Cyrillic Romanization: Not Checked
 
Destination Page: `Aelita`
 
Filler: `#REDIRECT [[Aelita]] [[Category:Characters]]`
 
Core Forms:
Aelita
Aelita Stones
Aelita Shaeffer
Aelita Lyoko
Aelita Hopper
 
Phonetic Kana Forms: `[["a","i","li","ta"],["a","i","li","ta"," ","su","to","n","su"],["a","i","li","ta"," ","sho","+","fe","ru"],["a","i","li","ta"," ","she","i","+","fe","ru"],["a","i","li","ta"," ","sho","fe","ru"],["a","i","li","ta"," ","she","i","fe","ru"],["a","i","li","ta"," ","lyo","ko"],["a","i","li","ta"," ","ho","pa"],["a","i","li","ta"," ","ho","+","pa"],["a","i","li","ta"," ","ho","pa","-"],["a","i","li","ta"," ","ho","+","pa","-"],["a","i","li","-","ta"],["a","i","li","-","ta"," ","su","to","n","su"],["a","i","li","-","ta"," ","sho","+","fe","ru"],["a","i","li","-","ta"," ","she","i","+","fe","ru"],["a","i","li","-","ta"," ","sho","fe","ru"],["a","i","li","-","ta"," ","she","i","fe","ru"],["a","i","li","-","ta"," ","lyo","ko"],["a","i","li","-","ta"," ","ho","pa"],["a","i","li","-","ta"," ","ho","+","pa"],["a","i","li","-","ta"," ","ho","pa","-"],["a","i","li","-","ta"," ","ho","+","pa","-"]]`

Notes

  • Some of the options will be on or off automatically, based on conditions. They can still be manually selected and deselected. For example, the multiwidth option is selected enabled on Ainu, Japanese, Korean, Chinese, and Okinawan family wikis. Cyrillic romanization is selected appropriately depending on the language of the wiki.
  • See RedirectMaker/Planned Features
Community content is available under CC-BY-SA unless otherwise noted.