ഉപയോക്താവ്:Praveenp/refvector.js

വിക്കിപീഡിയ, ഒരു സ്വതന്ത്ര വിജ്ഞാനകോശം.

ശ്രദ്ധിക്കുക: സേവ് ചെയ്തശേഷം മാറ്റങ്ങൾ കാണാനായി താങ്കൾക്ക് ബ്രൗസറിന്റെ കാഷെ ഒഴിവാക്കേണ്ടി വന്നേക്കാം.

  • ഫയർഫോക്സ് / സഫാരി: Reload ബട്ടൺ അമർത്തുമ്പോൾ Shift കീ അമർത്തി പിടിക്കുകയോ, Ctrl-F5 അല്ലെങ്കിൽ Ctrl-R (മാക്കിന്റോഷിൽ ⌘-R ) എന്ന് ഒരുമിച്ച് അമർത്തുകയോ ചെയ്യുക
  • ഗൂഗിൾ ക്രോം: Ctrl-Shift-R (മാക്കിന്റോഷിൽ ⌘-Shift-R ) അമർത്തുക
  • ഇന്റർനെറ്റ് എക്സ്പ്ലോറർ: Refresh ബട്ടൺ അമർത്തുമ്പോൾ Ctrl കീ അമർത്തിപിടിക്കുക. അല്ലെങ്കിൽ Ctrl-F5 അമർത്തുക
  • ഓപ്പറ: Menu → Settings എടുക്കുക (മാക്കിൽ Opera → Preferences) എന്നിട്ട് Privacy & security → Clear browsing data → Cached images and files ചെയ്യുക.
//ഉറവിടം http://en.wikisource.org/wiki/User:Alex_brollo/vector.js
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
	$(document).ready( function() {
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'advanced',
			'group': 'format',
			'tools': {
				'Hide': {
					label: 'മറയ്ക്കുക',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/e/e7/Toolbaricon_hidden.png',
					action: {
						type: 'encapsulate',
						options: {
							pre: "<!--",
							post: "-->"
						}
					}
				}
			}
		} );
                $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'advanced',
			'group': 'format',
			'tools': {
				'Strike': {
					label: 'വെട്ടിക്കളയാൻ',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png',
					action: {
						type: 'encapsulate',
						options: {
							pre: "<s>",
							post: "</s>"
						}
					}
				}
			}
		} ); 
               		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'advanced',
			'group': 'insert',
			'tools': {
				'BRef': {
					label: 'പുസ്തകം അവലംബിക്കാൻ',
					type: 'button',
					icon: 'http://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}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'advanced',
			'group': 'insert',
			'tools': {
				'WRef': {
					label: 'വെബ്സൈറ്റ് അവലംബിക്കാൻ',
					type: 'button',
					icon: 'http://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}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'advanced',
			'group': 'insert',
			'tools': {
				'NRef': {
					label: 'വാർത്ത അവലംബിക്കാൻ',
					type: 'button',
					icon: 'http://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}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'advanced',
			'group': 'insert',
			'tools': {
				'Subst': {
					label: 'ബദൽ',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/ml/2/20/Button_subst.png',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{subst:",
                                                        peri: "സ്വാഗതം",
							post: "}}",
						}
					}
				}
			}
		} );
	} );
}

//refTools
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:Mr.Z-man/refToolbar_2.0.js'
+ '&action=raw&ctype=text/javascript"></' + 'script>');
"https://ml.wikipedia.org/w/index.php?title=ഉപയോക്താവ്:Praveenp/refvector.js&oldid=3676383" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്