User:Secyritas/monobook.js

From translatewiki.net
Jump to: navigation, search
/* User toolbar code
 * Author:  Niklas Laxström [[w:fi:user:Nikerabbit]]
 * License: Public domain
 *
 * Help:
 * Remember to quote single quote marks (') like \'
 * You don't have to worry about wikitext getting parsed prematurelu
 * 
 */

function buttons() {
 addSpecialCharacter('—', 'em dash');
 addSpecialCharacter('ä', 'A with diaresis');
 addSpecialCharacter('Ä', 'Capital A with diaresis');
 addFeatureButton('<!-- ', ' -->', ' ', 'Comment', 'Add comments');
}

initializebuttons();

/* END */