பயனர்:Info-farmer/cleanUp.js: திருத்தங்களுக்கு இடையிலான வேறுபாடு

உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
சி '{Tamilmiss.}நீக்கு'
சி துப்புரவு
வரிசை 1:
/*
// <source lang="javascript">
/*
//</source>
This scipt helps to replace/remove input data in the opened page and helps to edit quikly, regex editor and welcome inserter.
source:https://en.wikisource.org/wiki/User:Bodhisattwa/cleanup.js
@Author [[User:Info-farmer]]
*/
 
This scipt helps to replace/remove input data in the opened page and helps to edit quikly, regex editor and welcome inserter.
/*
source:https://en.wikisource.org/wiki/User:Bodhisattwa/cleanup.js
if(mw.config.values.wgCanonicalNamespace==="Page"){
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) != -1 ) {
 
newbutton = $("#wpSaveWidget").clone()
newbutton.children().prop('id', 'Quicksave','name', 'NKsave');
newbutton.children().val("மாற்றுக");
}}
*/
 
/*
* global $, mw, importScript, pathoschild
* TemplateScript adds configurable templates and scripts to the sidebar, and adds an example regex editor.
* @see https://meta.wikimedia.org/wiki/TemplateScript
* @update-token [[File:pathoschild/templatescript.js]]
*/
 
//set some global parameters for selection
var isPageNS = mw.config.get('wgNamespaceNumber') == 104;
 
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
 
 
 
{
// page NS
pathoschild.TemplateScript.add(
வரி 32 ⟶ 25:
 
{
name: '{Tamilmiss.{Tamil missing}}நீக்கு',
position: 'cursor',
script: function(editor) {
வரி 49 ⟶ 42:
}
],
{ category:'பழமொழி நூல்நீக்குக', forNamespaces:'page' } // common fields
);
 
வரி 56 ⟶ 49:
pathoschild.TemplateScript.add(
[
{ name: 'வரவேற்பு', template: '{{welcome}}--~~~~[[பயனர்:Info-farmer|தகவலுழவன்]] ([[பயனர் பேச்சு:Info-farmer|பேச்சு]]). 07:10, 21 அக்டோபர் 2021 (UTC)', editSummary: 'வரவேற்புரை' },
 
],
வரி 77 ⟶ 70:
});
}
 
//</source>
 
/* if(mw.config.values.wgCanonicalNamespace==="Page"){
if ( $.inArray( mw.config.get( 'wgAction' ), [ 'edit', 'submit' ] ) != -1 ) {
 
newbutton = $("#wpSaveWidget").clone()
newbutton.children().prop('id', 'Quicksave','name', 'NKsave');
newbutton.children().val("மாற்றுக");
}}
*/
"https://ta.wikisource.org/wiki/பயனர்:Info-farmer/cleanUp.js" இலிருந்து மீள்விக்கப்பட்டது