User:Phatom87/vector.js

//add missing toolbar buttons
importScript('User:NerdyScienceDude/Scripts/extratoolbarbuttons.js');

//refToolbar
//importScript('User:Mr.Z-man/refToolbar 2.0.js');

//stub tagging 
importScript('User:Ais523/stubtagtab2.js');

//varrious settings for popups
popupDelay=.6;//default is a little short for me get popups without meaning to
//popupSubpopups=false;//I don't need popups within popups.
popupRedlinkRemoval=true;
popupFixDabs=true;
popupEditCounterTool="custom"
popupEditCounterUrl="http://tools.wikimedia.de/~interiot/cgi-bin/Tool1/wannabe_kate?username=$1&site=en.wikipedia.org"
 
// settings for wikEd editing page extension
wikEdComboPresetOptions = [];

wikEdComboPresetOptions['summary'] = ['','Stub sorting. [[Wikipedia:WikiProject_Stub_sorting|You can help!]]', 'copyedit', 'reply', 'article created', 'intro rewrite',
'linkfix', 'fixing typos', 'formatting source text', '{wikEdUsing}'
];
 
wikEdRegExTypoFix = true;

/*FriendlyConfig = {
watchTaggedPages : false
};*/

// from [http://en.wikipedia.org/w/index.php?title=User:Thebainer/monobook.js&oldid=32546177 User:Thebainer/monobook.js]
 
// adds a 'logs for this page' link to the toolbox bar
// if the page is a user's page, talk page or subpage, the link will go to logs for the user instead
// if the page is a special page, then no link is displayed
 
addOnloadHook(function () {
 
// if this is a user, show the logs for the user rather than the page
if ( mw.config.get('wgCanonicalNamespace') == "User" || mw.config.get('wgCanonicalNamespace') == "User_talk" ) {
url = mw.config.get('wgServer') + "/w/index.php?title=Special:Log&user=" + mw.config.get('wgTitle').split("/")[0];
} else if ( mw.config.get('wgCanonicalNamespace') == "Special" ) {
// don't display link for special pages
return;
} else {
url = mw.config.get('wgServer') + "/w/index.php?title=Special:Log&page=" + mw.config.get('wgPageName');
}
 
mw.util.addPortletLink("p-tb", url, "Logs", "pt-logs");
//user links code
 
 
if (mw.config.get('wgTitle').indexOf("/") != -1 || document.title.indexOf("- History -") != -1)  //no subpages or history
return;
if (mw.config.get('wgCanonicalNamespace') == "User" || mw.config.get('wgCanonicalNamespace') == "User_talk") {
var username = encodeURIComponent( mw.config.get('wgTitle') );
mw.util.addPortletLink("p-cactions", mw.config.get('wgServer') + "/wiki/Special:Contributions/" + username, "Contribs", "ca-contrib", "User contributions");
mw.util.addPortletLink("p-cactions", mw.config.get('wgServer') + "/w/index.php?title=Special:Prefixindex&prefix=" + username + "&namespace=2", "Userspace", "", "List of pages in this user's userspace");
}
});

//translate the side bar.
importScript('User:Tra/sidebartranslate.js'); //[[User:Tra/sidebartranslate.js]]

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.