Jump to content

User:Aua/monobook.js

From Wikipedia, the free encyclopedia
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/tag.js')
importScript('User:AzaToth/morebits.js');
importScript('User:auawise/itag.js')
importScript('User:AzaToth/morebits.js');
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');
 
 
//<nowiki>
if(mw.config.get('wgCanonicalNamespace') == 'User_talk' && mw.config.get('wgAction')=="edit") addOnloadHook(function() {
  mw.util.addPortletLink('p-cactions','javascript:Welcome("{{subst:user:Aua/W}} ~~~~")', 'W');
});
function Welcome(text) {
    txtb = document.getElementById('wpTextbox1');
    txtb.value += text;
    document.getElementById('wpSummary').value=
      "Welcome to Wikipedia! :)";
    document.getElementById('wpTextbox1').value+="";
    document.getElementById('wpSummary').value=
      "Welcome to Wikipedia from your friendly neighbor Aua !";
    document.getElementById('wpSave').click();
}
//</nowiki>