mw.loader.using(['mediawiki.util','mediawiki.notify'],function(){if(mw.config.get('wgPageName')=='Main_Page'||mw.config.get('wgPageName')=='Talk:Main_Page'){$(document).ready(function(){mw.util.addPortletLink('p-lang','//meta.wikimedia.org/wiki/List_of_Wikipedias','Complete list','interwiki-completelist','Complete list of Wikipedias');});}if(mw.config.get('wgArticleId')===0&&mw.config.get('wgNamespaceNumber')==2){var titleParts=mw.config.get('wgPageName').split('/');if(titleParts.length==2){var userSkinPage=titleParts.shift()+'/'+mw.config.get('skin');if(titleParts.slice(-1)=='skin.js'){window.location.href=mw.util.wikiGetlink(userSkinPage+'.js');}else if(titleParts.slice(-1)=='skin.css'){window.location.href=mw.util.wikiGetlink(userSkinPage+'.css');}}}window.addPortletLink=function(){return mw.util.addPortletLink.apply(mw.util,arguments);} window.getURLParamValue=function(){return mw.util.getParamValue.apply(mw.util,arguments);} window.hasClass=function(element,className){return $(element).hasClass(className);} var extraCSS=mw.util.getParamValue('withCSS');if(extraCSS){if(extraCSS.match(/^MediaWiki:[^&<>=%]*\.css$/)){importStylesheet(extraCSS);}else{$(document).ready(function(){mw.notify('Invalid stylesheet URL; only stylesheet pages from MediaWiki: space are allowed.',{title:'Error'});});}}var extraJS=mw.util.getParamValue('withJS');if(extraJS){if(extraJS.match(/^MediaWiki:[^&<>=%]*\.js$/)){importScript(extraJS);}else{$(document).ready(function(){mw.notify('Invalid javascript URL; only javascript pages from MediaWiki: space are allowed.',{title:'Error'});});}}if(mw.config.get('wgAction')=='edit'||mw.config.get('wgAction')=='submit'||mw.config.get('wgPageName')=='Special:Upload'){importScript('MediaWiki:Common.js/edit.js');}else if(mw.config.get('wgPageName')=='Special:Watchlist'){importScript('MediaWiki:Common.js/watchlist.js');}if(mw.config.get('wgNamespaceNumber')==6){importScript('MediaWiki:Common.js/file.js');}if($.client.profile().name=='msie'){importScript( 'MediaWiki:Common.js/IEFixes.js');}if(navigator.appVersion.search(/windows nt 5/i)!=-1){mw.util.addCSS('.IPA { font-family: "Lucida Sans Unicode", "Arial Unicode MS"; } '+'.Unicode { font-family: "Arial Unicode MS", "Lucida Sans Unicode"; } ');}(function($,mw){var require_wikiminiatlas=false;var coord_filter=/geohack/;$(document).ready(function(){$('a.external.text').each(function(key,link){if(link.href&&coord_filter.exec(link.href)){require_wikiminiatlas=true;return false;}});if($('div.kmldata').length){require_wikiminiatlas=true;}if(require_wikiminiatlas){mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript');}});})(jQuery,mediaWiki);function LinkFA(){if(document.getElementById('p-lang')){var InterwikiLinks=document.getElementById('p-lang').getElementsByTagName('li');for(var i=0;i=autoCollapse&&$(NavigationBoxes[i]).hasClass('autocollapse'))){collapseTable(i);}else if($(NavigationBoxes[i]).hasClass('innercollapse')){var element=NavigationBoxes[i];while(element=element.parentNode){if($(element).hasClass('outercollapse')){collapseTable(i);break;}}}}}$(createCollapseButtons);var NavigationBarHide='['+collapseCaption+']';var NavigationBarShow='['+expandCaption+']';window.toggleNavigationBar=function(indexNavigationBar){var NavToggle=document.getElementById('NavToggle'+indexNavigationBar);var NavFrame=document.getElementById('NavFrame'+indexNavigationBar);if(!NavFrame||!NavToggle){return false;}if(NavToggle.firstChild.data==NavigationBarHide){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if($(NavChild).hasClass('NavContent')||$(NavChild). hasClass('NavPic')){NavChild.style.display='none';}}NavToggle.firstChild.data=NavigationBarShow;}else if(NavToggle.firstChild.data==NavigationBarShow){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if($(NavChild).hasClass('NavContent')||$(NavChild).hasClass('NavPic')){NavChild.style.display='block';}}NavToggle.firstChild.data=NavigationBarHide;}} function createNavigationBarToggleButton(){var indexNavigationBar=0;var divs=document.getElementsByTagName('div');for(var i=0;NavFrame=divs[i];i++){if($(NavFrame).hasClass('NavFrame')){indexNavigationBar++;var NavToggle=document.createElement('a');NavToggle.className='NavToggle';NavToggle.setAttribute('id','NavToggle'+indexNavigationBar);NavToggle.setAttribute('href','javascript:toggleNavigationBar('+indexNavigationBar+');');var isCollapsed=$(NavFrame).hasClass('collapsed');for(var NavChild=NavFrame.firstChild;NavChild!=null&&!isCollapsed;NavChild=NavChild.nextSibling){if($(NavChild).hasClass('NavPic')||$(NavChild).hasClass('NavContent')){if(NavChild.style.display=='none'){isCollapsed=true;}}}if(isCollapsed){for(var NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if($(NavChild).hasClass('NavPic')||$(NavChild).hasClass('NavContent')){NavChild.style.display='none';}}}var NavToggleText=document.createTextNode(isCollapsed?NavigationBarShow:NavigationBarHide); NavToggle.appendChild(NavToggleText);for(var j=0;j