Jump to content

User:Awesome Aasim/redirectcreator

From Wikipedia, the free encyclopedia
Redirect Creator
DescriptionAdds links to more quickly create redirects from the search page, and adds an additional page to create multiple redirects quickly.
UpdatedOctober 28, 2024
    (58 days ago)
SourceUser:Awesome Aasim/redirectcreator.js

This script allows for creation of multiple redirects.

Installation

[edit]

After installing the script, bypass the cache of the page.

Method 1

(This can be used on any Wikimedia project.)

  1. Place mw.loader.load('https://wiki.riteme.site/w/index.php?title=User:Awesome_Aasim/redirectcreator.js&action=raw&ctype=text/javascript'); // Backlink: [[User:Awesome Aasim/redirectcreator.js]] on the bottom of your common.js page or your skin.js page.
  2. Press Publish changes (ignore any error warnings).
Method 2

(This can only be used on the English Wikipedia.)

  1. Place {{subst:iusc|1=User:Awesome Aasim/redirectcreator.js}} on the bottom of your common.js page or your skin.js page.
  2. Press Publish changes (ignore any error warnings).
Method 3
  1. Click here, then click the install link at the top. (Don't use this if you have Enterprisey's script installer enabled).

Use

[edit]
[edit]

On a search result page, click on "redirect". Then, click on "OK" to confirm the creation of the redirect. The redirect will then be created automatically.

You must have a firm grasp of the bot policy before you use this, as this function of the Redirect Creator has the most potential to cause widespread damage.

Navigate to this page. In the left column, enter all the redirects to create. In the right column, enter all the targets for these redirects. Set the delay between edits carefully; too short and you could end up hitting the rate limit.

Click Start and let the page sit there. Once all is done, all the redirects will be created.

This is not intended to be used as a bot; rather it is meant to assist editors with creating multiple plausible redirects to the same target. For example, if one is adding to a list and all the names are using given name first, then using this tool to create redirects if family name is first should be acceptable.

If needed, restrictions may be added to the automatic part of the tool.