Erohusat geavaheaddji «Jeblad/vector.js» geavaheaddjesiiddu veršuvnnaid gaskkas
Sisdoallu sihkkojuvvon Sisdoallu lasihuvvon
Čoahkkáigeassu váilu |
Čoahkkáigeassu váilu |
||
Gurgadas 4: | Gurgadas 4: | ||
//importScript('User:Jeblad/iwcheck.js'); |
//importScript('User:Jeblad/iwcheck.js'); |
||
importScript('User:Jeblad/lemmatool.js'); |
//importScript('User:Jeblad/lemmatool.js'); |
||
importStylesheet('User:Jeblad/lemmatool.css'); |
//importStylesheet('User:Jeblad/lemmatool.css'); |
||
importScript('User:Jeblad/trmemory.js'); |
//importScript('User:Jeblad/trmemory.js'); |
||
importStylesheet('User:Jeblad/trmemory.css'); |
//importStylesheet('User:Jeblad/trmemory.css'); |
||
importScript('User:Jeblad/filter.js'); |
//importScript('User:Jeblad/filter.js'); |
||
importStylesheet('User:Jeblad/filter.css'); |
//importStylesheet('User:Jeblad/filter.css'); |
||
Gurgadas 23: | Gurgadas 23: | ||
//}); |
//}); |
||
⚫ | |||
//alert($j().jquery); |
//alert($j().jquery); |
||
// Check that the toolbar is available |
// Check that the toolbar is available |
||
Gurgadas 41: | Gurgadas 42: | ||
} ); |
} ); |
||
} |
} |
||
*/ |
|||
/* |
|||
// Check that jQuery is available |
// Check that jQuery is available |
||
if ( 0 && typeof $j != 'undefined' && window.wgWikiEditorEnabledModules && wgWikiEditorEnabledModules.toolbar ) { |
if ( 0 && typeof $j != 'undefined' && window.wgWikiEditorEnabledModules && wgWikiEditorEnabledModules.toolbar ) { |
||
Gurgadas 71: | Gurgadas 74: | ||
} |
} |
||
} ); |
} ); |
||
⚫ | |||
// To add a page to an existing booklet section |
// To add a page to an existing booklet section |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
Gurgadas 120: | Gurgadas 124: | ||
} ); |
} ); |
||
*/ |
*/ |
||
/* |
|||
} ); |
} ); |
||
} |
} |
||
*/ |
Veršuvdna suoidnemánnu 12 b. 2015 dii. 13.23
//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($j().jquery);
// Check that the toolbar is available
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
//jQuery.readyWait++; //should block editor
// Execute on load
$j( function() {
// To add a booklet section:
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'texts': {
'type': 'booklet',
'label': 'Tekster',
'deferLoad': true,
}
}
} );
} );
}
*/
/*
// Check that jQuery is available
if ( 0 && typeof $j != 'undefined' && window.wgWikiEditorEnabledModules && wgWikiEditorEnabledModules.toolbar ) {
addOnloadHook( function() {
$j( '#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
$j( '#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;">' }
}
]
}
}
} );
*/
/*
$j( '#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];
//}
} );
*/
/*
} );
}
*/