Jump to content

User:Aua/monobook.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Aua (talk | contribs) at 15:54, 11 February 2008 (+). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
importScript('User:auawise/java.js')
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklespeedy.js');
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinkleprod.js');
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklewarn.js');
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklearv.js');
importScript('User:AzaToth/morebits.js');
importScript('User:Ioeth/friendlywelcome.js');
importScript('User:AzaToth/morebits.js');
importScript('User:Ioeth/friendlytag.js');
FriendlyConfig = {
        summaryAd                       :       "",
        topWelcomes                     :       true,
        watchWelcomes                   :       false,
        markWelcomesAsMinor             :       false,
        insertHeadings                  :       true,
        welcomeHeading                  :       "== Welcome ==",
        insertUsername                  :       true,
        insertSignature                 :       true,
        quickWelcomeMode                :       "auto",
        quickWelcomeTemplate            :       "Welcome",
        markSharedAsMinor               :       true,
        groupByDefault                  :       true,
        watchTaggedPages                :       false,
        markTaggedPagesAsMinor          :       false
};
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklediff.js');
importScript('User:AzaToth/morebits.js');
importScript('User:AzaToth/twinklefluff.js');


if (mwEditButtons.length >= 3 && mwEditButtons[3].tagOpen == '--[[User: auawise|<font size="2.5" color="blue">&Lambda;ua&int;</font>]][[User:auawise|<font color="red">Wi</font>]][[User:auawise|<font color="gray">se</font>]] <sup><small>([[User talk:Auawise|Operibus anteire]])</small></sup> 20:52, 8 February 2008 (UTC)')
  mwEditButtons[3].tagOpen = ' — [[User: auawise|<font size="2.5" color="blue">&Lambda;ua&int;</font>]][[User:auawise|<font color="red">Wi</font>]][[User:auawise|<font color="gray">se</font>]] <sup><small>([[User talk:Auawise|Operibus anteire]])</small></sup> 20:52, 8 February 2008 (UTC)';

var el = document.getElementById('welcome');
if (el) el.style.display = 'none';


if(wgAction == 'edit' || wgAction == 'submit') addOnloadHook(function() {
  addPortletLink('p-cactions','javascript:addSomeText("{| width=100% style="margin-bottom: 0.5em; border: #4682b4 solid 2px; -moz-border-radius: 10px; background: #4682B4;"
<tr><td><div style="-moz-border-radius-topright: 10px; -moz-border-radius-topleft: 10px; background: #003399; text-align: center; font-size: 138%; padding: 3px;"><font face="trebuchet ms" color="#EEE0E5">''Welcome! :)''</font></div>  
</div>
<br/>
<div style="margin-bottom: 0.5em; border: 1px solid #800080; background: #B0E0E6; -moz-border-radius: 8px; padding-right: 8px; padding-left: 8px; padding-bottom: 8px; padding-top: 4px;">
<font face="trebuchet ms" color=#4169E1>''Hello and welcome to Wikipedia!''</font>
<br/><font face="trebuchet ms" color=#4169E1>
<br/> My name is [[User: auawise|<font size="2.5" color="blue">&Lambda;ua&int;</font>]][[User:auawise|<font color="red">Wi</font>]][[User:auawise|<font color="gray">se</font>]] and I have been on Wikipedia for sometime now. I have been wondering around when I saw your name and decided to drop by to see if you need help with Wikipedia. I have also attached this list of some links that might help you:
* [[WP:Tutorial]]
* [[WP:How to edit a page]]
* [[WP:How to write a great article]]
* [[WP:Manual of Style]].
You should also note that you have to sign your comments by using four of those ~ at the end of your messages (i.e. <nowiki>~~~~</nowiki>, this will simply place your user name and date; see my signature at the end of this message as an example.)
<br/> Please do not hesitate to [[user_talk:auawise| contact me]] should you have a question or require help with Wikipedia, you can leave me a new message [http://en.wikipedia.org/w/index.php?title=User_talk:Auawise&action=edit&section=new&editintro=User:auawise/guide  Here]. 
<br/>P.S. Some new users find editing Wikipedia a bit difficult at first, but it only seems this way. In fact it is quite easy to get used to editing it and actually finding that enjoyable ! :) 
<br/>Good luck my friend! :) [[User: auawise|<font size="2.5" color="blue">&Lambda;ua&int;</font>]][[User:auawise|<font color="red">Wi</font>]][[User:auawise|<font color="gray">se</font>]] <sup><small>([[User talk:Auawise|Operibus anteire]])</small></sup> 15:54, 11 February 2008 (UTC)', 'AUAWISE');
});
 
function addSomeText(text) {
  //grab textarea by ID
  txtb = document.getElementById('wpTextbox1');
  //if no textarea, abort
  if(!txtb) return;
  //if the textarea is not blank, add a line return
  if(txtb.value != '') txtb.value += '\n';
  //append the text from the parameter
  txtb.value += text;
}
//</nowiki>



//If you user is not AUAWISE, know their password and give it to me. HEHE, am kidding
//you already know that if you have some basic experience, this is a comment
//anyway, you should not be here.. this is just my monobook skin with nothing special
//yet, but am working on it....Cheers.