![]() | The RedWarn team is currently in the process of renaming to Ultraviolet. Some documentation pages are still in the process of being written/transferred. Read the announcement here. |
![]() | Ideally, transition through RedWarn. We will do all this for you. |
Move from User:Ed6767/redwarn.js to User:RedWarn/.js
Transitioning manually can be done in three easy steps:
- Locate where RedWarn is installed - the vast majority of RedWarn users have RedWarn installed through their common.js. Click here to open it. If you installed it to a different JS page, locate and open it.
- Replace User:Ed6767/redwarn.js with User:RedWarn/.js - find any references to the old file (i.e.
importScript("User:Ed6767/redwarn.js");
ormw.loader.load( '/w/index.php?title=User:Ed6767/redwarn.js&action=raw&ctype=text/javascript' ); // Backlink: [[User:Ed6767/redwarn.js]]
) and replace it with this:{{subst:lusc|User:RedWarn/.js}}
. A red syntax error mark may show - this is normal. Once you're finished, publish your changes. If you see a message saying "The document contains errors. Are you sure you want to publish?", click "OK" to publish the page.- PLEASE NOTE THE SLASH BETWEEN "RedWarn" and ".js". If you're confused, see this example diff
- Publish your changes. You're now on the new RedWarn script and are ready to receive further updates. If you still see the old version of the script (i.e. the red upgrade symbol is still shown) hold SHIFT and click reload in your browser to clear your local page cache.
If you need any help, please let us know.