मीडियाविकि:Gadgets-MayuredittoolVector.js
सूचना: यह पृष्ठ सुरक्षित करने बाद, परिवर्तनों को देखने लिए ब्राउज़र का कैश ख़ाली करने की आवश्यकता हो सकती है।
- मोज़िला / फ़ायरफ़ॉक्स / सफ़ारी: shift hold करें जब आप reload क्लिक करते है, या Ctrl-Shift-R (अपल मैक में Cmd-Shift-R) दबाएँ;
- गूगल क्रोम: Ctrl-shift-R (मैक में Cmd-Shift-R) दबाएँ
- इंटरनेट एक्सप्लोरर: Ctrl hold करें जब आप refresh क्लिक करते हैं, या Ctrl-F5 क्लिक करते हैं;
- कॉङ्करर: सिर्फ़ Reload बटन पर क्लिक करें, या F5 क्लिक करें;
- ऑपरा सदस्य को Tools→Preferences में सम्पूर्ण कैश ख़ाली करने की ज़रूरत हो सकती है।
// Check that the toolbar is available
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
// Execute on load
$( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'main',
'group': 'insert',
'tools': {
'category': {
label: 'श्रेणीबद्ध करें',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/0/00/Structure_du_site_ic%C3%B4ne.svg/23px-Structure_du_site_ic%C3%B4ne.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Category:",
post: "]]"
}
}
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'bolditalic': {
label: 'अक्षर मोटा करें',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/b/be/Toolbaricon_bolditalic_A.png',
action: {
type: 'encapsulate',
options: {
pre: "'''''",
periMsg: 'bold italic',
post: "'''''"
}
}
},
'strikethrough': {
label: 'लाईन रद्द करें',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/1/1a/Toolbaricon_strike.png',
action: {
type: 'encapsulate',
options: {
pre: "<s>",
post: "</s>"
}
}
},
'underline': {
label: 'वाक्य के नीचे लाईन डाले',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/9/99/Gnome-format-text-underline.svg/22px-Gnome-format-text-underline.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "<u>",
post: "</u>"
}
}
},
'quote': {
label: 'सूक्ति डाले',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/2/2f/Toolbaricon_quote_1.png',
action: {
type: 'encapsulate',
options: {
pre: "<blockquote>",
post: "</blockquote>"
}
}
},
'justify-left': {
label: 'बायीं तरफ करे',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/8/81/Toolbaricon_justify-left.png',
action: {
type: 'encapsulate',
options: {
pre: "<div style=\"text-align: left;\">",
post: "</div>"
}
}
},
'justify-center': {
label: 'मध्य में करें',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/c/ce/Gnome-format-justify-center.svg/23px-Gnome-format-justify-center.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "<div style=\"text-align: center;\">",
post: "</div>"
}
}
},
'justify-right': {
label: 'दायीं तरफ करे',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/f/fb/Gnome-format-justify-right.svg/23px-Gnome-format-justify-right.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "<div style=\"text-align: right;\">",
post: "</div>"
}
}
},
'indent-more': {
label: 'परिभाषा',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/8/84/Gnome-format-indent-more.svg/23px-Gnome-format-indent-more.svg.png',
action: {
type: 'encapsulate',
options: {
pre: ";"
}
}
},
'source': {
label: 'स्त्रोत',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/1/1b/Toolbaricon_source.svg/22px-Toolbaricon_source.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "<source lang=\"text\">",
post: '</source>'
}
}
}
}
} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'insert',
'tools': {
'math': {
label: 'mathematical formula(गणितीय सूत्र)',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/c/c2/Nuvola_apps_edu_mathematics-p.svg/22px-Nuvola_apps_edu_mathematics-p.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "<math>",
periMsg: 'Insert mathematical formulas(गणितीय सूत्र डाले)',
post: "</math>"
}
}
},
'template': {
label: 'Template(साँचा डाले)',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/thumb/9/9a/Curly_Brackets.svg/22px-Curly_Brackets.svg.png',
action: {
type: 'encapsulate',
options: {
pre: "{{",
periMsg: 'Template(साँचा डाले)',
post: "}}"
}
}
},
'hidden': {
label: 'comments or hidden text(वाक्यांश छुपायें)',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/1/11/Toolbaricon_hiddencomment.png',
action: {
type: 'encapsulate',
options: {
pre: "<!-- ",
post: " -->"
}
}
},
'hline': {
label: 'horizontal Line(एक लाईन खींचे)',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/2/2c/Norwegian_ndash_sign.png',
action: {
type: 'encapsulate',
options: {
pre: "----",
ownline: true
}
}
},
'hans-hant': {
label: 'character conversion',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/9/9d/Toolbaricon_sr.png',
action: {
type: 'encapsulate',
options: {
pre: "-{",
periMsg: 'character conversion(पाठ बदले)',
post: "}-"
}
}
},
'mediafile': {
label: 'Media file link',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/6/65/Toolbaricon_media.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Media:",
periMsg: 'Example.ogg',
post: "]]"
}
}
},
'references': {
label: '(references)संदर्भ',
type: 'button',
icon: '//up.wiki.x.io/wikipedia/commons/8/8d/Wikieditor-references.png',
action: {
type: 'encapsulate',
options: {
pre: "\n==संदर्भ==\n<div class=\"references-small\">\n<references></references>\n</div>\n",
}
}
}
}
} );
//结束
} );
}