MediaWiki:Gadget-ProveIt.js

Manipud iti Wikipedia, ti nawaya nga ensiklopedia

Nota: Kalpasan ti panangipablaak, mabalin a naskenmo a labsan ti cahe ti pagbasabasam tapno makita dagiti sinukatam.

  • Firefox / Safari: Tenglen ti Shift bayat a pinduten ti Reload, wenno talmegan ti Ctrl-F5 wenno Ctrl-R (⌘-R iti Mac)
  • Google Chrome: Talmegan ti Ctrl-Shift-R (⌘-Shift-R iti Mac)
  • Internet Explorer /Edge: Tenglen ti Ctrl bayat a pinduten ti Refresh, wenno talmegan ti Ctrl-F5
  • Opera: Mapan iti Menu → Settings (Opera → Preferences iti Mac) ken kalpasanna iti Privacy & security → Clear browsing data → Cached images and files.
/**
 * ProveIt is a powerful reference manager for Wikipedia
 * Documentation at https://commons.wikimedia.org/wiki/Help:Gadget-ProveIt
 *
 * This script sets the configuration options specific to this wiki
 * and loads the gadget code from Wikimedia Commons
 */
function loadProveIt() {
	mw.config.set({
		'proveit-tag': 'Urnos ti ProveIt', // Revision tag defined at Special:Tags (optional)
		'proveit-summary': 'Inurnos ti nagibasaran iti [[Wikipedia:ProveIt|ProveIt]]', // Automatic edit summary (optional)
		'proveit-templates': [ // Citation templates (without namespace)
			'Citation',
			'Cite arXiv',
			'Cite AV media',
			'Cite AV media notes',
			'Cite book',
			'Cite bioRxiv',
			'Cite conference',
			'Cite comic',
			'Cite encyclopedia',
			'Cite episode',
			'Cite interview',
			'Cite journal',
			'Cite magazine',
			'Cite mailing list',
			'Cite map',
			'Cite news',
			'Cite newsgroup',
			'Cite paper',
			'Cite podcast',
			'Cite press release',
			'Cite report',
			'Cite serial',
			'Cite sign',
			'Cite speech',
			'Cite techreport',
			'Cite thesis',
			'Cite tweet',
			'Cite video',
			'Cite video game',
			'Cite ssrn',
			'Cite web',
		],
		'proveit-namespaces': [ // Supported namespaces (see https://www.mediawiki.org/wiki/Manual:Namespace_constants)
			0, // Main namespace
			2, // User namespace
		]
	});
	mw.loader.load( '//commons.wikimedia.org/w/load.php?modules=ext.gadget.ProveIt&only=scripts' );
	mw.loader.load( '//commons.wikimedia.org/w/load.php?modules=ext.gadget.ProveIt&only=styles', 'text/css' );
}

// Only load when editing
mw.hook( 'wikipage.editform' ).add( loadProveIt );
mw.hook( 've.activationComplete' ).add( loadProveIt );