Changes

Jump to navigation Jump to search
Create page
== Description ==
This code adds a "welcome" tab after the other tabs on user talk pages that are opened for editing. This allows you to put a welcome notice on user talk pages without having to do any typing.

Clicking that tab will (a) put {{tt|<nowiki>{{welcome|sig=~~~~}}</nowiki>}} in the edit box (at the end if there is already other text there), and (b) put {{tt|welcome}} in the edit summary.

You will still need to click the '''Save page''' button to submit the edit, so you can make other changes as well if you wish.

== Installing this code ==
To use the Welcome script, add the code below to your Javascript page for the skin(s)<ref>To see what skin you are using, see [[special:preferences]] and select the "skin" tab.</ref> you are using.

That is, if you are using the ''monobook'' skin, go to {{tt|<nowiki>[[</nowiki>user:''your ID''/monobook.js<nowiki>]]</nowiki>}}. If you are using the (default) ''Conserv'' skin, go to {{tt|<nowiki>[[</nowiki>user:''your ID''/conserv.js<nowiki>]]</nowiki>}}.

After pasting in the code and saving the page, follow the instructions on that page regarding clearing your browser's cache.

== Caveats ==
* I'm not a Javascript expert. This code works for me (so far), but it has not been widely tested. Please let me know if you encounter problems.
* I presume that "conserv.js" is the name for the default skin; I haven't tested it yet. If you try it, please let me know if it works.''
* I presume that the code will work with skins other than monobook, but again, I haven't tested it. If you try it, please let me know if it works.

== Code ==
<pre>
document.write('<script type="text/javascript" src="'
+ 'http://www.conservapedia.com/User:Philip_J._Rayment/Welcome_script'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
</pre>
NOTE: Do ''not'' change the reference to my name in this code to yours. This code on your page will call my code.

== Notes ==
<references />
nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW
13,254

edits

Navigation menu