For faster navigation, this Iframe is preloading the Wikiwand page for User:Kaniivel/RefConsolidate start.js.

User:Kaniivel/RefConsolidate start.js

/**
 * Loader of the Reference Organizer script
 */

// Make sure the document is ready and dependencies are loaded
$.when (
	$.ready,
	mw.loader.using(['mediawiki.util', 'jquery.ui'])
	).done(function () {
		// Only load on appropriate namespaces
		var namespace = mw.config.get( 'wgNamespaceNumber' );
		if ( namespace === 0 || namespace === 2 || namespace === 118 ) {
			// Only load when editing wikitext (and not in common.js or common.css, for example)
			var contentModel = mw.config.get( 'wgPageContentModel' );
			if ( contentModel === 'wikitext' ) {
				// Configure the gadget for this particular wiki
				mw.config.set({
					'refcon-gadgetname': 'Reference Organizer', //Gadget name
					'refcon-summary': 'Arranged references with [[User:Kaniivel/Reference Organizer|script]]', // Edit summary automatically added by RefCon
					'refcon-summaryseparator': ' + ', // Edit summary separator if summary is added to existing summary
					'refcon-linkname': 'Organize refs', //Portlet link name
					'refcon-linkhover': 'Organize references', //Text that is displayed when hovering above the link; link title
					'refcon-reftemplatenames': [ //List template ((reflist)) name and aliases that are used in wiki. Separate with commas. Put the main first.
						'reflist'
					],
					'refcon-reftemplategroupnames': [ //List template ((reflist)) 'group' parameter aliases that are used in wiki. Separate with commas. Put the main first.
						'group'
					],
					'refcon-reftemplaterefsnames': [ //List template ((reflist)) 'refs' parameter aliases that are used in wiki. Separate with commas. Put the main first.
						'refs'
					],
					'refcon-sortrefs': 'user',	// Whether references will be sorted alphabetically in reference template.
												// Value can be 'yes', 'no', 'user'
					'refcon-usetemplateR': 'user',	// Whether to use template ((R)) for citations. See [[:en:Template:R]].
													// Value can be 'yes', 'no', 'user'
					'refcon-image-yes': 'https://upload.wikimedia.org/wikipedia/commons/thumb/f/fb/Yes_check.svg/240px-Yes_check.svg.png',
					'refcon-image-no': 'https://upload.wikimedia.org/wikipedia/commons/thumb/a/a2/X_mark.svg/210px-X_mark.svg.png'
				});
				mw.messages.set({
					'refcon-parsereferror': "This reference string caused error:\n$1",
					'refcon-parserefforbidden': "Reference name contains forbidden characters [$1]:\n$2",
					'refcon-name': "Name",
					'refcon-reference': "Reference",
					'refcon-refstemplateno': "Reference list template no.",
					'refcon-referencegroup': "reference group",
					'refcon-buttonabort': "Abort",
					'refcon-buttoncontinue': "Continue",
					'refcon-referenceuses': "Uses",
					'refcon-closetitle': "Close window",
					'refcon-checkboxsortorder': "save in the selected sort order (click on headers to sort)",
					'refcon-checkboxkeepnames': "keep unnecessary article body reference names",
					'refcon-checkboxmakecopies': "save article body references as separate copies (for article separation)",
					'refcon-optionsheaderreflocation': "References location:",
					'refcon-optionsheaderother': "Other choices:",
					'refcon-optionlocation1': "all references are located in reference list template(s)",
					'refcon-optionlocation2': "all references are located in the body of article",
					'refcon-optionlocation3': "all references w/ at least $1 uses are located in reference list template(s)"
				});
				mw.loader.load( '/w/index.php?title=User:Kaniivel/RefConsolidate.css&action=raw&ctype=text/css', 'text/css' );
				// cache loaded scripts for faster loading
				$.ajaxSetup({
					cache: true
				});
				// load xmlToJSON
				$.getScript( '/w/index.php?title=User:Kaniivel/XmlToJSON.min.js&action=raw&ctype=text/javascript', function() {
					// load the main script
					mw.loader.load( '/w/index.php?title=User:Kaniivel/RefConsolidate.js&action=raw&ctype=text/javascript', 'text/javascript' );
				});
			}
		}
	}
);
{{bottomLinkPreText}} {{bottomLinkText}}
User:Kaniivel/RefConsolidate start.js
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 ๐ŸŽ‰! the new version arrives on September 1st! Don't want to wait?