பயனர்:Vinodh.vinodh/monobook.js
குறிப்பு - சேமித்த பின்னர், நீங்கள் செய்த மாற்றங்களைக் காண்பதற்கு உங்கள் உலவியின் இடைமாற்று அகற்றப்பட வேண்டும்.
- மொஸில்லா பயர்பாக்ஸ் / சபாரி: Shift+Reload, அல்லது Ctrl-F5 அல்லது Ctrl-R (⌘-R Mac ல்)
- கூகிள் குரோம் Ctrl-Shift-R அழுத்தவும். (⌘-Shift-R Mac ல்) ;
- இண்டர்நெட் எக்ஸ்ப்ளோரர்: Ctrl-Refresh அல்லது Ctrl-F5 ஐ அழுத்தவும்.
- ஒபேரா: Tools → Preferences இல் இடைமாற்றை அகற்றவும்;
//Popups (Pretty Annoying at Times!!)
//document.write('<script type="text/javascript" src="'
// + 'http://ta.wikipedia.org/w/index.php?title=User:Vinodh.vinodh/popupsta.js'
// + '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
popupAdminLinks=true;
//End of Popups
// வழிமாற்றுகளை பச்சை நிரமாக காடுவதற்கான நிரல் தொடக்கம் ???
// [[User:Dschwen/highlightredirects.js]] - please include this line
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Dschwen/highlightredirects.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');
//Doesn't Work with IE. Me getting Ordinary Blue Links for Redirects too!
// வழிமாற்றுகளை பச்சை நிரமாக காடுவதற்கான நிரல் முடிவு
//வரவேற்புக்கான வார்ப்புரு இடலுக்கான நிரல் தொடக்கம்
/* <pre> */
function welcome() {
// Find the edit box
var txt = document.editform.wpTextbox1;
//The welcome *template* you want to use
var welcome_template = 'Newuser'
var welcome_summary = '[[விக்கிபீடியா|விக்கிபீடியாவிற்கு]] நல்வரவு'
var welcome_watch = false
// The tag to be included is a welcome message
var tag = '{{subst:'+ welcome_template +'}}--~~~~';
// If the edit box doesn't already have this tag...
if (txt.value.indexOf(tag) == -1) {
// Append the tag
txt.value += tag;
// Add an edit summary
document.editform.wpSummary.value = welcome_summary;
document.editform.wpWatchthis.checked = welcome_watch;
// Press the Save page button
document.editform.submit();
}
// If the tag was already there, turn the tab background red to indicate
// that the script is functioning properly, but that there is no action
// to do. This doesn't interrupt the user's work like an alert() would.
else {
document.getElementById('ca-unverified').firstChild.style.backgroundColor = "#ff4444";
document.getElementById('ca-unverified').style.backgroundColor = "#ff4444";
}
}
// Create a tab that calls this function when pressed
// Create a tab that calls this function when pressed
addOnloadHook(
function ()
{
if(document.title.indexOf("தொகுப்பு பயனர் பேச்சு:") == 0)
{
addPortletLink('p-cactions', 'javascript:welcome()', 'welcome', 'ca-welcome', 'Adds a welcome note to a new user', '', '');
}
}
);
/* This is to keep track of who is using this extension: [[User:Flex/welcome_newuser.js]] */
/* </pre> */
//வரவேற்புக்கான வார்ப்புரு இடலுக்கான நிரல் முடிவு
// Wiki Project Templates
function tnaddlilink(url, name)
{
var na = document.createElement('a');
na.setAttribute('href', url);
var txt = document.createTextNode(name);
na.appendChild(txt);
var li = document.createElement('li');
li.appendChild(na);
return li;
}
function wpb() {
var f = document.editform, t = f.wpTextbox1;
if (t.value.length > 0)
t.value += '\n';
t.value += "{{விக்கித்திட்டம் பௌத்தம்}}";
f.wpSummary.value = "இக்கட்டுரை [[விக்கிப்பீடியா:விக்கித் திட்டம் பௌத்தம்|விக்கித்திட்டம் பௌத்தத்தை]] சேர்ந்தது";
f.submit();
}
function wpw() {
var f = document.editform, t = f.wpTextbox1;
if (t.value.length > 0)
t.value += '\n';
t.value += "{{விக்கித்திட்டம் எழுத்துமுறைகள்}}";
f.wpSummary.value = "இக்கட்டுரை [[விக்கிப்பீடியா:விக்கித் திட்டம் எழுத்துமுறைகள்|விக்கித்திட்டம் எழுத்துமுறைகளை]] சேர்ந்தது";
f.submit();
}
function add_testn_tabs()
{
var c1 = document.getElementById('column-one');
var tabs = c1.getElementsByTagName('div')[0].getElementsByTagName('ul')[0];
// Only add for pages with "தொகுப்பு பேச்சு:" somewhere in the title
if (document.title.indexOf("தொகுப்பு பேச்சு:") != -1)
{
tabs.appendChild(tnaddlilink('javascript:wpb()',"WP:BUD"));
tabs.appendChild(tnaddlilink('javascript:testn("test1")',"W:WS"));
}
}
addOnloadHook(add_testn_tabs);
//எனது கடைசி தொகுப்பக்கு பின்னரான மாற்றங்களை காட்டுதல்
//From http://en.wikipedia.org/w/index.php?title=User:JesseW/monobook.js&oldid=20755510
function addSinceTab() {
if (window.location.href.indexOf("&action=history&gotosince=true")!=-1) {
do_since_I_last_edited()
}
else if (wgCanonicalNamespace != "Special") {
addPortletLink("p-cactions", "/w/index.php?title="+wgPageName+"&action=history&gotosince=true", 'since', '', "since");
}
}
function do_since_I_last_edited() {
var csub=document.getElementById("contentSub");
var msg=document.createElement("p");
msg.appendChild(document.createTextNode
("Parsing history... please wait..."));
msg.className="error";
csub.insertBefore(msg, csub.firstChild)
var username=document.getElementById("pt-userpage").textContent;
var hists=document.getElementById("pagehistory").getElementsByTagName('li');
for (n=0;n<hists.length;n++) {
if (hists[n].getElementsByTagName("span")[0].getElementsByTagName('a')[0].textContent==username) {
document.location=hists[n].childNodes[1].href;
return;
}
}
msg.replaceChild(document.createTextNode
("You have not edited this page! (recently)"),
msg.firstChild);
}
addOnloadHook(addSinceTab);
// tags start
importScript('Wikipedia:WikiProject User scripts/Scripts/Add LI menu');
importStylesheet('Wikipedia:WikiProject User scripts/Scripts/Add LI menu/css');
importScript('User:S/tags.js');
//tags finish