Geavaheaddji:Jeblad/vector.js
Fuomáš: Maŋŋel go almmuhat, soaitá leat dárbbašlaš sihkkut neahttalohkkii gaskaráju vai oainnat rievdadusaid.
- Firefox / Safari: Doala Shift dan botta go deattát Reload, dahje deaddil Ctrl-F5 dahje Ctrl-R (⌘-R Mac'as)
- Google Chrome: Deaddil Ctrl-Shift-R (⌘-Shift-R Mac'as)
- Internet Explorer / Edge: Doala Ctrl dan botta go deattát Álggat ođđasit, dahje deaddil Ctrl-F5
- Opera: deaddil Ctrl-F5.
//importScript('User:Jeblad/smi.js');
//importStylesheet('User:Jeblad/smi.css');
//importScript('User:Jeblad/iwcheck.js');
//importScript('User:Jeblad/lemmatool.js');
//importStylesheet('User:Jeblad/lemmatool.css');
//importScript('User:Jeblad/trmemory.js');
//importStylesheet('User:Jeblad/trmemory.css');
//importScript('User:Jeblad/filter.js');
//importStylesheet('User:Jeblad/filter.css');
//importScript('User:Jeblad/signs.js');
//importStylesheet('User:Jeblad/signs.css');
//addOnloadHook( function() {
// alert(wgGiellatekno.regexp['n-langtools-num']().source);
//});
/*
//alert($().jquery);
// Check that the toolbar is available
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
//jQuery.readyWait++; //should block editor
// Execute on load
$( function() {
// To add a booklet section:
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'texts': {
'type': 'booklet',
'label': 'Tekster',
'deferLoad': true,
}
}
} );
} );
}
*/
/*
// Check that jQuery is available
if ( 0 && typeof $ != 'undefined' && window.wgWikiEditorEnabledModules && wgWikiEditorEnabledModules.toolbar ) {
$( function() {
$( '#wpTextbox1' ).bind( 'wikiEditor-toolbar-buildSection-texts', function( event, section ) {
section.pages = {
'titles': {
'layout': 'table',
'label': 'Overskrifter',
'headings': [
{ text: 'Norsk' },
{ text: 'Kode' }
],
'rows': [
{
'name': { html: '<a href="javascript:noop()">Lenker</a>' },
'wiki': { text: '==Liŋkkat==' }
},
{
'name': { html: '<a href="javascript:noop()">Se også</a>' },
'wiki': { text: '==Geahča maid==' }
},
{
'name': { html: '<a href="javascript:noop()">Referanser</a>' },
'wiki': { text: '==Referánssat==' }
}
]
}
}
} );
// To add a page to an existing booklet section
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'info',
'pages': {
'colors': {
'layout': 'table',
'label': 'Colors',
'headings': [
{ text: 'Name' }, // or use textMsg for localization, see also above
{ text: 'Temperature' },
{ text: 'Swatch' }
],
'rows': [
{
'name': { text: 'Red' },
'temp': { text: 'Warm' },
'swatch': { html: '<div style="width:10px;height:10px;background-color:red;">' }
},
{
'name': { text: 'Blue' },
'temp': { text: 'Cold' },
'swatch': { html: '<div style="width:10px;height:10px;background-color:blue;">' }
},
{
'name': { text: 'Silver' },
'temp': { text: 'Neutral' },
'swatch': { html: '<div style="width:10px;height:10px;background-color:silver;">' }
}
]
}
}
} );
*/
/*
$( '#wpTextbox1' ).bind( 'wikiEditor-toolbar-buildSection-main', function( event, section ) {
//if ( !( 'sv' in section.groups.format.tools.bold.icon ) ) {
// There's already a bold F icon for German, use that one
section.groups.format.tools.bold.icon['no'] = 'format-bold-F.png';
section.groups.format.tools.bold.offset['no'] = [2, -214];
//}
//if ( !( 'sv' in section.groups.format.tools.italic.icon ) ) {
// Use an icon from Commons for L
section.groups.format.tools.italic.icon['no'] = 'http://upload.wikimedia.org/wikipedia/commons/3/32/Toolbaricon_italic_L.png';
section.groups.format.tools.italic.offset['no'] = [2, -214];
//}
} );
*/
/*
} );
}
*/