Jump to navigation Jump to search

The Vietnamese wikis add a consolidated Vietnamese character page using this code (specifically the functions addVietCharPage() and bindVietCharPage()).

Minh Nguyễn (talk, contribs)10:38, 16 May 2012

Nice try, but I wasn't able to get it to work (mostly because of my cluelessness). I eventually found and adapted another user's custom js as follows:

// Listes de caractères
var api_liste_fr = ["ɑ","ɑ̃","ə","ɛ","œ","ø","ɛ̃","ɔ","ɔ̃","œ̃","ʃ","ɡ","ɥ","ʒ","ɲ","ŋ","ʁ","‿","ː","ˈ","ˌ"] ;
var caracteres_liste_fr = ["’","æ","Æ","€","ñ","œ","Œ","–","—","…"] ;

// Ajout de la section Caractères du Wiktionnaire > API français
hookEvent( 'load', function() {
	$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
		'sections': {
			'caracteres': {
				label:'Mes outils',
				pages: {
					'API_fr': {
						'label':'API français',
						'characters': api_liste_fr
					'car_fr': {
						'label':'Caractères spéciaux',
						'characters': caracteres_liste_fr
	} );
} );
Urhixidur (talk)16:40, 17 May 2012

You do not have permission to edit this page, for the following reason:

The action you have requested is limited to users in the group: Users.

You can view and copy the source of this page.

Return to Thread:Project talk:News/WikiEditor/reply (3).