குறிப்பு - சேமித்த பின்னர், நீங்கள் செய்த மாற்றங்களைக் காண்பதற்கு உங்கள் உலவியின் இடைமாற்று அகற்றப்பட வேண்டும்.

  • மொஸில்லா பயர்பாக்ஸ் / சபாரி: Shift+Reload, அல்லது Ctrl-F5 அல்லது Ctrl-R (⌘-R Mac ல்)
  • கூகிள் குரோம் Ctrl-Shift-R அழுத்தவும். (⌘-Shift-R Mac ல்) ;
  • இண்டர்நெட் எக்ஸ்ப்ளோரர்: Ctrl-Refresh அல்லது Ctrl-F5 ஐ அழுத்தவும்.
  • ஒபேரா: Tools → Preferences இல் இடைமாற்றை அகற்றவும்;
/**
importScript('பயனர்:Trengarasu/formatRecentChanges.js');
*/


/** Main Page layout fixes *********************************************************
*
*  Description:        Various layout fixes for the main page, including an
*                      additional link to the complete list of languages available
*                      and the renaming of the 'Article' to to 'Main Page'.
*  Maintainers:        [[User:AzaToth]], [[User:R. Koot]], [[User:Alex Smotrov]]
*/
 
function mainPageRenameNamespaceTab() {
try {
var Node = document.getElementById( 'ca-nstab-main' ).firstChild;
if ( Node.textContent ) {      // Per DOM Level 3
Node.textContent = 'முதற் பக்கம்';
} else if ( Node.innerText ) { // IE doesn't handle .textContent
Node.innerText = 'முதற் பக்கம்';
} else {                       // Fallback
Node.replaceChild( Node.firstChild, document.createTextNode( 'முதற் பக்கம்' ) ); 
}
} catch(e) {
// bailing out!
}
}
 
if ( wgTitle == 'முதற் பக்கம்' && ( wgNamespaceNumber == 0 || wgNamespaceNumber == 1 ) ) {
$( mainPageRenameNamespaceTab );
}
 
if ( wgTitle == 'முதற் பக்கம்' && wgNamespaceNumber == 0 ) {
$( mainPageAppendCompleteListLink );
}
 
function mainPageAppendCompleteListLink() {
mw.util.addPortletLink('p-lang', 'http://meta.wikimedia.org/wiki/List_of_Wikipedias', 
'Complete list', 'interwiki-completelist', 'Complete list of Wikipedias')
}





//மேலதிக இணைப்புகள் 
function ModifySidebar(action, section, name, link) {
try {
switch (section) {
case "languages":
var target = "p-lang";
break;
case "toolbox":
var target = "p-tb";
break;
case "navigation":
var target = "p-navigation";
break;
default:
var target = "p-" + section;
break;
}

if (action == "add") {
var node = document.getElementById(target)
.getElementsByTagName('div')[0]
.getElementsByTagName('ul')[0];

var aNode = document.createElement('a');
var liNode = document.createElement('li');

aNode.appendChild(document.createTextNode(name));
aNode.setAttribute('href', link);
liNode.appendChild(aNode);
liNode.className='plainlinks';
node.appendChild(liNode);
}

if (action == "remove") {
var list = document.getElementById(target)
.getElementsByTagName('div')[0]
.getElementsByTagName('ul')[0];

var listelements = list.getElementsByTagName('li');

for (var i = 0; i < listelements.length; i++) {
if (listelements[i].getElementsByTagName('a')[0].innerHTML == name ||
listelements[i].getElementsByTagName('a')[0].href == link) {

list.removeChild(listelements[i]);
}
}
}

} catch(e) {
// lets just ignore what's happened
return;
}
}

function CustomizeModificationsOfSidebar() {
//adds commonshelper
ModifySidebar("add", "toolbox", "காமன்சு பாட்", "http://tools.wikimedia.de/~magnus/commonshelper.php");
//adds Commons:Upload
ModifySidebar("add", "toolbox", "காமன்சு", "http://commons.wikimedia.org/wiki/Commons:Upload");
//adds Commons:Upload
ModifySidebar("add", "toolbox", "விக்கிபீடியா", "http://ta.wikipedia.org");
//adds Commons:Upload
ModifySidebar("add", "toolbox", "புதுச்சொல்", "http://ta.wiktionary.org/wiki/Wiktionary:new_words");
//adds பிலிக்கர் கருவி
ModifySidebar("add", "toolbox", "பிலிக்கர் கருவி", "http://wikipedia.ramselehof.de/flinfo.php");
//adds நான் தொடக்கியவை
ModifySidebar("add", "toolbox", "தொடக்கியவை", "http://tools.wikimedia.de/~nikola/articlesby.php?user=Trengarasu&lang=ta&wiki=wikipedia");
//adds மேற்கோள்
ModifySidebar("add", "toolbox", "மேற்கோள்", "http://tools.wikimedia.de/~magnus/makeref.php");
}

$(CustomizeModificationsOfSidebar);


//மேலதிக இணைப்புகள் முடிவு










//பிழைதிருத்தம் தொடக்கம்
var wikEdLoadRegExTypoFix = true;
var wikEdRegExTypoFixSrc = 'http://en.wikipedia.org/w/index.php?title=User:Trengarasu/wikEdTypoFix.js&action=raw&ctype=text/javascript&dontcountme=s';
//பிழைதிருத்தம் முடிவு
//wikEd ஐ இணைப்பதற்க்கான நிரல் தொடக்கம்

// install [[User:Cacycle/wikEd]] in-browser text editor
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');

//wikEd ஐ இணைப்பதற்க்கான நிரல் முடிவு

// வழிமாற்றுகளை பச்சை நிரமாக காடுவதற்கான நிரல் தொடக்கம்

// [[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>');

// வழிமாற்றுகளை பச்சை நிரமாக காடுவதற்கான நிரல் முடிவு


// Format article by removing excess whitespace and simplifying links
importScript('பயனர்:Trengarasu/monobook.js/Formatter');


//வரவேற்புக்கான வார்ப்புரு இடலுக்கான நிரல் தொடக்கம்
/* <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) 
    {
      mw.util.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> */

//வரவேற்புக்கான வார்ப்புரு இடலுக்கான நிரல் முடிவு



//விசமிகளுக்கான வரவேற்பு வார்ப்புரு இடலுக்கான நிரல் தொடக்கம்


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 testn(number)
{
var page = prompt("Vandalism to which article?")
var f = document.editform, t = f.wpTextbox1;
if (t.value.length > 0)
   t.value += '\n';
t.value += "{{subst:" + number + "-n|" + page + "}} ~" + "~" + "~" + "~";
f.wpSummary.value = "Vandalism to " + page + " - warning " + number;
f.submit();
}

function wA() {
var f = document.editform, t = f.wpTextbox1;
if (t.value.length > 0)
   t.value += '\n';
t.value += "{{subst:" + "anonymous" + "}} ~" + "~" + "~" + "~";
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:wA()',"w-A"));     
     tabs.appendChild(tnaddlilink('javascript:testn("test1")',"t1"));
     tabs.appendChild(tnaddlilink('javascript:testn("test1a")',"t1a"));
     tabs.appendChild(tnaddlilink('javascript:testn("test2")',"t2"));
     tabs.appendChild(tnaddlilink('javascript:testn("test2a")',"t2a"));
     tabs.appendChild(tnaddlilink('javascript:testn("test3")',"t3"));
     tabs.appendChild(tnaddlilink('javascript:testn("test4")',"t4"));
     tabs.appendChild(tnaddlilink('javascript:testn("bv")',"bv"));
     tabs.appendChild(tnaddlilink('javascript:testn("obscene")',"o"));
     tabs.appendChild(tnaddlilink('javascript:testn("joke")',"j"));
     tabs.appendChild(tnaddlilink('javascript:testn("welcomenpov")',"w-N"));
     
     
}}

$(add_testn_tabs);

//விசமிகளுக்கான வரவேற்பு வார்ப்புரு இடலுக்கான நிரல் முடிவு

// Start experimental phonetic transliterator

document.write('<script type="text/javascript" src="' 
+ 'http://ta.wiktionary.org/w/index.php?title=பயனர்:Trengarasu/translitnew.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"></script>');


  function addLoadEvent(func) 
     {
        if (window.addEventListener) 
            window.addEventListener("load", func, false);
        else if (window.attachEvent) 
            window.attachEvent("onload", func);
     }

function addTranslit(editForm,textBox){
checkrt(editForm);

        if (textBox.addEventListener) 
            textBox .addEventListener("keypress", processKeys, false);
        else if (textBox .attachEvent) 
            textBox.attachEvent("onkeypress", processKeys);

}

function addTextEvent() {
var editForm =document.editform;
if(document.editform){
var textBox=document.editform.wpTextbox1;
addTranslit(editForm,textBox);
addCheckbox(editForm,textBox ); 

}
var searchform=document.getElementById('searchform');

var searchInput=document.getElementById('searchInput');
if(searchInput)
addTranslit(searchform,searchInput);

}

function addCheckbox(editform,textBox ){

var element = document.createElement("input");
element.setAttribute("type","checkbox");
element.setAttribute("id","realtime");


if (element.addEventListener) 
            element.addEventListener("click", rtClick, false);
         else if (element.attachEvent) 
            element.attachEvent("onclick", rtClick);

var labelcheckBox = document.createTextNode('Phonetic Bangla Typing. Check/Uncheck box or use Esc as a toggle key to activate/deactivate. Go to WP:Typing for help ');

editform.insertBefore(element,textBox);
document.getElementById("realtime").checked = realTime;
editform.insertBefore(labelcheckBox,textBox);
}

function processKeys(event) {
if (rtsupported)
{ if (event.keyCode == 27 && !isExplorer()) { 
//escape to toggle

realTime = !realTime;
document.getElementById("realtime").checked = realTime;

}

else if (realTime) translitonkey(event); 
} 
}


var realTime = false;
function rtClick(event) {
realTime = !realTime;
}

var rtsupported = false;
var error; 
function checkrt(editform){
try {

/*
var nav = navigator.userAgent.toUpperCase();
rtsupported = (nav.indexOf("GECKO") >= 0 || nav.indexOf("OPERA") >= 0 || nav.indexOf("SAFARI") >= 0);
*/


rtsupported = (document.selection != undefined)

if (!rtsupported) {
var element = document.createElement("TEXTAREA");
editform.appendChild(element);
if (element.selectionStart != undefined)
rtsupported = true;
editform.removeChild(element);
}

} catch (error) {

}
}
addLoadEvent(addTextEvent)
"https://ta.wiktionary.org/w/index.php?title=பயனர்:Trengarasu/monobook.js&oldid=1914361" இலிருந்து மீள்விக்கப்பட்டது