User:Sam Sailor/Scripts/Sagittarius+

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Sam Sailor (talk | contribs) at 10:48, 29 May 2019 (Script updated). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

User script
Sagittarius+
During category selection
DescriptionEditing redirects
Author(s)Keφr (modified by Sam Sailor)
StatusUnknown, likely as stable as sagittarius
Updated29 May 2019; 4 years ago (2019-05-29)
Browser supportGoogle Chrome
Skin supportVector
Source

Sagittarius+ is a modified version of Keφr's redirect editing script sagittarius. The script has been updated with more Rcats, listed by their name rather than a description, and ordered approximately as the functional list on Wikipedia:Template messages/Redirect pages. A link to WP:TMR has been added in the lower right corner.

Installation instructions

Put the line

{{subst:js|User:Sam Sailor/Scripts/Sagittarius+.js}}

in either your common JavaScript file or the JavaScript file of your current skin, save the page, and bypass your browser cache.

May 2018 note: The function importScript was deprecated in the July 2017 release of MediaWiki 1.29, and mw.loader is prefered.[1] But importScript is not obsolete and should still work, in case you prefer the old method of manually installing with {{subst:iusc|User:Sam Sailor/Scripts/Sagittarius+.js}} or using ScriptInstaller.

Usage

A redirect can be sorted into non-article categories per the editing guideline Wikipedia:Categorizing redirects. Wikipedia:Template messages/Redirect pages provides information about usage of the different templates.

Feedback

Spelling errors or other issues? Click here to start a new talk section.

To do

Limitations

  • An odd notation such as #Redirect: [[target]] that works as a redirect, results in a parser error.
  • Language codes should be added manually to {{R from alternative language}}, and when they have been added, the script will not always read the R cats.
  • Former target needs to be added manually to {{R avoided double redirect}}, and when it has been added, script will not always read it.

References