"ഉപയോക്താവ്:Vssun/vector.js/buttons.js" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
Content deleted Content added
No edit summary |
Attemted fix for bugzilla:41802 |
||
വരി 1: | വരി 1: | ||
//വെക്റ്റർ തൊലിയിൽ പുതിയ ആയുധങ്ങൾ കൂട്ടിച്ചേർക്കാനുള്ള സ്ക്രിപ്റ്റ് |
//വെക്റ്റർ തൊലിയിൽ പുതിയ ആയുധങ്ങൾ കൂട്ടിച്ചേർക്കാനുള്ള സ്ക്രിപ്റ്റ് |
||
//ഉറവിടം http://en.wikisource.org/wiki/User:Alex_brollo/vector.js |
//ഉറവിടം http://en.wikisource.org/wiki/User:Alex_brollo/vector.js |
||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
if ( typeof $j !== 'undefined' && typeof $j.fn.wikiEditor !== 'undefined' ) { |
||
$j(document).ready( function() { |
$j(document).ready( function() { |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
വരി 10: | വരി 10: | ||
label: 'മറയ്ക്കുക', |
label: 'മറയ്ക്കുക', |
||
type: 'button', |
type: 'button', |
||
icon: ' |
icon: '//upload.wikimedia.org/wikipedia/commons/e/e7/Toolbaricon_hidden.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
വരി 21: | വരി 21: | ||
} |
} |
||
} ); |
} ); |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'advanced', |
'section': 'advanced', |
||
'group': 'format', |
'group': 'format', |
||
വരി 28: | വരി 28: | ||
label: 'വെട്ടിക്കളയാൻ', |
label: 'വെട്ടിക്കളയാൻ', |
||
type: 'button', |
type: 'button', |
||
icon: ' |
icon: '//upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
വരി 39: | വരി 39: | ||
} |
} |
||
} ); |
} ); |
||
/* |
/* $j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': 'advanced', |
'section': 'advanced', |
||
'group': 'insert', |
'group': 'insert', |
||
വരി 46: | വരി 46: | ||
label: 'പുസ്തകം അവലംബിക്കാൻ', |
label: 'പുസ്തകം അവലംബിക്കാൻ', |
||
type: 'button', |
type: 'button', |
||
icon: ' |
icon: '//upload.wikimedia.org/wikipedia/commons/e/ef/Button_cite_book.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
വരി 64: | വരി 64: | ||
label: 'വെബ്സൈറ്റ് അവലംബിക്കാൻ', |
label: 'വെബ്സൈറ്റ് അവലംബിക്കാൻ', |
||
type: 'button', |
type: 'button', |
||
icon: ' |
icon: '//upload.wikimedia.org/wikipedia/commons/9/91/Button_cite_web.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
വരി 82: | വരി 82: | ||
label: 'വാർത്ത അവലംബിക്കാൻ', |
label: 'വാർത്ത അവലംബിക്കാൻ', |
||
type: 'button', |
type: 'button', |
||
icon: ' |
icon: '//upload.wikimedia.org/wikipedia/commons/2/2c/Button_cite_news.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
വരി 100: | വരി 100: | ||
label: 'ബദൽ', |
label: 'ബദൽ', |
||
type: 'button', |
type: 'button', |
||
icon: ' |
icon: '//upload.wikimedia.org/wikipedia/commons/2/20/Button_subst.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{subst:", |
pre: "{{subst:", |
||
peri: "സ്വാഗതം", |
|||
post: "}}" |
post: "}}" |
||
} |
} |
||
} |
} |
||
വരി 116: | വരി 116: | ||
//refTools |
//refTools |
||
⚫ | |||
document.write('<script type="text/javascript" src="' |
|||
⚫ | |||
+ '&action=raw&ctype=text/javascript"></' + 'script>'); |
00:28, 29 ഡിസംബർ 2012-നു നിലവിലുണ്ടായിരുന്ന രൂപം
//വെക്റ്റർ തൊലിയിൽ പുതിയ ആയുധങ്ങൾ കൂട്ടിച്ചേർക്കാനുള്ള സ്ക്രിപ്റ്റ്
//ഉറവിടം http://en.wikisource.org/wiki/User:Alex_brollo/vector.js
if ( typeof $j !== 'undefined' && typeof $j.fn.wikiEditor !== 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Hide': {
label: 'മറയ്ക്കുക',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/e7/Toolbaricon_hidden.png',
action: {
type: 'encapsulate',
options: {
pre: "<!--",
post: "-->"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Strike': {
label: 'വെട്ടിക്കളയാൻ',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png',
action: {
type: 'encapsulate',
options: {
pre: "<s>",
post: "</s>"
}
}
}
}
} );
/* $j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'insert',
'tools': {
'BRef': {
label: 'പുസ്തകം അവലംബിക്കാൻ',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/e/ef/Button_cite_book.png',
action: {
type: 'encapsulate',
options: {
pre: "{{cite book ",
post: "\n| last= \n| first= \n| authorlink= \n| coauthors= \n| editor= \n| others= \n| title= \n| origdate= \n| origyear= \n| origmonth= \n| url= \n| format= \n| accessdate= \n| accessyear= \n| accessmonth= \n| edition= \n| series= \n| date= \n| year= \n| month= \n| publisher= \n| location= \n| language= \n| isbn= \n| oclc= \n| doi= \n| id= \n| pages= \n| chapter= \n| chapterurl= \n| quote= \n}}"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'insert',
'tools': {
'WRef': {
label: 'വെബ്സൈറ്റ് അവലംബിക്കാൻ',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/9/91/Button_cite_web.png',
action: {
type: 'encapsulate',
options: {
pre: "{{cite web ",
post: "\n| url = \n| title = \n| accessdate = \n| accessmonthday = \n| accessyear = \n| author = \n| last = \n| first = \n| authorlink = \n| coauthors = \n| date = \n| year = \n| month = \n| format = \n| work = \n| publisher = \n| pages = \n| language = \n| archiveurl = \n| archivedate = \n| quote = \n}}"
}
}
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'insert',
'tools': {
'NRef': {
label: 'വാർത്ത അവലംബിക്കാൻ',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/2c/Button_cite_news.png',
action: {
type: 'encapsulate',
options: {
pre: "{{cite news ",
post: "\n| first = \n| last = \n| authorlink = \n| author = \n| coauthors = \n| title = \n| url = \n| format = \n| work = \n| publisher = \n| pages = \n| page = \n| date = \n| accessdate = \n| language = \n}}"
}
}
}
}
} );*/
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'insert',
'tools': {
'Subst': {
label: 'ബദൽ',
type: 'button',
icon: '//upload.wikimedia.org/wikipedia/commons/2/20/Button_subst.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:",
peri: "സ്വാഗതം",
post: "}}"
}
}
}
}
} );
} );
}
//refTools
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Mr.Z-man/refToolbar_2.0.js&action=raw&ctype=text/javascript');