/*
// UsabilityInitiative toolbar customization
if ( typeof $ != 'undefined' && window.wgWikiEditorEnabledModules && wgWikiEditorEnabledModules.toolbar ) {
$( function() {
$( '#wpTextbox1' ).bind( 'wikiEditor-toolbar-buildSection-main', function( event, section ) {
if (wgUserLanguage=='hu') {
// change bold/italic icon
var tools = section.groups.format.tools;
if ( !( 'hu' in tools.bold.icon ) ) {
tools.bold.icon = 'format-bold-F.png'; // no need for full URL because this one exists in default Vector icon set
}
if ( !( 'hu' in tools.italic.icon ) ) {
tools.italic.icon = 'http://upload.wikimedia.org/wikipedia/commons/6/6a/Toolbaricon_italic_D.png';
}
}
// change signature to en dash
section.groups.insert.tools.signature.action.options.post = '– ~~' + '~~';
});
$( '#wpTextbox1' ).bind( 'wikiEditor-toolbar-buildSection-advanced', function( event, section ) {
// localized redirect text
section.groups.insert.tools.redirect.action.options.pre= '#ÁTIRÁNYÍTÁS [[';
});
// special characters
$( '#wpTextbox1' ).bind( 'wikiEditor-toolbar-buildSection-characters', function( event, section ) {
var paren = function(left, right) {
return { label: left + right, action: { type: 'encapsulate', options: { pre: left, post: right } } };
};
var pages = {
basic: {
layout: 'characters',
label: 'Alap',
characters: [ 'á', 'é', 'í', 'ó', 'ö', 'ő', 'ú', 'ü', 'ű', 'Á', 'É', 'Í', 'Ó', 'Ö', 'Ő', 'Ú', 'Ü', 'Ű',
'~', '|', '#', paren('„', '”'), paren('»', '«'), paren('’', '’'), '’', '–', '…', paren('<', '>'), '°', '‰',
'×', '→', '∅', 'µ', '²', '³', '½', '⅓', '⅔', '¼', '¾', '€', '§', '†', '‡', '©', '®', '•', '·', ' ', '‑' ]
}
};
for (i in section.pages) {
pages = section.pages;
}
section.pages = pages;
});
});
}
*/
var osm_proj_map='térkép'; //"map" in project language
var osm_proj_lang='hu'; //project language
mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:OSM.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');