mw.loader.using(['mediawiki.util','mediawiki.notify','jquery.client'],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');}}}mw.log.deprecate(window,'addPortletLink',function(){return mw.util.addPortletLink.apply(mw.util,arguments);},'Use mw.util.addPortletLink() instead');mw.log.deprecate(window,'getURLParamValue',function(){return mw.util. getParamValue.apply(mw.util,arguments);},'Use mw.util.getParamValue() instead');mw.log.deprecate(window,'hasClass',function(element,className){return $(element).hasClass(className);},'Use jQuery.hasClass() instead');var extraCSS=mw.util.getParamValue('withCSS');if(extraCSS){if(extraCSS.match(/^MediaWiki:[^&<>=%#]*\.css$/)){importStylesheet(extraCSS);}else{mw.notify('Only pages from the MediaWiki namespace are allowed.',{title:'Invalid withCSS value'});}}var extraJS=mw.util.getParamValue('withJS');if(extraJS){if(extraJS.match(/^MediaWiki:[^&<>=%#]*\.js$/)){importScript(extraJS);}else{mw.notify('Only pages from the MediaWiki namespace are allowed.',{title:'Invalid withJS value'});}}if(mw.config.get('wgAction')==='edit'||mw.config.get('wgAction')==='submit'||mw.config.get('wgCanonicalSpecialPageName')==='Upload'){importScript('MediaWiki:Common.js/edit.js');}else if(mw.config.get('wgCanonicalSpecialPageName')==='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(){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');}});})();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'))){window.collapseTable(i);}else if($(NavigationBoxes[i]).hasClass('innercollapse')){var element=NavigationBoxes[i];while((element=element.parentNode)){if($(element).hasClass('outercollapse')){window.collapseTable(i);break;}}}}}mw.hook('wikipage.content').add(createCollapseButtons);var NavigationBarHide='['+collapseCaption+']';var NavigationBarShow='['+expandCaption+']';window.toggleNavigationBar=function(indexNavigationBar,event){var NavToggle=document.getElementById('NavToggle'+indexNavigationBar);var NavFrame=document.getElementById('NavFrame'+indexNavigationBar);var NavChild;if(!NavFrame||!NavToggle){return false;}if(NavToggle.firstChild.data===NavigationBarHide){for(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(NavChild=NavFrame.firstChild;NavChild!=null;NavChild=NavChild.nextSibling){if($(NavChild).hasClass('NavContent')||$(NavChild).hasClass('NavPic')){NavChild.style.display='block';}}NavToggle.firstChild.data=NavigationBarHide;}event.preventDefault();};function createNavigationBarToggleButton(){var indexNavigationBar=0;var NavFrame;var NavChild;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','#');$(NavToggle).on('click',$.proxy(window.toggleNavigationBar,window,indexNavigationBar));var isCollapsed=$(NavFrame).hasClass( 'collapsed');for(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(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