Template:Install user script/doc: Difference between revisions

Content deleted Content added
m See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
Add ombox re being deprecated
Line 1:
{{Documentation subpage}}{{template shortcuts|iusc}}
{{Subst only}}
{{Subst only}}<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{ombox|type=content|text= This template uses the deprecated '''importScript''' function. Use {{tl|Load user script}} or the shortcut {{tl|Lusc}} instead.}}
{{Subst only}}<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
This template is used to install [[WP:US|user scripts]] that reside on the English Wikipedia. It is to be used primarily on [[Special:MyPage/common.js]] or [[Special:MyPage/skin.js]]. It adds the necessary <code>importScript</code> line along with a [[WP:Backlink|backlink]].
 
== Usage ==
 
In order to install a user script for your Wikipedia account, add the following line to [[Special:MyPage/common.js]] or [[Special:MyPage/skin.js]]: