ഉപയോക്താവ്:Thachan.makan/monobook.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 ചെയ്യുക.
importScript('user:Thachan.makan/വർഗ്ഗം.js');

// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
mw.loader.load('//en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js&action=raw&ctype=text/javascript');

/**
 * 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]]
 */
// <nowiki>
$.ajax('//tools-static.wmflabs.org/meta/scripts/pathoschild.templatescript.js', { dataType:'script', cache:true }).then(function() {
	pathoschild.TemplateScript.add([
		{ name:'header', template:'{{header\n | title    =\n | genre    =\n | author   =\n | year    =\n | translator    =\n | section  =\n | previous =\n | next     =\n | notes    =\n}}' },
		{ name:'author', template:'{{author\n | firstname           =\n | lastname    =\n |last_initial   =\n | birthyear    =\n | deathyear    =\n |description    =\n |image          =\n |wikipedia_link =\n |wikiquote_link =\n |commons_link   =\n}}' },
		{ name:'featured talk', template:'{{featured talk\n | month   = {{subst:CURRENTMONTH}}\n | year    = {{subst:CURRENTYEAR}}\n | archive = {{subst:CURRENTYEAR}}/{{subst:CURRENTMONTH}}\n}}' },
		{ name:'textinfo', template:'{{textinfo\n| edition      =\n| source       =\n| contributors =\n| progress     =\n| notes        =\n| proofreaders =\n}}' },
		{ name:'featured', template:'[[WS:FT|Featured text]] (see the [[WS:PP|protection policy]])', forActions:'protect' },

		{ name:'standardised', template:'[[WS:STYLE|Standardised]]', forActions:'move' },

		{ name:'Copyvio discussion', template:'[[WS:COPYVIO|Possible copyright violation]]', forActions:'delete' },
		{ name:'Proposed', template:'[[WS:DEL|Proposed deletion]]', forActions:'delete' },
		{ name:'G1 no meaningful content', template:'[[WS:CSD|Criteria for speedy deletion]] G1 ("No meaningful content or history.")', forActions:'delete' },
		{ name:'G2 recreation', template:'[[WS:CSD|Criteria for speedy deletion]] G2 ("Reposted content previously deleted...")', forActions:'delete' },
		{ name:'G3 banned user', template:'[[WS:CSD|Criteria for speedy deletion]] G3 ("content created and edited solely by a banned user after they were banned...")', forActions:'delete' },
		{ name:'G4 redundant', template:'[[WS:CSD|Criteria for speedy deletion]] G4 ("Two versions of the same text on different pages...")', forActions:'delete' },
		{ name:'G5 beyond scope', template:'[[WS:CSD|Criteria for speedy deletion]] G5 ("...clearly lies outside the [[WS:WWI|scope of Wikisource]]...")', forActions:'delete' },
		{ name:'G6 copyvio', template:'[[WS:CSD|Criteria for speedy deletion]] G6 ("...clear and proven copyright violation...")', forActions:'delete' },
		{ name:'G6 re-copyvio', template:'[[WS:CSD|Criteria for speedy deletion]] G6 ("...content previously deleted as a copyright violation...")', forActions:'delete' },
		{ name:'G6 copyvio author', template:'[[WS:CSD|Criteria for speedy deletion]] G6 ("...author pages for authors whose works are all copyrighted...")', forActions:'delete' },
		{ name:'G7 author\'s request', template:'[[WS:CSD|Criteria for speedy deletion]] G7 ("Deletion per request of the author...")', forActions:'delete' },
		{ name:'A1 transwikied', template:'[[WS:CSD|Criteria for speedy deletion]] A1 ("Articles [[m:transwiki|transwikied]] to another project...")', forActions:'delete' },
		{ name:'A1 transwikied (commons)', template:'[[WS:CSD|Criteria for speedy deletion]] A1 ("...images uploaded to the [[commons:|Wikimedia commons]] with the original contributor noted...")', forActions:'delete' },
		{ name:'A2 non-notable', template:'[[WS:CSD|Criteria for speedy deletion]] A2 ("...not significantly peer-reviewed or previously published in a significant edition or forum.")', forActions:'delete' },
		{ name:'A3 no authorship info', template:'[[WS:CSD|Criteria for speedy deletion]] A3 ("Works without authorship information...")', forActions:'delete' },
		{ name:'M1 trivial', template:'[[WS:CSD|Criteria for speedy deletion]] M1 ("...deletion as part of a page move or history merge, as long as the action requiring the deletion is uncontroversial.")', forActions:'delete' },
		{ name:'M2 redirect (new)', template:'[[WS:CSD|Criteria for speedy deletion]] M2 ("Unneeded redirects from page titles created within the last week...")', forActions:'delete' },
		{ name:'M2 redirect (old)', template:'[[WS:CSD|Criteria for speedy deletion]] M2 ("...[unneeded] redirects tagged with {{subst:dated soft redirect|"[[new title]]"}} for at least two months.")', forActions:'delete' },
		{ name:'M2 redirect (broken)', template:'[[WS:CSD|Criteria for speedy deletion]] M2 ("...Redirects to inexistant pages...)"', forActions:'delete' },
		{ name:'M3 redirect (article to other ns)', template:'[[WS:CSD|Criteria for speedy deletion]] M3 ("Internamespace redirects from the article namespace to any other namespace.")', forActions:'delete' },
		{ name:'M4 talk page', template:'[[WS:CSD|Criteria for speedy deletion]] M4 ("Unneeded talk: a discussion page for deleted or inexistant content.")', forActions:'delete' },
	]);
});
// </nowiki>


// <nowiki>
if (mwCustomEditButtons) {
   $('#wpTextbox1').wikiEditor('addToToolbar', {
	section: 'main',
	group: 'format',
	tools: {
		'custom-രചയിതാവ്': {
			label: 'രചയിതാവ്',
			type: 'button',
			icon: '//upload.wikimedia.org/wikipedia/commons/8/83/Button_biocitas.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '{{author',
					post: '\n| firstname = \n| lastname = \n| last_initial = \n| birthyear = \n| deathyear = \n| description = \n| image = \n| wikipedia_link = \n| wikiquote_link = \n| commons_link = \n}}',
					sampleText: ''
				}
			}
		},
		'custom-തലക്കെട്ട്': {
			label: 'തലക്കെട്ട്',
			type: 'button',
			icon: '//upload.wikimedia.org/wikipedia/commons/0/03/Button_chapitre.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: '{{header2',
					post: '\n| title = \n| genre = \n| author = \n| year = \n| translator = \n| section = \n| previous = \n| next = \n| notes = \n}}',
					sampleText: ''
				}
			}
		}
	}
});
  }
// </nowiki>
"https://ml.wikisource.org/w/index.php?title=ഉപയോക്താവ്:Thachan.makan/monobook.js&oldid=144897" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്