பயனர்:Info-farmer/cleanUp.js: திருத்தங்களுக்கு இடையிலான வேறுபாடு
உள்ளடக்கம் நீக்கப்பட்டது உள்ளடக்கம் சேர்க்கப்பட்டது
சி '{Tamilmiss.}நீக்கு' |
சி துப்புரவு |
||
வரிசை 1:
/* ▼
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: '{
position: 'cursor',
script: function(editor) {
வரி 49 ⟶ 42:
}
],
{ category:'
);
வரி 56 ⟶ 49:
pathoschild.TemplateScript.add(
[
{ name: 'வரவேற்பு', template: '{{welcome}}--
],
வரி 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("மாற்றுக");
▲}}
▲*/
|