Jump to content

User talk:Func/wpfunc/curps.js

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Curps.js is a monobook.js file for adding additional characters to the insertion-character div at the bottom of edit pages.

Usage

[edit]

Copy the following into your monobook.js, and customize by setting the variables gCurpsSets and gCurpsLocate:

	//	If gCurpsSets is undefined, evaluates to false, or is
	//	an empty list, then you get ALL of the characters sets.
	//
	//	These are the current options:
	//
	//		- Special sets:
	//			'ipa' = International Phonetic Alphabet
	//
	//		- Country/language codes:
	//			'es', 'pt', 'fr', 'nl', 'de', 'it', 'da', 'no',
	//			'sv', 'fi', 'is', 'pl', 'cs', 'sk', 'hu', 'sl',
	//			'hr', 'sq', 'tr', 'ro', 'lt', 'lv', 'et', 'ml',
	//			'zh', 'ca', 'eo', 'cy'
	//
gCurpsSets = [ 'ipa', 'es', 'nl', 'de', 'cs' ];
	//
	//	gCurpsLocate:
	//		- insert the sets 'before' or 'after' the existing set, or
	//		- 'replace' the existing set.
	//
gCurpsLocate = 'after'; // 'before' or 'after' or 'replace'
	//
document.write(
	'<script type="text/javascript" src="/w/index.php?title=' +
	'User:Func/wpfunc/curps.js' +
	'&action=raw&ctype=text/javascript&dontcountme=s"><'+'/script>'
);