mw.loader.implement("ext.cite",function(){(function(mw,$){'use strict';mw.hook('wikipage.content').add(function($content){var accessibilityLabelOne=mw.msg('cite_references_link_accessibility_label'),accessibilityLabelMany=mw.msg('cite_references_link_many_accessibility_label');$content.find('.mw-cite-backlink').each(function(){var $links=$(this).find('a'),label;if($links.length>1){label=accessibilityLabelMany;}else{label=accessibilityLabelOne;}$links.eq(0).prepend($('<span>').addClass('cite-accessibility-label').text(label+' '));});});})(mediaWiki,jQuery);;},{"css":[".cite-accessibility-label{position:absolute !important; top:-99999px;clip:rect(1px 1px 1px 1px); clip:rect(1px,1px,1px,1px);padding:0 !important;border:0 !important;height:1px !important;width:1px !important;overflow:hidden}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:6989008023386f50501783f5c5ff5345 */"]},{"cite_references_link_accessibility_label":"\u8df3\u8f6c",
"cite_references_link_many_accessibility_label":"\u8df3\u8f6c\u5230\uff1a"});mw.loader.implement("ext.eventLogging",function(){(function(mw,$,console){'use strict';function ValidationError(message){this.message=message;}ValidationError.prototype=new Error();var self=mw.eventLog={schemas:{},warn:console&&$.isFunction(console.warn)?$.proxy(console.warn,console):mw.log,declareSchema:function(schemaName,meta){if(self.schemas.hasOwnProperty(schemaName)){self.warn('Clobbering existing "'+schemaName+'" schema');}self.schemas[schemaName]=$.extend(true,{revision:-1,schema:{properties:{}},defaults:{}},self.schemas[schemaName],meta);return self.schemas[schemaName];},isInstanceOf:function(value,type){if(value===undefined||value===null){return false;}switch(type){case'string':return typeof value==='string';case'timestamp':return value instanceof Date||(typeof value==='number'&&value>=0&&value%1===0);case'boolean':return typeof value==='boolean';case'integer':return typeof value==='number'&&value%1
===0;case'number':return typeof value==='number'&&isFinite(value);default:return false;}},isValid:function(event,schemaName){try{self.assertValid(event,schemaName);return true;}catch(e){if(!(e instanceof ValidationError)){throw e;}self.warn('Validation error against schema '+schemaName+': '+e.message);return false;}},assertValid:function(event,schemaName){var schema=self.schemas[schemaName]||null,props=schema.schema.properties,prop;if($.isEmpty(props)){throw new ValidationError('Unknown schema: '+schemaName);}for(prop in event){if(props[prop]===undefined){throw new ValidationError('Unrecognized property: '+prop);}}$.each(props,function(prop,desc){var val=event[prop];if(val===undefined){if(desc.required){throw new ValidationError('Missing property: '+prop);}return true;}if(!(self.isInstanceOf(val,desc.type))){throw new ValidationError('Wrong type for property: '+prop+' '+val);}if(desc['enum']&&$.inArray(val,desc['enum'])===-1){throw new ValidationError('Value "'+val+'" for property: '+
prop+' not in enum '+$.toJSON(desc['enum']));}});return true;},setDefaults:function(schemaName,schemaDefaults){var schema=self.schemas[schemaName];if(schema===undefined){self.warn('Setting defaults on unknown schema "'+schemaName+'"');schema=self.declareSchema(schemaName);}return $.extend(true,schema.defaults,schemaDefaults);},prepare:function(schemaName,event){var prop,schema=self.schemas[schemaName];if(schema===undefined){self.warn('Got event with unknown schema "'+schemaName+'"');schema=self.declareSchema(schemaName);}event=$.extend(true,{},schema.defaults,event);for(prop in event){if(typeof event[prop]==='function'){event[prop]=event[prop].call(event);}}return{event:event,clientValidated:self.isValid(event,schemaName),revision:schema.revision,schema:schemaName,webHost:window.location.hostname,wiki:mw.config.get('wgDBname')};},dispatch:function(data){var beacon=document.createElement('img'),baseUri=mw.config.get('wgEventLoggingBaseUri'),dfd=$.Deferred();if(!baseUri){dfd.rejectWith(
data,[data]);return dfd.promise();}$(beacon).on('error',function(){dfd.resolveWith(data,[data]);});beacon.src=baseUri+'?'+encodeURIComponent($.toJSON(data))+';';return dfd.promise();},logEvent:function(schemaName,eventInstance){return self.dispatch(self.prepare(schemaName,eventInstance));}};self.setSchema=self.declareSchema;if(!mw.config.get('wgEventLoggingBaseUri')){self.warn('"$wgEventLoggingBaseUri" is not set.');}}(mediaWiki,jQuery,window.console));;},{},{});mw.loader.implement("ext.navigationTiming",function(){(function(mw,$){'use strict';var timing=window.performance?performance.timing:null;function inSample(){var factor=mw.config.get('wgNavigationTimingSamplingFactor');if(!$.isNumeric(factor)||factor<1){return false;}return Math.floor(Math.random()*factor)===0;}function isCompliant(){var attr,current,last=0,order=['loadEventEnd','loadEventStart','domContentLoadedEventEnd','domContentLoadedEventStart','domInteractive','responseEnd','responseStart','requestStart','connectEnd',
'connectStart'];while((attr=order.pop())!==undefined){current=timing[attr];if(current<0||current<last){return false;}last=current;}return true;}function emitTiming(){var navStart=timing.navigationStart||timing.fetchStart,event={userAgent:navigator.userAgent,isHttps:location.protocol==='https:',isAnon:mw.config.get('wgUserId')===null},page={pageId:mw.config.get('wgArticleId'),revId:mw.config.get('wgCurRevisionId'),action:mw.config.get('wgAction')};if($.isPlainObject(window.Geo)&&typeof Geo.country==='string'){event.originCountry=Geo.country;}$.each(['connectEnd','connectStart','domComplete','domInteractive','fetchStart','loadEventEnd','loadEventStart','requestStart','responseEnd','responseStart'],function(_,marker){var measure=timing[marker]-navStart;if($.isNumeric(measure)&&measure>0){event[marker]=measure;}});if(timing.domainLookupStart){event.dnsLookup=timing.domainLookupEnd-timing.domainLookupStart;}if(timing.redirectStart){event.redirectCount=performance.navigation.redirectCount;
event.redirecting=timing.redirectEnd-timing.redirectStart;}if(page.revId){$.extend(event,page);}if(mw.mobileFrontend&&mw.config.exists('wgMFMode')){event.mobileMode=mw.config.get('wgMFMode');}if(isCompliant()){mw.eventLog.logEvent('NavigationTiming',event);}}if(timing&&performance.navigation.type===0&&inSample()&&!/Firefox\/[78]/.test(navigator.userAgent)){$(window).load(function(){setTimeout(emitTiming,0);});}}(mediaWiki,jQuery));;},{},{});mw.loader.implement("ext.gadget.AdvancedSiteNotices",function(){(function($,mw){$(function(){if(typeof(window.customASNInterval)=='undefined'){window.customASNInterval=15;}$(function(){if(window.closeASNForever||wgAction=='edit'||wgAction=='submit'){return;}var ln=$('#siteNotice');if(!ln.length){return;}var cname='dismissASN';var cval=$.cookie(cname);if(cval==''){cval=-1;}var rev=0;var toid=null;var tb=$('<table id="asn-dismissable-notice" width="100%" style="background: transparent;"/>');var ct=$('<div id="advancedSiteNotices"/>');var sd=$(
'<a href="#">'+wgULS('关闭','關閉')+'</a>');tb.append($('<tr/>').append($('<td/>').append(ct)).append($('<td/>').append('[').append(sd).append(']')));var nts=null;sd.click(function(){$.cookie(cname,rev,{expires:30,path:'/'});clearTimeout(toid);tb.remove();return false;});var matchCriteria=function(nt){var cache=nt.data('asn-cache');if(cache!==undefined){return cache;}var criteria=nt.attr('data-asn-criteria');if(criteria===undefined){criteria=nt.attr('class')?'false':'true';if(nt.hasClass('only_sysop')){criteria+='||in_group("sysop")';}if(nt.hasClass('only_logged')){criteria+='||in_group("user")';}if(nt.hasClass('only_anon')){criteria+='||!in_group("user")';}if(nt.hasClass('only_zh_cn')){criteria+='||in_country("CN")';}if(nt.hasClass('only_zh_hk')){criteria+='||in_country("HK")||in_country("MO")';}if(nt.hasClass('only_zh_sg')){criteria+='||in_country("SG")||in_country("MY")';}if(nt.hasClass('only_zh_tw')){criteria+='||in_country("TW")';}}else{criteria=decodeURIComponent(criteria.
replace(/\+/g,'%20'))
criteria=$.trim(criteria);}if(criteria===''){criteria='true';}var testCriteria=function(){var in_country=function(country){return Geo&&Geo.country===country;},in_city=function(city){return Geo&&Geo.city===city;},in_group=function(group){return $.inArray(group,mw.config.get('wgUserGroups'))>-1;};return eval(criteria);};cache=testCriteria();nt.data('asn-cache',cache);return cache;};var loadNotices=function(pos){if(!tb.length){return;}ct.css('min-height',ct.height()+'px');var l=nts.length;var nt=null;var rt=0;while(rt++<l){nt=$(nts[pos]);if(matchCriteria(nt)){break;}pos=(pos+1)%l;}if(rt>=l){return;}nt=nt.html();var cthtml=ct.html();if(cthtml){if(cthtml!==nt){ct.stop().fadeOut(function(){ct.html(nt).fadeIn();});}}else if(rev==cval){return;}else{$.cookie(cname,null);tb.appendTo(ln);ct.html(nt).fadeIn();}toid=setTimeout(function(){loadNotices((pos+1)%l);},window.customASNInterval*1000);};$.get(mw.util.wikiScript('api'),{page:'Template:AdvancedSiteNotices/ajax',variant:wgUserVariant,prop:
'text',action:'parse',format:'json',maxage:3600,smaxage:3600},function(d){d=$('<div />').html(d.parse.text['*']).find('ul.sitents');nts=$('li',d);rev=d.data('asn-version');var l=nts.length;loadNotices(Math.floor(Math.random()*l));});});});})(jQuery,mediaWiki);;},{},{});mw.loader.implement("ext.gadget.NavFrame",function(){(function(){var collapseCaption=wgULS('隐藏','隱藏');var expandCaption=wgULS('显示','顯示');var navigationBarHide=collapseCaption+'▲';var navigationBarShow=expandCaption+'▼';function toggleNavigationBar(indexNavigationBar,e){var toggle=$('#NavToggle'+indexNavigationBar),frame=$('#NavFrame'+indexNavigationBar),isFrameCollapsed=frame.hasClass('collapsed');if(!frame||!toggle){return false;}if(isFrameCollapsed){frame.find('.NavPic, .NavContent').each(function(){$(this).css('display','block');});frame.find('.toggleShow').each(function(){$(this).css('display','block');});frame.find('.toggleHide').each(function(){$(this).css('display','none');});toggle.text(
navigationBarHide);frame.removeClass('collapsed');}else{frame.find('.NavPic, .NavContent').each(function(){$(this).css('display','none');});frame.find('.toggleShow').each(function(){$(this).css('display','none');});frame.find('.toggleHide').each(function(){$(this).css('display','block');});toggle.text(navigationBarShow);frame.addClass('collapsed');}}function createNavigationBarToggleButton($content){$content.find('div.NavFrame').each(function(indexNavigationBar){var frame=$(this).attr('id','NavFrame'+indexNavigationBar);var navToggle=$('<span class="NavToggle" id="NavToggle'+indexNavigationBar+'"></span>');frame.find('.NavHead').each(function(){$(this).on('click',$.proxy(toggleNavigationBar,null,indexNavigationBar));});if(frame.hasClass('collapsed')){frame.find('.NavPic, .NavContent').each(function(){$(this).css('display','none');});frame.find('.toggleHide').each(function(){$(this).css('display','none');});}else{frame.find('.toggleShow').each(function(){$(this).css('display','none');})
;}var showNavigationBarHide=true;frame.find('.NavPic, .NavContent').each(function(){if($(this).css('display')==='none'){showNavigationBarHide=false;return false;}});navToggle.text(showNavigationBarHide?navigationBarHide:navigationBarShow);frame.find('.NavHead').each(function(){$(this).append(navToggle);return false;});});}mw.hook('wikipage.content').add(createNavigationBarToggleButton);}());;},{"css":[
"div.Boxmerge,div.NavFrame{margin:0;padding:4px;border:1px solid #aaa;text-align:center;border-collapse:collapse;font-size:95%}div.NavContent{text-align:left}div.Boxmerge div.NavFrame,div.NavFrame + div.NavFrame,div.NavFrame + table.collapsible,table.collapsible + div.NavFrame,table.collapsible + table.collapsible{border-top-style:none;border-top-style:hidden}div.NavPic{background-color:#fff;margin:0;padding:2px; float:left}div.NavFrame div.NavHead{height:1.6em;font-weight:bold;background-color:#ccf;position:relative;cursor:pointer}div.NavFrame p,div.NavFrame div.NavContent,div.NavFrame div.NavContent p{font-size:100%}div.NavEnd{margin:0;padding:0;line-height:1px;clear:both}span.NavToggle{position:absolute;top:0; right:3px;font-weight:normal;font-size:90%}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:006252a1be8f9e2e7afa4d6484be3f08 */"]},{});mw.loader.implement("ext.gadget.ReferenceTooltips",function(){},{"css":[
".referencetooltip{position:absolute;list-style:none;list-style-image:none;opacity:0;margin:0;z-index:5;padding:0}.referencetooltip li{border:#3366bb 2px solid;max-width:260px;padding:10px 8px 13px 8px;margin:0px;background-color:#F8F8F8;box-shadow:2px 4px 2px rgba(0,0,0,0.3);-moz-box-shadow:2px 4px 2px rgba(0,0,0,0.3);-webkit-box-shadow:2px 4px 2px rgba(0,0,0,0.3)}.referencetooltip li+li{margin-left:7px;margin-top:-2px;border:0;padding:0;height:3px;width:0px;background-color:transparent;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;border-top:12px #3366bb solid;border-right:7px transparent solid;border-left:7px transparent solid}.referencetooltip\u003Eli+li::after{content:'';border-top:8px #F8F8F8 solid;border-right:5px transparent solid;border-left:5px transparent solid;margin-top:-12px;margin-left:-5px;z-index:1;height:0px;width:0px;display:block}.client-js .referencetooltip li ul li{border:none;box-shadow:none;-moz-box-shadow:none;-webkit-box-shadow:none;height:auto;width:auto;margin:auto;padding:0;position:static}.RTflipped{padding-top:13px}.referencetooltip.RTflipped li+li{position:absolute;top:2px;border-top:0;border-bottom:12px #3366bb solid}.referencetooltip.RTflipped li+li::after{border-top:0;border-bottom:8px #F8F8F8 solid;position:absolute;margin-top:7px}.RTsettings{float:right;height:16px;width:16px;cursor:pointer;background-image:url(//upload.wikimedia.org/wikipedia/commons/e/ed/Cog.png);margin-top:-9px;margin-right:-7px;-webkit-transition:opacity 0.15s;-moz-transition:opacity 0.15s;-o-transition:opacity 0.15s;-ms-transition:opacity 0.15s;transition:opacity 0.15s;opacity:0.6;filter:alpha(opacity=60)}.RTsettings:hover{opacity:1;filter:alpha(opacity=100)}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:9d68a3333fe58f34249842f31efbd05a */"
]},{});mw.loader.implement("ext.gadget.WikiMiniAtlas",function(){mw.loader.load('//meta.wikimedia.org/w/index.php?title=MediaWiki:Wikiminiatlas.js&action=raw&ctype=text/javascript&smaxage=21600&maxage=86400');;},{},{});mw.loader.implement("ext.gadget.collapsibleTables",function(){var autoCollapse=2;var collapseCaption=wgULS('隐藏','隱藏');var expandCaption=wgULS('显示','顯示');function collapseTable(tableIndex){var Button=document.getElementById('collapseButton'+tableIndex);var Table=document.getElementById('collapsibleTable'+tableIndex);if(!Table||!Button){return false;}var Rows=Table.rows;if(Button.firstChild.data==collapseCaption){for(var i=1;i<Rows.length;i++){Rows[i].style.display='none';}Button.firstChild.data=expandCaption;}else{for(var i=1;i<Rows.length;i++){Rows[i].style.display=Rows[0].style.display;}Button.firstChild.data=collapseCaption;}}function createClickHandler(tableIndex){return function(e){e.preventDefault();collapseTable(tableIndex);}}function
createCollapseButtons(){var tableIndex=0;var NavigationBoxes={};var Tables=document.getElementsByTagName('table');for(var i=0;i<Tables.length;i++){if($(Tables[i]).hasClass('collapsible')){var HeaderRow=Tables[i].getElementsByTagName('tr')[0];if(!HeaderRow){continue;}var Header=HeaderRow.getElementsByTagName('th')[0];if(!Header){continue;}NavigationBoxes[tableIndex]=Tables[i];Tables[i].setAttribute('id','collapsibleTable'+tableIndex);var Button=document.createElement('span');var ButtonLink=document.createElement('a');var ButtonText=document.createTextNode(collapseCaption);Button.style.styleFloat='right';Button.style.cssFloat='right';Button.style.fontWeight='normal';Button.style.textAlign='right';Button.style.width='6em';ButtonLink.style.color=Header.style.color;ButtonLink.setAttribute('id','collapseButton'+tableIndex);$(ButtonLink).on('click',createClickHandler(tableIndex));ButtonLink.appendChild(ButtonText);Button.appendChild(document.createTextNode('['));Button.appendChild(ButtonLink)
;Button.appendChild(document.createTextNode(']'));Header.insertBefore(Button,Header.childNodes[0]);tableIndex++;}}for(var i=0;i<tableIndex;i++){if($(NavigationBoxes[i]).hasClass('collapsed')||(tableIndex>=autoCollapse&&$(NavigationBoxes[i]).hasClass('autocollapse'))){collapseTable(i);}}}$(createCollapseButtons);;},{},{});mw.loader.implement("ext.gadget.edit0",function(){if($.inArray(mw.config.get('wgAction'),['view','purge'])!==-1&&mw.config.get('wgNamespaceNumber')>=0){$(function edittop_hook(){var localtitles={cs:'Editovat úvodní sekci',en:'Edit lead section',fa:'ویرایش بخش آغازین',fr:'Modifier le résumé introductif',id:'Sunting bagian atas',it:'Modifica della sezione iniziale',ja:'導入部を編集',min:'Suntiang bagian ateh',ko:'도입부를 편집',pa:'ਸੋਧ',pt:'Editar a seção superior','pt-br':'Editar a seção superior',sr:'Уреди уводни део',vi:'Sửa phần mở đầu'};localtitles['zh']=localtitles['zh-hans']=localtitles['zh-cn']=
localtitles['zh-sg']=localtitles['zh-my']='编辑首段';localtitles['zh-hant']=localtitles['zh-hk']=localtitles['zh-mo']=localtitles['zh-tw']='編輯首段';var our_content=$("#content, #mw_content").first();var span1=our_content.find("span.mw-editsection:not(.plainlinks)").first();if(!span1.length){return;}var span0=span1.clone();if(mw.user.options.get('gadget-moveEditsectionBack')==1){var editwidth=span1.outerWidth()+(mw.config.get("skin")=="monobook"?10:0);$("div.topicon, #mw-fr-revisiontag").css("margin-right",editwidth+"px");}$("#mw_header h1, #content h1").first().append(span0);span0.find("a").each(function(idx){var a=$(this);a.attr("title",localtitles[mw.config.get('wgUserLanguage')]||localtitles.en);if(a.attr("href").indexOf("&section=T")==-1){a.attr("href",a.attr("href").replace(/&section=\d+/,"&section=0"));}else{a.attr("href",mw.util.wikiGetlink(mw.config.get('wgPageName'))+"?action=edit&section=0");}});});};},{"css":[
"body.ltr .mw-editsection-expanded .mw-editsection-bracket:first-of-type,body.rtl .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type){margin-left:-0.25em;margin-right:0.25em;color:#555} body.rtl .mw-editsection-expanded .mw-editsection-bracket:first-of-type,body.ltr .mw-editsection-expanded .mw-editsection-bracket:not(:first-of-type){margin-right:-0.25em;margin-left:0.25em;color:#555}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:09496fd183bf468f469995d076a87381 */"]},{});mw.loader.implement("ext.gadget.hideConversionTab",function(){},{"css":["li#ca-0,li#ca-1,li#ca-2,li#ca-varlang-0,li#ca-varlang-1,li#ca-varlang-2{display:none}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:fec60c1718d433fb205c57d29eb01aeb */"]},{});mw.loader.implement("ext.gadget.internalLinkHelper-altcolor",function(){(function($,mw){$(function(){$('.ilh-all',mw.util.$content).each(function(){var exta=$('.ilh-link',this),$a=$('.ilh-page a',this);var that=this,$that=$(this),
entercount=0;if(exta.length==0)return;var mouseleave=function(){var hidecount=entercount;setTimeout(function(){if(entercount==hidecount){$a.tipsy('hide');$that.removeClass('ilh-active');}},500);},mouseenter=function(){entercount++;if($a.tipsy('tip').parent('body').length==0){$('.ilh-all',mw.util.$content).each(function(){if($('.ilh-link',this).length==0)return;$ai=$('.ilh-page a',this);if($ai.get(0)!=$a.get(0)){$ai.tipsy('hide');}});$that.addClass('ilh-active');$a.tipsy('show');$a.tipsy('tip').mouseenter(mouseenter).mouseleave(mouseleave);}};var title=$a.attr('title')||$a.attr('original-title');if(title){title=title.replace(($a.hasClass('new')?/ ?(（[^（）]+）|\([^\(\)]+\))$/:''),'');}else{title=$a.text();}$a.tipsy({className:'ilh-tipsy',gravity:'nw',html:true,trigger:'manual',title:function(){return'<div>'+wgULS('条目“','條目「')+title+wgULS('”尚未创建，可参考','」尚未創建，可參考')+$('.ilh-lang',that).text()+wgULS('维基百科的对应页面：',
'維基百科的對應頁面：')+$('.ilh-link',that).html()+'。</div>';}}).mouseleave(mouseleave).mouseenter(mouseenter);});});})(jQuery,mediaWiki);;},{"css":[".ilh-comment{display:none}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:984bb5968ae4b719f99236cc6982ff35 */",".ilh-tipsy .tipsy-inner{max-width:none}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:e9ab7bdebd44dc48bf0d6c719a4ceef0 */",".ilh-page a.new{color:#009999}.client-nojs .ilh-page a.new,.ilh-active .ilh-page a.new{color:#BA0000}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:9b501f4a9f4b8342f0ed8a948b7bb29b */"]},{});mw.loader.implement("ext.gadget.large-font",function(){},{"css":[
"#mw-content-text,.ve-ce-documentNode{font-size:1.15em !important}#mw-content-text .rellink,.ve-ce-documentNode .rellink{font-size:.87em} .skin-vector #mp-2012-banner{margin:0 -1.087em; }@media screen and (min-width:982px){.skin-vector #mp-2012-banner{margin:0 -1.630em; }}.skin-monobook #mp-2012-banner{margin:0 -.87em; }\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:7c91038f04073776235a4dc1a149a288 */"]},{});mw.loader.implement("ext.gadget.noteTA",function(){(function($,mw){$(function(){var $dialog=null;var api=null;var init=function(){$dialog=$('<div id="noteTA-dialog" />');$dialog.html('<div class="mw-ajax-loader" style="margin-top: 48px;" />');$dialog.dialog({title:wgULS('字词转换','字詞轉換')});api=new mw.Api();run();},run=function(){var wikitext='';var $dom=$('#noteTA');var collapse=true;var $noteTAtitle=$dom.find('#noteTA-title');if($noteTAtitle.length){var titleConv=decodeURIComponent($noteTAtitle.attr('data-noteta-code').replace(/\+/g,'%20'));var titleDesc=
$noteTAtitle.attr('data-noteta-desc');if(titleDesc){titleDesc='（'+decodeURIComponent(titleDesc.replace(/\+/g,'%20'))+'）';}else{titleDesc='';}wikitext+='<span style="float: right;">{{edit|'+mw.config.get('wgPageName')+'|section=0}}</span>\n';wikitext+='; 本文使用[[Help:中文维基百科的繁简、地区词处理#條目標題|标题手工转换]]\n';wikitext+='* 转换标题为：-{D|'+titleConv+'}-'+titleDesc+'\n';wikitext+='* 实际标题为：-{'+mw.config.get('wgPageName').replace(/_/g,' ')+'}-；当前显示为：-{'+titleConv+'}-\n';}var $noteTAgroups=$dom.find('#noteTA-group > *[id^="noteTA-group-"]');if($noteTAgroups.length>1){collapse=true;}$noteTAgroups.each(function(){var $this=$(this);if($this.hasClass('noteTA-missing')){wikitext+='; 本文使用的公共转换组“'+$this.attr('data-noteta-group')+'”尚未创建\n';wikitext+='* {{edit|Template:CGroup/'+$this.attr('data-noteta-group')+'|创建公共转换组“'+$this.attr('data-noteta-group')+'”}}\n';}else{
wikitext+='{{CGroup/'+$this.attr('data-noteta-group')+'}}\n';}});var $noteTAlocal=$dom.find('#noteTA-local');if($noteTAlocal.length){collapse=true;wikitext+='<span style="float: right;">{{edit|'+mw.config.get('wgPageName')+'|section=0}}</span>\n';wikitext+='; 本文使用[[Help:中文维基百科的繁简、地区词处理#控制自动转换的代碼|全文手工转换]]\n';var $noteTAlocals=$noteTAlocal.children('*[id^="noteTA-local-"]');$noteTAlocals.each(function(){var $this=$(this);var localConv=decodeURIComponent($this.attr('data-noteta-code').replace(/\+/g,'%20'));var localDesc=$this.attr('data-noteta-desc');if(localDesc){localDesc='（'+decodeURIComponent(localDesc.replace(/\+/g,'%20'))+'）';}else{localDesc='';}wikitext+='* -{D|'+localConv+'}-'+localDesc+'当前显示为：-{'+localConv+'}-\n';});}wikitext+='----\n';wikitext+='; [[Help:中文维基百科的繁简、地区词处理|字词转换]]说明\n';wikitext+=
': 字詞轉換是中文维基的一項自動轉換，目的是通過-{zh-hans:计算机程序; zh-hant:電腦程式}-自動消除繁简、地区词等不同<strong>用字模式</strong>的差異，以達到閱讀方便。字詞轉換包括全局轉換和手動轉換，本說明所使用的标题转换和全文转换技術，都屬於手動轉換。\n';wikitext+=': 如果您想对我们的字词转换系统提出一些改进建议，或者提交应用面更广的转换（[[中文维基百科]]全站乃至[[MediaWiki]]软件），或者报告转换系统的错误，请前往[[Wikipedia:字词转换请求或候选]]发表您的意见。\n';var parse=function(){api.post({action:'parse',title:'Template:CGroup/-',text:wikitext,prop:'text',variant:mw.config.get('wgUserVariant')},{ok:function(results){$dialog.html(results.parse.text['*']);if(collapse){$dialog.find('.mw-collapsible').makeCollapsible();$dialog.find('.mw-collapsible-toggle').on('click.mw-collapse',function(e){var
$collapsibleContent=$(this).parent('.mw-collapsible').find('.mw-collapsible-content');setTimeout(function(){$collapsibleContent.promise().done(function(){$dialog.dialog('option','position','center');});},0);});}$dialog.dialog('option','width',Math.round($(window).width()*0.8));$dialog.css('max-height',Math.round($(window).height()*0.8)+'px');$dialog.dialog('option','position','center');},err:parse});};parse();};$('#noteTA-topicon').css('cursor','pointer').click(function(){if($dialog==null){init();}else{$dialog.dialog('open');}});});})(jQuery,mediaWiki);;},{"css":["#noteTA-dialog a{color:#3366BB}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:0523377b83b196a1491a2e0223d6766a */"]},{});mw.loader.implement("ext.gadget.noteTAvector",function(){(function($,mw){$(function(){$('#noteTA-topicon').attr('class','vectorTabs').removeAttr('style').empty().append($(
'<a href="#"><span style="padding:1px 3px; background: #d3e3f4; color:#000000;">汉</span><span style="padding:1px 3px; background: #e9e9e9; color:#434343;">漢</span></a>').click(function(e){e.preventDefault();}).wrap('<ul><li><span></span></li></ul>').parent().parent().parent()).insertAfter('#p-variants');});})(jQuery,mediaWiki);;},{"css":["#noteTA-topicon{padding-left:0}#noteTA-topicon ul li.icon span a{background-image:url(//upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Zh_conversion_icon_m.svg/34px-Zh_conversion_icon_m.svg.png);width:46px;height:0;overflow:hidden;padding:3.1em 0 0;background-position:5px 75%}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:22790a94038de3d61ff04f9010320686 */"]},{});mw.loader.implement("ext.gadget.site-lib",function(){window.wgUXS=function(wg,hans,hant,cn,tw,hk,sg,zh,mo,my){var ret={'zh':zh||hans||hant||cn||tw||hk||sg||mo||my,'zh-hans':hans||cn||sg||my,'zh-hant':hant||tw||hk||mo,'zh-cn':cn||hans||sg||my,'zh-sg':sg||hans||cn||my,'zh-tw'
:tw||hant||hk||mo,'zh-hk':hk||hant||mo||tw,'zh-mo':mo||hant||hk||tw}
return ret[wg]||zh||hans||hant||cn||tw||hk||sg||mo||my;}
window.wgULS=function(hans,hant,cn,tw,hk,sg,zh,mo,my){return wgUXS(wgUserLanguage,hans,hant,cn,tw,hk,sg,zh,mo,my);};window.wgUVS=function(hans,hant,cn,tw,hk,sg,zh,mo,my){return wgUXS(wgUserVariant,hans,hant,cn,tw,hk,sg,zh,mo,my);};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');window.importScriptCallback=function(page,ready){importScriptURICallback(wgServer+wgScript+'?title='+mw.util.wikiUrlencode(page)+'&action=raw&ctype=text/javascript',ready);};window.importScriptURICallback=jQuery.getScript;;},{},{});mw.loader.implement("ext.uls.eventlogger",function(){(function($,mw){'use strict';function
ULSEventLogger(){this.logEventQueue=$.Callbacks('memory once');this.init();this.listen();}ULSEventLogger.prototype={init:function(){var eventLogger=this;mw.eventLog.setDefaults('UniversalLanguageSelector',{version:1,token:mw.user.id(),contentLanguage:mw.config.get('wgContentLanguage'),interfaceLanguage:mw.config.get('wgUserLanguage')});eventLogger.logEventQueue.fire();},log:function(event){var deferred=$.Deferred();this.logEventQueue.add(function(){mw.eventLog.logEvent('UniversalLanguageSelector',event).done(deferred.resolve).fail(deferred.reject);});return deferred.promise();},listen:function(){mw.hook('mw.uls.settings.open').add($.proxy(this.ulsSettingsOpen,this));mw.hook('mw.uls.language.revert').add($.proxy(this.ulsLanguageRevert,this));mw.hook('mw.uls.ime.enable').add($.proxy(this.enableIME,this));mw.hook('mw.uls.ime.disable').add($.proxy(this.disableIME,this));mw.hook('mw.uls.ime.change').add($.proxy(this.changeIME,this));mw.hook('mw.uls.login.click').add($.proxy(this.loginClick,
this));mw.hook('mw.uls.ime.morelanguages').add($.proxy(this.imeMoreLanguages,this));mw.hook('mw.uls.interface.morelanguages').add($.proxy(this.interfaceMoreLanguages,this));mw.hook('mw.uls.interface.language.change').add($.proxy(this.interfaceLanguageChange,this));mw.hook('mw.uls.font.change').add($.proxy(this.fontChange,this));$('body').on('noresults.uls','.uls-menu .languagefilter',$.proxy(this.noSearchResults,this));},ulsSettingsOpen:function(context){this.log({action:'settings-open',context:context});},ulsLanguageRevert:function(deferred){this.log({action:'ui-lang-revert'}).always(deferred.resolve());},disableIME:function(context){this.log({action:'ime-disable',context:context});},enableIME:function(context){this.log({action:'ime-enable',context:context});},changeIME:function(inputMethod){this.log({action:'ime-change',inputMethod:inputMethod});},loginClick:function(deferred){this.log({action:'login-click'}).always(deferred.resolve);},imeMoreLanguages:function(){this.log({action:
'more-languages-access',context:'ime'});},interfaceLanguageChange:function(language,deferred){var logParams={action:'language-change',context:'interface',interfaceLanguage:language};if(mw.uls.languageSelectionMethod!==undefined){logParams.languageSelectionMethod=mw.uls.languageSelectionMethod;}this.log(logParams).always(deferred.resolve);},interfaceMoreLanguages:function(){this.log({action:'more-languages-access',context:'interface'});},fontChange:function(context,language,font){var logParams={action:'font-change',context:context};if(context==='interface'){$.extend(logParams,{interfaceFont:font,interfaceLanguage:language});}else{logParams.contentFont=font;}this.log(logParams);},noSearchResults:function(event,context){this.log({action:'no-search-results',context:context});}};mw.uls=mw.uls||{};mw.uls.eventlogger=new ULSEventLogger();}(jQuery,mediaWiki));;},{},{});mw.loader.implement("ext.wikimediaEvents.moduleStorage",function(){try{localStorage.removeItem('moduleStorageExperiment');}
catch(e){};},{},{});mw.loader.implement("jquery.autoEllipsis",function(){(function($){var cache={},matchTextCache={};$.fn.autoEllipsis=function(options){options=$.extend({position:'center',tooltip:false,restoreText:false,hasSpan:false,matchText:null},options);return this.each(function(){var $trimmableText,text,trimmableText,w,pw,l,r,i,side,m,$container=$(this);if(options.restoreText){if(!$container.data('autoEllipsis.originalText')){$container.data('autoEllipsis.originalText',$container.text());}else{$container.text($container.data('autoEllipsis.originalText'));}}if(options.hasSpan){$trimmableText=$container.children(options.selector);}else{$trimmableText=$('<span>').css('whiteSpace','nowrap').text($container.text());$container.empty().append($trimmableText);}text=$container.text();trimmableText=$trimmableText.text();w=$container.width();pw=0;if(options.matchText){if(!(text in matchTextCache)){matchTextCache[text]={};}if(!(options.matchText in matchTextCache[text])){matchTextCache[text
][options.matchText]={};}if(!(w in matchTextCache[text][options.matchText])){matchTextCache[text][options.matchText][w]={};}if(options.position in matchTextCache[text][options.matchText][w]){$container.html(matchTextCache[text][options.matchText][w][options.position]);if(options.tooltip){$container.attr('title',text);}return;}}else{if(!(text in cache)){cache[text]={};}if(!(w in cache[text])){cache[text][w]={};}if(options.position in cache[text][w]){$container.html(cache[text][w][options.position]);if(options.tooltip){$container.attr('title',text);}return;}}if($trimmableText.width()+pw>w){switch(options.position){case'right':l=0;r=trimmableText.length;do{m=Math.ceil((l+r)/2);$trimmableText.text(trimmableText.substr(0,m)+'...');if($trimmableText.width()+pw>w){r=m-1;}else{l=m;}}while(l<r);$trimmableText.text(trimmableText.substr(0,l)+'...');break;case'center':i=[Math.round(trimmableText.length/2),Math.round(trimmableText.length/2)];side=1;while($trimmableText.outerWidth()+pw>w&&i[0]>0){
$trimmableText.text(trimmableText.substr(0,i[0])+'...'+trimmableText.substr(i[1]));if(side===0){i[0]--;side=1;}else{i[1]++;side=0;}}break;case'left':r=0;while($trimmableText.outerWidth()+pw>w&&r<trimmableText.length){$trimmableText.text('...'+trimmableText.substr(r));r++;}break;}}if(options.tooltip){$container.attr('title',text);}if(options.matchText){$container.highlightText(options.matchText);matchTextCache[text][options.matchText][w][options.position]=$container.html();}else{cache[text][w][options.position]=$container.html();}});};}(jQuery));;},{},{});mw.loader.implement("jquery.checkboxShiftClick",function(){(function($){$.fn.checkboxShiftClick=function(){var prevCheckbox=null,$box=this;$box.click(function(e){if(prevCheckbox!==null&&e.shiftKey){$box.slice(Math.min($box.index(prevCheckbox),$box.index(e.target)),Math.max($box.index(prevCheckbox),$box.index(e.target))+1).filter(function(){return!this.disabled;}).prop('checked',!!e.target.checked);}prevCheckbox=e.target;});return $box;
};}(jQuery));;},{},{});mw.loader.implement("jquery.hidpi",function(){(function($){$.devicePixelRatio=function(){if(window.devicePixelRatio!==undefined){return window.devicePixelRatio;}else if(window.msMatchMedia!==undefined){if(window.msMatchMedia('(min-resolution: 192dpi)').matches){return 2;}else if(window.msMatchMedia('(min-resolution: 144dpi)').matches){return 1.5;}else{return 1;}}else{return 1;}};$.fn.hidpi=function(){var $target=this,devicePixelRatio=$.devicePixelRatio(),testImage=new Image();if(devicePixelRatio>1&&testImage.srcset===undefined){$target.find('img').each(function(){var $img=$(this),srcset=$img.attr('srcset'),match;if(typeof srcset==='string'&&srcset!==''){match=$.matchSrcSet(devicePixelRatio,srcset);if(match!==null){$img.attr('src',match);}}});}return $target;};$.matchSrcSet=function(devicePixelRatio,srcset){var candidates,candidate,bits,src,i,ratioStr,ratio,selectedRatio=1,selectedSrc=null;candidates=srcset.split(/ *, */);for(i=0;i<candidates.length;i++){candidate
=candidates[i];bits=candidate.split(/ +/);src=bits[0];if(bits.length>1&&bits[1].charAt(bits[1].length-1)==='x'){ratioStr=bits[1].substr(0,bits[1].length-1);ratio=parseFloat(ratioStr);if(ratio<=devicePixelRatio&&ratio>selectedRatio){selectedRatio=ratio;selectedSrc=src;}}}return selectedSrc;};}(jQuery));;},{},{});mw.loader.implement("jquery.highlightText",function(){(function($){$.highlightText={splitAndHighlight:function(node,pat){var i,patArray=pat.split(' ');for(i=0;i<patArray.length;i++){if(patArray[i].length===0){continue;}$.highlightText.innerHighlight(node,patArray[i]);}return node;},innerHighlight:function(node,pat){var i,match,pos,spannode,middlebit,middleclone;if(node.nodeType===3){match=node.data.match(new RegExp('(^|\\s)'+$.escapeRE(pat),'i'));if(match){pos=match.index+match[1].length;spannode=document.createElement('span');spannode.className='highlight';middlebit=node.splitText(pos);middlebit.splitText(pat.length);middleclone=middlebit.cloneNode(true);spannode.appendChild(
middleclone);middlebit.parentNode.replaceChild(spannode,middlebit);}}else if(node.nodeType===1&&node.childNodes&&!/(script|style)/i.test(node.tagName)&&!(node.tagName.toLowerCase()==='span'&&node.className.match(/\bhighlight/))){for(i=0;i<node.childNodes.length;++i){$.highlightText.innerHighlight(node.childNodes[i],pat);}}}};$.fn.highlightText=function(matchString){return this.each(function(){var $el=$(this);$el.data('highlightText',{originalText:$el.text()});$.highlightText.splitAndHighlight(this,matchString);});};}(jQuery));;},{},{});mw.loader.implement("jquery.makeCollapsible",function(){(function($,mw){function toggleElement($collapsible,action,$defaultToggle,options){var $collapsibleContent,$containers,hookCallback;options=options||{};if(!$collapsible.jquery){return;}if(action!=='expand'&&action!=='collapse'){return;}if($defaultToggle===undefined){$defaultToggle=null;}if($defaultToggle!==null&&!$defaultToggle.jquery){return;}$collapsible.trigger(action==='expand'?
'beforeExpand.mw-collapsible':'beforeCollapse.mw-collapsible');hookCallback=function(){$collapsible.trigger(action==='expand'?'afterExpand.mw-collapsible':'afterCollapse.mw-collapsible');};if(!options.plainMode&&$collapsible.is('table')){if($collapsible.find('> caption').length){$containers=$collapsible.find('> * > tr');}else{$containers=$collapsible.find('> tbody > tr');}if($defaultToggle){$containers=$containers.not($defaultToggle.closest('tr'));}if(action==='collapse'){if(options.instantHide){$containers.hide();hookCallback();}else{$containers.stop(true,true).fadeOut().promise().done(hookCallback);}}else{$containers.stop(true,true).fadeIn().promise().done(hookCallback);}}else if(!options.plainMode&&($collapsible.is('ul')||$collapsible.is('ol'))){$containers=$collapsible.find('> li');if($defaultToggle){$containers=$containers.not($defaultToggle.parent());}if(action==='collapse'){if(options.instantHide){$containers.hide();hookCallback();}else{$containers.stop(true,true).slideUp().
promise().done(hookCallback);}}else{$containers.stop(true,true).slideDown().promise().done(hookCallback);}}else{$collapsibleContent=$collapsible.find('> .mw-collapsible-content');if(!options.plainMode&&$collapsibleContent.length){if(action==='collapse'){if(options.instantHide){$collapsibleContent.hide();hookCallback();}else{$collapsibleContent.slideUp().promise().done(hookCallback);}}else{$collapsibleContent.slideDown().promise().done(hookCallback);}}else{if(action==='collapse'){if(options.instantHide){$collapsible.hide();hookCallback();}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeOut().promise().done(hookCallback);}else{$collapsible.slideUp().promise().done(hookCallback);}}}else{if($collapsible.is('tr')||$collapsible.is('td')||$collapsible.is('th')){$collapsible.fadeIn().promise().done(hookCallback);}else{$collapsible.slideDown().promise().done(hookCallback);}}}}}function togglingHandler($toggle,$collapsible,e,options){var wasCollapsed
,$textContainer,collapseText,expandText;if(options===undefined){options={};}if(e){if(e.type==='click'&&options.linksPassthru&&$.nodeName(e.target,'a')){return;}else if(e.type==='keypress'&&e.which!==13&&e.which!==32){return;}else{e.preventDefault();e.stopPropagation();}}if(options.wasCollapsed!==undefined){wasCollapsed=options.wasCollapsed;}else{wasCollapsed=$collapsible.hasClass('mw-collapsed');}$collapsible.toggleClass('mw-collapsed',!wasCollapsed);if(options.toggleClasses){$toggle.toggleClass('mw-collapsible-toggle-collapsed',!wasCollapsed).toggleClass('mw-collapsible-toggle-expanded',wasCollapsed);}if(options.toggleText){collapseText=options.toggleText.collapseText;expandText=options.toggleText.expandText;$textContainer=$toggle.find('> a');if(!$textContainer.length){$textContainer=$toggle;}$textContainer.text(wasCollapsed?collapseText:expandText);}toggleElement($collapsible,wasCollapsed?'expand':'collapse',$toggle,options);}$.fn.makeCollapsible=function(options){if(options===
undefined){options={};}return this.each(function(){var $collapsible,collapseText,expandText,$caption,$toggle,actionHandler,buildDefaultToggleLink,premadeToggleHandler,$toggleLink,$firstItem,collapsibleId,$customTogglers,firstval;$collapsible=$(this).addClass('mw-collapsible');if($collapsible.data('mw-made-collapsible')){return;}else{$collapsible.data('mw-made-collapsible',true);}collapseText=options.collapseText||$collapsible.attr('data-collapsetext')||mw.msg('collapsible-collapse');expandText=options.expandText||$collapsible.attr('data-expandtext')||mw.msg('collapsible-expand');actionHandler=function(e,opts){var defaultOpts={toggleClasses:true,toggleText:{collapseText:collapseText,expandText:expandText}};opts=$.extend(defaultOpts,options,opts);togglingHandler($(this),$collapsible,e,opts);};buildDefaultToggleLink=function(){return $('<a href="#"></a>').text(collapseText).wrap('<span class="mw-collapsible-toggle"></span>').parent().prepend('&nbsp;[').append(']&nbsp;').on(
'click.mw-collapsible keypress.mw-collapsible',actionHandler);};premadeToggleHandler=function(e,opts){var defaultOpts={toggleClasses:true,linksPassthru:true};opts=$.extend(defaultOpts,options,opts);togglingHandler($(this),$collapsible,e,opts);};if(options.$customTogglers){$customTogglers=$(options.$customTogglers);}else{collapsibleId=$collapsible.attr('id')||'';if(collapsibleId.indexOf('mw-customcollapsible-')===0){$customTogglers=$('.'+collapsibleId.replace('mw-customcollapsible','mw-customtoggle'));}}if($customTogglers&&$customTogglers.length){actionHandler=function(e,opts){var defaultOpts={};opts=$.extend(defaultOpts,options,opts);togglingHandler($(this),$collapsible,e,opts);};$toggleLink=$customTogglers;$toggleLink.on('click.mw-collapsible keypress.mw-collapsible',actionHandler);}else{if($collapsible.is('table')){$caption=$collapsible.find('> caption');if($caption.length){$toggle=$caption.find('> .mw-collapsible-toggle');if(!$toggle.length){$toggleLink=buildDefaultToggleLink().
appendTo($caption);}else{actionHandler=premadeToggleHandler;$toggleLink=$toggle.on('click.mw-collapsible keypress.mw-collapsible',actionHandler);}}else{$firstItem=$collapsible.find('tr:first th, tr:first td');$toggle=$firstItem.find('> .mw-collapsible-toggle');if(!$toggle.length){$toggleLink=buildDefaultToggleLink().prependTo($firstItem.eq(-1));}else{actionHandler=premadeToggleHandler;$toggleLink=$toggle.on('click.mw-collapsible keypress.mw-collapsible',actionHandler);}}}else if($collapsible.is('ul')||$collapsible.is('ol')){$firstItem=$collapsible.find('li:first');$toggle=$firstItem.find('> .mw-collapsible-toggle');if(!$toggle.length){firstval=$firstItem.attr('value');if(firstval===undefined||!firstval||firstval==='-1'||firstval===-1){$firstItem.attr('value','1');}$toggleLink=buildDefaultToggleLink();$toggleLink.wrap('<li class="mw-collapsible-toggle-li"></li>').parent().prependTo($collapsible);}else{actionHandler=premadeToggleHandler;$toggleLink=$toggle.on(
'click.mw-collapsible keypress.mw-collapsible',actionHandler);}}else{$toggle=$collapsible.find('> .mw-collapsible-toggle');if(!$collapsible.find('> .mw-collapsible-content').length){$collapsible.wrapInner('<div class="mw-collapsible-content"></div>');}if(!$toggle.length){$toggleLink=buildDefaultToggleLink().prependTo($collapsible);}else{actionHandler=premadeToggleHandler;$toggleLink=$toggle.on('click.mw-collapsible keypress.mw-collapsible',actionHandler);}}}$toggleLink.prop('tabIndex',0);if(options.collapsed||$collapsible.hasClass('mw-collapsed')){actionHandler.call($toggleLink.get(0),null,{instantHide:true,wasCollapsed:false});}});};}(jQuery,mediaWiki));;},{"css":[".mw-collapsible-toggle{float:right} caption .mw-collapsible-toggle{float:none} li .mw-collapsible-toggle{float:none} .mw-collapsible-toggle-li{list-style:none}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:a69d6f9ef6a7fa7065c5da3b52c08eb2 */"]},{"collapsible-collapse":"\u6298\u53e0","collapsible-expand":
"\u5c55\u5f00"});mw.loader.implement("jquery.mw-jump",function(){jQuery(function($){$('.mw-jump').on('focus blur','a',function(e){if(e.type==='blur'||e.type==='focusout'){$(this).closest('.mw-jump').css({height:0});}else{$(this).closest('.mw-jump').css({height:'auto'});}});});;},{},{});mw.loader.implement("jquery.placeholder",function(){(function($){var isInputSupported='placeholder'in document.createElement('input'),isTextareaSupported='placeholder'in document.createElement('textarea'),prototype=$.fn,valHooks=$.valHooks,propHooks=$.propHooks,hooks,placeholder;if(isInputSupported&&isTextareaSupported){placeholder=prototype.placeholder=function(text){var hasArgs=arguments.length;if(hasArgs){changePlaceholder.call(this,text);}return this;};placeholder.input=placeholder.textarea=true;}else{placeholder=prototype.placeholder=function(text){var $this=this,hasArgs=arguments.length;if(hasArgs){changePlaceholder.call(this,text);}$this.filter((isInputSupported?'textarea':':input')+
'[placeholder]').filter(function(){return!$(this).data('placeholder-enabled');}).bind({'focus.placeholder drop.placeholder':clearPlaceholder,'blur.placeholder':setPlaceholder}).data('placeholder-enabled',true).trigger('blur.placeholder');return $this;};placeholder.input=isInputSupported;placeholder.textarea=isTextareaSupported;hooks={'get':function(element){var $element=$(element),$passwordInput=$element.data('placeholder-password');if($passwordInput){return $passwordInput[0].value;}return $element.data('placeholder-enabled')&&$element.hasClass('placeholder')?'':element.value;},'set':function(element,value){var $element=$(element),$passwordInput=$element.data('placeholder-password');if($passwordInput){$passwordInput[0].value=value;return value;}if(!$element.data('placeholder-enabled')){element.value=value;return value;}if(!value){element.value=value;if(element!==safeActiveElement()){setPlaceholder.call(element);}}else if($element.hasClass('placeholder')){if(!clearPlaceholder.call(
element,true,value)){element.value=value;}}else{element.value=value;}return $element;}};if(!isInputSupported){valHooks.input=hooks;propHooks.value=hooks;}if(!isTextareaSupported){valHooks.textarea=hooks;propHooks.value=hooks;}$(function(){$(document).delegate('form','submit.placeholder',function(){var $inputs=$('.placeholder',this).each(clearPlaceholder);setTimeout(function(){$inputs.each(setPlaceholder);},10);});});$(window).bind('beforeunload.placeholder',function(){$('.placeholder').each(function(){this.value='';});});}function args(elem){var newAttrs={},rinlinejQuery=/^jQuery\d+$/;$.each(elem.attributes,function(i,attr){if(attr.specified&&!rinlinejQuery.test(attr.name)){newAttrs[attr.name]=attr.value;}});return newAttrs;}function clearPlaceholder(event,value){var input=this,$input=$(input);if(input.value===$input.attr('placeholder')&&$input.hasClass('placeholder')){if($input.data('placeholder-password')){$input=$input.hide().next().show().attr('id',$input.removeAttr('id').data(
'placeholder-id'));if(event===true){$input[0].value=value;return value;}$input.focus();}else{input.value='';$input.removeClass('placeholder');if(input===safeActiveElement()){input.select();}}}}function setPlaceholder(){var $replacement,input=this,$input=$(input),id=this.id;if(!input.value){if(input.type==='password'){if(!$input.data('placeholder-textinput')){try{$replacement=$input.clone().attr({'type':'text'});}catch(e){$replacement=$('<input>').attr($.extend(args(this),{'type':'text'}));}$replacement.removeAttr('name').data({'placeholder-password':$input,'placeholder-id':id}).bind('focus.placeholder drop.placeholder',clearPlaceholder);$input.data({'placeholder-textinput':$replacement,'placeholder-id':id}).before($replacement);}$input=$input.removeAttr('id').hide().prev().attr('id',id).show();}$input.addClass('placeholder');$input[0].value=$input.attr('placeholder');}else{$input.removeClass('placeholder');}}function safeActiveElement(){try{return document.activeElement;}catch(err){}}
function changePlaceholder(text){var hasArgs=arguments.length,$input=this;if(hasArgs){if($input.attr('placeholder')!==text){$input.prop('placeholder',text);if($input.hasClass('placeholder')){$input[0].value=text;}}}}}(jQuery));;},{},{});mw.loader.implement("jquery.suggestions",function(){(function($){$.suggestions={cancel:function(context){if(context.data.timerID!==null){clearTimeout(context.data.timerID);}if($.isFunction(context.config.cancel)){context.config.cancel.call(context.data.$textbox);}},restore:function(context){context.data.$textbox.val(context.data.prevText);},update:function(context,delayed){function maybeFetch(){if(context.data.$textbox.val().length===0){context.data.$container.hide();context.data.prevText='';}else if(context.data.$textbox.val()!==context.data.prevText||!context.data.$container.is(':visible')){if(typeof context.config.fetch==='function'){context.data.prevText=context.data.$textbox.val();context.config.fetch.call(context.data.$textbox,context.data.
$textbox.val());}}}$.suggestions.cancel(context);if(delayed){context.data.timerID=setTimeout(maybeFetch,context.config.delay);}else{maybeFetch();}$.suggestions.special(context);},special:function(context){if(typeof context.config.special.render==='function'){setTimeout(function(){var $special=context.data.$container.find('.suggestions-special');context.config.special.render.call($special,context.data.$textbox.val(),context);},1);}},configure:function(context,property,value){var newCSS,$autoEllipseMe,$result,$results,childrenWidth,i,expWidth,matchedText,maxWidth,text;switch(property){case'fetch':case'cancel':case'special':case'result':case'$region':case'expandFrom':context.config[property]=value;break;case'suggestions':context.config[property]=value;if(context.data!==undefined){if(context.data.$textbox.val().length===0){context.data.$container.hide();}else{context.data.$container.show();newCSS={top:context.config.$region.offset().top+context.config.$region.outerHeight(),bottom:'auto',
width:context.config.$region.outerWidth(),height:'auto'};context.config.expandFrom=(function(expandFrom){var regionWidth,docWidth,regionCenter,docCenter,docDir=$(document.documentElement).css('direction'),$region=context.config.$region;if(context.config.positionFromLeft){expandFrom='left';}else if($.inArray(expandFrom,['left','right','start','end','auto'])===-1){expandFrom='auto';}if(expandFrom==='auto'){if($region.data('searchsuggest-expand-dir')){expandFrom=$region.data('searchsuggest-expand-dir');}else{regionWidth=$region.outerWidth();docWidth=$(document).width();if((regionWidth/docWidth)>0.85){expandFrom='start';}else{regionCenter=$region.offset().left+regionWidth/2;docCenter=docWidth/2;if(Math.abs(regionCenter-docCenter)/docCenter<0.10){expandFrom='start';}else{expandFrom=regionCenter>docCenter?'right':'left';}}}}if(expandFrom==='start'){expandFrom=docDir==='rtl'?'right':'left';}else if(expandFrom==='end'){expandFrom=docDir==='rtl'?'left':'right';}return expandFrom;}(context.
config.expandFrom));if(context.config.expandFrom==='left'){newCSS.left=context.config.$region.offset().left;newCSS.right='auto';}else{newCSS.left='auto';newCSS.right=$(document).width()-(context.config.$region.offset().left+context.config.$region.outerWidth());}context.data.$container.css(newCSS);$results=context.data.$container.children('.suggestions-results');$results.empty();expWidth=-1;$autoEllipseMe=$([]);matchedText=null;for(i=0;i<context.config.suggestions.length;i++){text=context.config.suggestions[i];$result=$('<div>').addClass('suggestions-result').attr('rel',i).data('text',context.config.suggestions[i]).mousemove(function(){context.data.selectedWithMouse=true;$.suggestions.highlight(context,$(this).closest('.suggestions-results .suggestions-result'),false);}).appendTo($results);if(typeof context.config.result.render==='function'){context.config.result.render.call($result,context.config.suggestions[i],context);}else{$result.append($('<span>').css('whiteSpace','nowrap').text(
text));}if(context.config.highlightInput){matchedText=context.data.prevText;}childrenWidth=$result.children().outerWidth();if(childrenWidth>$result.width()&&childrenWidth>expWidth){expWidth=childrenWidth+(context.data.$container.width()-$result.width());}$autoEllipseMe=$autoEllipseMe.add($result);}if(expWidth>context.data.$container.width()){maxWidth=context.config.maxExpandFactor*context.data.$textbox.width();context.data.$container.width(Math.min(expWidth,maxWidth));}$autoEllipseMe.autoEllipsis({hasSpan:true,tooltip:true,matchText:matchedText});}}break;case'maxRows':context.config[property]=Math.max(1,Math.min(100,value));break;case'delay':context.config[property]=Math.max(0,Math.min(1200,value));break;case'maxExpandFactor':context.config[property]=Math.max(1,value);break;case'submitOnClick':case'positionFromLeft':case'highlightInput':context.config[property]=value?true:false;break;}},highlight:function(context,result,updateTextbox){var selected=context.data.$container.find(
'.suggestions-result-current');if(!result.get||selected.get(0)!==result.get(0)){if(result==='prev'){if(selected.hasClass('suggestions-special')){result=context.data.$container.find('.suggestions-result:last');}else{result=selected.prev();if(!(result.length&&result.hasClass('suggestions-result'))){result=selected.parents('.suggestions-results > *').prev().find('.suggestions-result').eq(0);}if(selected.length===0){if(context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}else{result=context.data.$container.find('.suggestions-results .suggestions-result:last');}}}}else if(result==='next'){if(selected.length===0){result=context.data.$container.find('.suggestions-results .suggestions-result:first');if(result.length===0&&context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}}else{result=selected.next();if(!(result.length&&result.hasClass(
'suggestions-result'))){result=selected.parents('.suggestions-results > *').next().find('.suggestions-result').eq(0);}if(selected.hasClass('suggestions-special')){result=$([]);}else if(result.length===0&&context.data.$container.find('.suggestions-special').html()!==''){result=context.data.$container.find('.suggestions-special');}}}selected.removeClass('suggestions-result-current');result.addClass('suggestions-result-current');}if(updateTextbox){if(result.length===0||result.is('.suggestions-special')){$.suggestions.restore(context);}else{context.data.$textbox.val(result.data('text'));context.data.$textbox.change();}context.data.$textbox.trigger('change');}},keypress:function(e,context,key){var selected,wasVisible=context.data.$container.is(':visible'),preventDefault=false;switch(key){case 40:if(wasVisible){$.suggestions.highlight(context,'next',true);context.data.selectedWithMouse=false;}else{$.suggestions.update(context,false);}preventDefault=true;break;case 38:if(wasVisible){$.
suggestions.highlight(context,'prev',true);context.data.selectedWithMouse=false;}preventDefault=wasVisible;break;case 27:context.data.$container.hide();$.suggestions.restore(context);$.suggestions.cancel(context);context.data.$textbox.trigger('change');preventDefault=wasVisible;break;case 13:context.data.$container.hide();preventDefault=wasVisible;selected=context.data.$container.find('.suggestions-result-current');if(selected.length===0||context.data.selectedWithMouse){$.suggestions.cancel(context);context.config.$region.closest('form').submit();}else if(selected.is('.suggestions-special')){if(typeof context.config.special.select==='function'){context.config.special.select.call(selected,context.data.$textbox);}}else{if(typeof context.config.result.select==='function'){$.suggestions.highlight(context,selected,true);context.config.result.select.call(selected,context.data.$textbox);}else{$.suggestions.highlight(context,selected,true);}}break;default:$.suggestions.update(context,true);
break;}if(preventDefault){e.preventDefault();e.stopImmediatePropagation();}}};$.fn.suggestions=function(){var returnValue,args=arguments;$(this).each(function(){var context,key;context=$(this).data('suggestions-context');if(context===undefined||context===null){context={config:{fetch:function(){},cancel:function(){},special:{},result:{},$region:$(this),suggestions:[],maxRows:7,delay:120,submitOnClick:false,maxExpandFactor:3,expandFrom:'auto',highlightInput:false}};}if(args.length>0){if(typeof args[0]==='object'){for(key in args[0]){$.suggestions.configure(context,key,args[0][key]);}}else if(typeof args[0]==='string'){if(args.length>1){$.suggestions.configure(context,args[0],args[1]);}else if(returnValue===null||returnValue===undefined){returnValue=(args[0]in context.config?undefined:context.config[args[0]]);}}}if(context.data===undefined){context.data={timerID:null,prevText:null,visibleResults:0,mouseDownOn:$([]),$textbox:$(this),selectedWithMouse:false};context.data.$container=$(
'<div>').css('display','none').addClass('suggestions').append($('<div>').addClass('suggestions-results').mousedown(function(e){context.data.mouseDownOn=$(e.target).closest('.suggestions-results .suggestions-result');}).mouseup(function(e){var $result=$(e.target).closest('.suggestions-results .suggestions-result'),$other=context.data.mouseDownOn;context.data.mouseDownOn=$([]);if($result.get(0)!==$other.get(0)){return;}if(!(e.which!==1||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){$.suggestions.highlight(context,$result,true);context.data.$container.hide();if(typeof context.config.result.select==='function'){context.config.result.select.call($result,context.data.$textbox);}}context.data.$textbox.focus();})).append($('<div>').addClass('suggestions-special').mousedown(function(e){context.data.mouseDownOn=$(e.target).closest('.suggestions-special');}).mouseup(function(e){var $special=$(e.target).closest('.suggestions-special'),$other=context.data.mouseDownOn;context.data.mouseDownOn=$([]);
if($special.get(0)!==$other.get(0)){return;}if(!(e.which!==1||e.altKey||e.ctrlKey||e.shiftKey||e.metaKey)){context.data.$container.hide();if(typeof context.config.special.select==='function'){context.config.special.select.call($special,context.data.$textbox);}}context.data.$textbox.focus();}).mousemove(function(e){context.data.selectedWithMouse=true;$.suggestions.highlight(context,$(e.target).closest('.suggestions-special'),false);})).appendTo($('body'));$(this).attr('autocomplete','off').keydown(function(e){context.data.keypressed=e.which;context.data.keypressedCount=0;switch(context.data.keypressed){case 40:e.preventDefault();e.stopImmediatePropagation();break;case 38:case 27:case 13:if(context.data.$container.is(':visible')){e.preventDefault();e.stopImmediatePropagation();}}}).keypress(function(e){context.data.keypressedCount++;$.suggestions.keypress(e,context,context.data.keypressed);}).keyup(function(e){if(context.data.keypressedCount===0){$.suggestions.keypress(e,context,context.
data.keypressed);}}).blur(function(){if(context.data.mouseDownOn.length>0){return;}context.data.$container.hide();$.suggestions.cancel(context);});}$(this).data('suggestions-context',context);});return returnValue!==undefined?returnValue:$(this);};}(jQuery));;},{"css":[
".suggestions{overflow:hidden;position:absolute;top:0;left:0;width:0;border:none;z-index:1099;padding:0;margin:-1px -1px 0 0} html \u003E body .suggestions{margin:-1px 0 0 0}.suggestions-special{position:relative;background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0;margin-top:-2px;display:none;padding:0.25em 0.25em;line-height:1.25em}.suggestions-results{background-color:white;cursor:pointer;border:solid 1px #aaaaaa;padding:0;margin:0}.suggestions-result{color:black;margin:0;line-height:1.5em;padding:0.01em 0.25em;text-align:left}.suggestions-result-current{background-color:#4C59A6;color:white}.suggestions-special .special-label{color:gray;text-align:left}.suggestions-special .special-query{color:black;font-style:italic;text-align:left}.suggestions-special .special-hover{background-color:silver}.suggestions-result-current .special-label,.suggestions-result-current .special-query{color:white}.autoellipsis-matched,.highlight{font-weight:bold}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:9780324491b653a3780e2d029bdc140c */"
]},{});mw.loader.implement("jquery.tabIndex",function(){(function($){$.fn.firstTabIndex=function(){var minTabIndex=null;$(this).find('[tabindex]').each(function(){var tabIndex=parseInt($(this).prop('tabindex'),10);if(tabIndex>0&&!isNaN(tabIndex)){if(minTabIndex===null){minTabIndex=tabIndex;}else if(tabIndex<minTabIndex){minTabIndex=tabIndex;}}});return minTabIndex;};$.fn.lastTabIndex=function(){var maxTabIndex=null;$(this).find('[tabindex]').each(function(){var tabIndex=parseInt($(this).prop('tabindex'),10);if(tabIndex>0&&!isNaN(tabIndex)){if(maxTabIndex===null){maxTabIndex=tabIndex;}else if(tabIndex>maxTabIndex){maxTabIndex=tabIndex;}}});return maxTabIndex;};}(jQuery));;},{},{});mw.loader.implement("mediawiki.action.view.postEdit",function(){(function(mw,$){'use strict';var config=mw.config.get(['wgAction','wgCookiePrefix','wgCurRevisionId']),cookieKey=config.wgCookiePrefix+'PostEditRevision'+config.wgCurRevisionId,$div,id;function showConfirmation(data){data=data||{};if(data.message
===undefined){data.message=$.parseHTML(mw.message('postedit-confirmation',data.user||mw.user).escaped());}$div=$('<div class="postedit-container">'+'<div class="postedit">'+'<div class="postedit-icon postedit-icon-checkmark postedit-content"></div>'+'<a href="#" class="postedit-close">&times;</a>'+'</div>'+'</div>');if(typeof data.message==='string'){$div.find('.postedit-content').text(data.message);}else if(typeof data.message==='object'){$div.find('.postedit-content').append(data.message);}$div.click(fadeOutConfirmation).prependTo('body');id=setTimeout(fadeOutConfirmation,3000);}function fadeOutConfirmation(){clearTimeout(id);$div.find('.postedit').addClass('postedit postedit-faded');setTimeout(removeConfirmation,500);return false;}function removeConfirmation(){$div.remove();mw.hook('postEdit.afterRemoval').fire();}mw.hook('postEdit').add(showConfirmation);if(config.wgAction==='view'&&$.cookie(cookieKey)==='1'){$.cookie(cookieKey,null,{path:'/'});mw.config.set('wgPostEdit',true);mw.
hook('postEdit').fire();}}(mediaWiki,jQuery));;},{"css":[
".postedit-container{margin:0 auto;position:fixed;top:0;height:0;left:50%;z-index:1000;font-size:13px}.postedit-container:hover{cursor:pointer}.postedit{position:relative;top:0.6em;left:-50%;padding:.6em 3.6em .6em 1.1em;line-height:1.5625em;color:#626465;background-color:#f4f4f4;border:1px solid #dcd9d9;text-shadow:0 0.0625em 0 rgba(255,255,255,0.5);border-radius:5px;-webkit-box-shadow:0 2px 5px 0 #ccc;box-shadow:0 2px 5px 0 #ccc;-webkit-transition:all 0.25s ease-in-out;-moz-transition:all 0.25s ease-in-out;-ms-transition:all 0.25s ease-in-out;-o-transition:all 0.25s ease-in-out;transition:all 0.25s ease-in-out}.skin-monobook .postedit{top:6em !important}.postedit-faded{opacity:0}.postedit-icon{padding-left:41px;  line-height:25px;background-repeat:no-repeat;background-position:8px 50%}.postedit-icon-checkmark{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABblBMVEUAAAD///////9PfTf///80aRdTgjn///9Feij///////////9Rfzf///////////9PfjZRgDh1o1xOfTb///////+bwYqLtnj///////9PfTa82K////9WhT6YxIL///9QgDdTgzr////////j7uDl7eLq8efi693k7OH///////9UhjuBr2rp9uRUhjr///9YljVKgir///9WiTlYjT3////9/v57vFlbkT5PjC9dlD/5/fhuq09stUTs9uhxuElctCpfnT1huDFloEZloUZmpENmvDZpvDxpvTxqvjxrvT5rvT9rwTxsqktswD5uwkBvuUdxw0NztFBztU9ztVBzwkp0tlJ1xkd2t1R3uVR4w1F4xk54x014yE15uVZ5v1R5xVB6v1R7yFJ8wVh9xVl9yFR9yVd9ylN+xVh+yFd/x1l/yFeAylmEx1+Ny2uY0Hqe04Wj1Ymv3Ze33qLD47TJ5L3O6cPU7Mrq9eb2+/Q4j37OAAAAQHRSTlMAAQIEBAUFBQwPFB4fJCUoKiosQEhJS01RUlZZXmdydXaChYuSlJSWmJmoq6uur8LExcvM19fg5ejt8fX2+Pr7SljgewAAAKpJREFUGBkFwQNCAwAAAMDLtl3LtrG4rWXbtvX77gAgZ6grFwC0bhwNVgKgdPZx8b0dgLi+s7Wn0VoAqpfOI9+BNADZI7fLrz2pSEwGHZuH+78lSK8ZLkLezF3ooyUG3VPXq2USei9WngeyoG195yBYWDF3E/2pAhl1e9Gr8bGT+bfOFCC2fnvh4X7rcqIAQNNu+HT6sxkAjceTL/2ZAIhv+PorBwBJxfkA//dFHSCBy/UTAAAAAElFTkSuQmCC);background-image:url(//bits.wikimedia.org/static-1.23wmf6/resources/mediawiki.action/images/green-checkmark.png?2013-12-05T18:28:20Z)!ie;background-position:left}.postedit-close{position:absolute;padding:0 .8em;right:0;top:0;font-size:1.25em;font-weight:bold;line-height:2.3em;color:black;text-shadow:0 0.0625em 0 white;text-decoration:none;opacity:0.2;filter:alpha(opacity=20)}.postedit-close:hover{color:black;text-decoration:none;opacity:0.4;filter:alpha(opacity=40)}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:66f3e9be79fef67f37d8409d07a12682 */"
]},{"postedit-confirmation":"\u4f60\u7684\u7f16\u8f91\u5df2\u4fdd\u5b58\u3002"});mw.loader.implement("mediawiki.hidpi",function(){jQuery(function($){$('body').hidpi();});;},{},{});mw.loader.implement("mediawiki.inspect",function(){(function(mw,$){function sortByProperty(array,prop,descending){var order=descending?-1:1;return array.sort(function(a,b){return a[prop]>b[prop]?order:a[prop]<b[prop]?-order:0;});}function humanSize(bytes){if(!$.isNumeric(bytes)||bytes===0){return bytes;}var i=0,units=['',' kB',' MB',' GB',' TB',' PB'];for(;bytes>=1024;bytes/=1024){i++;}return bytes.toFixed(1)+units[i];}var inspect={getDependencyGraph:function(){var modules=inspect.getLoadedModules(),graph={};$.each(modules,function(moduleIndex,moduleName){var dependencies=mw.loader.moduleRegistry[moduleName].dependencies||[];graph[moduleName]=graph[moduleName]||{requiredBy:[]};graph[moduleName].requires=dependencies;$.each(dependencies,function(depIndex,depName){graph[depName]=graph[depName]||{requiredBy:[]};
graph[depName].requiredBy.push(moduleName);});});return graph;},getModuleSize:function(moduleName){var module=mw.loader.moduleRegistry[moduleName],payload=0;if(mw.loader.getState(moduleName)!=='ready'){return null;}if(!module.style&&!module.script){return null;}if(module.style&&$.isArray(module.style.css)){$.each(module.style.css,function(i,stylesheet){payload+=$.byteLength(stylesheet);});}if($.isFunction(module.script)){payload+=$.byteLength(module.script.toString());}return payload;},auditSelectors:function(css){var selectors={total:0,matched:0},style=document.createElement('style'),sheet,rules;style.textContent=css;document.body.appendChild(style);sheet=style.sheet||style.styleSheet;rules=sheet.cssRules||sheet.rules;$.each(rules,function(index,rule){selectors.total++;if(document.querySelector(rule.selectorText)!==null){selectors.matched++;}});document.body.removeChild(style);return selectors;},getLoadedModules:function(){return $.grep(mw.loader.getModuleNames(),function(module){
return mw.loader.getState(module)==='ready';});},dumpTable:function(data){try{if(window.opera){throw window.opera;}console.table.call(console,data);return;}catch(e){}try{console.log($.toJSON(data,null,2));return;}catch(e){}mw.log(data);},runReports:function(){var reports=arguments.length>0?Array.prototype.slice.call(arguments):$.map(inspect.reports,function(v,k){return k;});$.each(reports,function(index,name){inspect.dumpTable(inspect.reports[name]());});},reports:{size:function(){var modules=$.map(inspect.getLoadedModules(),function(module){return{name:module,size:inspect.getModuleSize(module)};});sortByProperty(modules,'size',true);$.each(modules,function(i,module){module.size=humanSize(module.size);});return modules;},css:function(){var modules=[];$.each(inspect.getLoadedModules(),function(index,name){var css,stats,module=mw.loader.moduleRegistry[name];try{css=module.style.css.join();}catch(e){return;}stats=inspect.auditSelectors(css);modules.push({module:name,allSelectors:stats.
total,matchedSelectors:stats.matched,percentMatched:stats.total!==0?(stats.matched/stats.total*100).toFixed(2)+'%':null});});sortByProperty(modules,'allSelectors',true);return modules;},store:function(){var raw,stats={enabled:mw.loader.store.enabled};if(stats.enabled){$.extend(stats,mw.loader.store.stats);try{raw=localStorage.getItem(mw.loader.store.getStoreKey());stats.totalSize=humanSize($.byteLength(raw));}catch(e){}}return[stats];}}};if(mw.config.get('debug')){mw.log('mw.inspect: reports are not available in debug mode.');}mw.inspect=inspect;}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.searchSuggest",function(){(function(mw,$){$(function(){var map,resultRenderCache,searchboxesSelectors,$searchRegion=$('#simpleSearch, #searchInput').first(),$searchInput=$('#searchInput');map={browsers:{ltr:{opera:[['>=',9.6]],docomo:false,blackberry:false,ipod:false,iphone:false},rtl:{opera:[['>=',9.6]],docomo:false,blackberry:false,ipod:false,iphone:false}}};if(!$.client.test(map))
{return;}function computeResultRenderCache(context){var $form,formAction,baseHref,linkParams;$form=context.config.$region.closest('form');formAction=$form.attr('action');baseHref=formAction+(formAction.match(/\?/)?'&':'?');linkParams={};$.each($form.serializeArray(),function(idx,obj){linkParams[obj.name]=obj.value;});return{textParam:context.data.$textbox.attr('name'),linkParams:linkParams,baseHref:baseHref};}function renderFunction(text,context){if(!resultRenderCache){resultRenderCache=computeResultRenderCache(context);}resultRenderCache.linkParams[resultRenderCache.textParam]=text;this.append($('<span>').css('whiteSpace','nowrap').text(text)).wrap($('<a>').attr('href',resultRenderCache.baseHref+$.param(resultRenderCache.linkParams)).addClass('mw-searchSuggest-link'));}function specialRenderFunction(query,context){var $el=this;if(!resultRenderCache){resultRenderCache=computeResultRenderCache(context);}resultRenderCache.linkParams[resultRenderCache.textParam]=query;if($el.children().
length===0){$el.append($('<div>').addClass('special-label').text(mw.msg('searchsuggest-containing')),$('<div>').addClass('special-query').text(query).autoEllipsis()).show();}else{$el.find('.special-query').text(query).autoEllipsis();}if($el.parent().hasClass('mw-searchSuggest-link')){$el.parent().attr('href',resultRenderCache.baseHref+$.param(resultRenderCache.linkParams)+'&fulltext=1');}else{$el.wrap($('<a>').attr('href',resultRenderCache.baseHref+$.param(resultRenderCache.linkParams)+'&fulltext=1').addClass('mw-searchSuggest-link'));}}searchboxesSelectors=['#searchInput','#powerSearchText','#searchText','.mw-searchInput'];$(searchboxesSelectors.join(', ')).suggestions({fetch:function(query){var $el;if(query.length!==0){$el=$(this);$el.data('request',(new mw.Api()).get({action:'opensearch',search:query,namespace:0,suggest:''}).done(function(data){$el.suggestions('suggestions',data[1]);}));}},cancel:function(){var apiPromise=$(this).data('request');if(apiPromise&&$.isFunction(
apiPromise.abort)){apiPromise.abort();$(this).removeData('request');}},result:{render:renderFunction,select:function($input){$input.closest('form').submit();}},delay:120,highlightInput:true}).bind('paste cut drop',function(){$(this).trigger('keypress');});if($searchRegion.length===0){return;}$searchInput.suggestions({result:{render:renderFunction,select:function($input){$input.closest('form').submit();}},special:{render:specialRenderFunction,select:function($input){$input.closest('form').append($('<input type="hidden" name="fulltext" value="1"/>'));$input.closest('form').submit();}},$region:$searchRegion});$searchInput.data('suggestions-context').data.$container.css('fontSize',$searchInput.css('fontSize'));});}(mediaWiki,jQuery));;},{"css":[
".suggestions a.mw-searchSuggest-link,.suggestions a.mw-searchSuggest-link:hover,.suggestions a.mw-searchSuggest-link:active,.suggestions a.mw-searchSuggest-link:focus{text-decoration:none;color:black}.suggestions-result-current a.mw-searchSuggest-link,.suggestions-result-current a.mw-searchSuggest-link:hover,.suggestions-result-current a.mw-searchSuggest-link:active,.suggestions-result-current a.mw-searchSuggest-link:focus{color:white}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:52b1797f70c7e4094dfa4191101944e8 */"]},{"searchsuggest-containing":"\u542b\u6709...","searchsuggest-search":"\u641c\u7d22"});mw.loader.implement("mediawiki.page.ready",function(){(function(mw,$){var supportsPlaceholder='placeholder'in document.createElement('input');mw.hook('wikipage.content').add(function($content){var $sortableTables;if(!supportsPlaceholder){$content.find('input[placeholder]').placeholder();}$content.find('.mw-collapsible').makeCollapsible();$sortableTables=$content.find(
'table.sortable');if($sortableTables.length){mw.loader.using('jquery.tablesorter',function(){$sortableTables.tablesorter();});}$content.find('input[type="checkbox"]:not(.noshiftselect)').checkboxShiftClick();});$(function(){if(!supportsPlaceholder){$('input[placeholder]').not('#mw-content-text input').placeholder();}mw.util.updateTooltipAccessKeys();});}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mobile.desktop",function(){(function($){var cookie=mw.config.get('wgStopMobileRedirectCookie');if(cookie){$('.stopMobileRedirectToggle').click(function(){$.cookie(cookie.name,null,{path:cookie.path,domain:cookie.domain});});}})(jQuery);;},{},{});mw.loader.implement("mw.MwEmbedSupport.style",function(){},{"css":[
"#container{position:relative;min-height:100%}#container,video{width:100%;height:100%}#playerContainer{overflow:hidden;position:relative;height:100%;background:#000}#videoHolder{position:relative;overflow:hidden}.fullscreen #playerContainer{position:absolute !important;width:100% !important;height:100%! important;z-index:9999;min-height:100%;top:0;left:0;margin:0}.mwEmbedPlayer{width:100%;height:100%;overflow:hidden;position:absolute;top:0;left:0}.modal_editor{ left:10px;top:10px;right:10px;bottom:10px;position:fixed;z-index:100}.displayHTML a:visited{color:white}.loadingSpinner{width:32px;height:32px;display:block;padding:0px;background-image:url(//bits.wikimedia.org/static-1.23wmf6/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/loading_ani.gif?2013-12-05T18:31:40Z)}.mw-imported-resource{border:thin solid black}.kaltura-icon{background-image:url(//bits.wikimedia.org/static-1.23wmf6/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/kaltura_logo_sm_transparent.png?2013-12-05T18:31:40Z) !important;background-repeat:no-repeat;display:block;height:12px;width:12px;margin-top:2px !important;margin-left:3px !important}.mw-fullscreen-overlay{background:rgb(0,0,0) none repeat scroll 0% 0%;position:fixed;top:0pt;left:0pt;width:100%;height:100%;-moz-background-clip:border;-moz-background-origin:padding;-moz-background-inline-policy:continuous} .play-btn-large{width:70px;height:53px;background :url(//bits.wikimedia.org/static-1.23wmf6/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/player_big_play_button.png?2013-12-05T18:31:40Z);position :absolute;cursor :pointer;border :none !important;z-index :1}.play-btn-large:hover{background :url(//bits.wikimedia.org/static-1.23wmf6/extensions/MwEmbedSupport/MwEmbedModules/MwEmbedSupport/skins/common/images/player_big_play_button_hover.png?2013-12-05T18:31:40Z)}.carouselContainer{position :absolute;width :100%;z-index :2}.carouselVideoTitle{position :absolute;top :0px;left :0px;width :100%;background :rgba(0,0,0,0.8);color :white;font-size :small;font-weight :bold;z-index :2}.carouselVideoTitleText{display :block;padding :10px 10px 10px 20px}.carouselTitleDuration{position :absolute;top :0px;right :0px;padding :2px;background-color :#5A5A5A;color :#D9D9D9;font-size :smaller;z-index :2}.carouselImgTitle{position :absolute;width :100%;text-align :center;color :white;font-size :small;background :rgba(0,0,0,0.4)}.carouselImgDuration{position :absolute;top :2px;left :2px;background :rgba( 0,0,0,0.7 );color :white;padding :1px 6px;font-size :small}.carouselPrevButton,.carouselNextButton{display :block;position :absolute;bottom:23px}.carouselPrevButton{left :5px}.carouselNextButton{right:6px}.alert-container{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-image:linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-o-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-moz-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-webkit-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-ms-linear-gradient(bottom,rgb(215,215,215) 4%,rgb(230,230,230) 55%,rgb(255,255,255) 100%);background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0.04,rgb(215,215,215)),color-stop(0.55,rgb(230,230,230)),color-stop(1,rgb(255,255,255)));margin:auto;position:absolute;top:0;left:0;right:0;bottom:0;max-width:80%;max-height:30%}.alert-title{background-color :#E6E6E6;padding :5px;border-bottom :1px solid #D1D1D1;font-weight :normal !important;font-size:14px !important;-webkit-border-top-left-radius:3px;-moz-border-radius-topleft:3px;border-top-left-radius:3px;-webkit-border-top-right-radius:3px;-moz-border-radius-topright:3px;border-top-right-radius:3px }.alert-message{padding :5px;font-weight :normal !important;text-align:center;font-size:14px !important}.alert-buttons-container{text-align:center;padding-bottom:5px}.alert-button{background-color:#474747;color:white;-webkit-border-radius:.5em;-moz-border-radius:.5em;border-radius:.5em;padding:2px 10px;background-image:linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-o-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-moz-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-webkit-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-ms-linear-gradient(bottom,rgb(25,25,25) 4%,rgb(47,47,47) 55%,rgb(71,71,71) 68%);background-image:-webkit-gradient( linear,left bottom,left top,color-stop(0.04,rgb(25,25,25)),color-stop(0.55,rgb(47,47,47)),color-stop(0.68,rgb(71,71,71)) )}.alert-text{color :black !important}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:208c9fb9a67428a8f057af592adec706 */"
]},{});mw.loader.implement("mw.PopUpMediaTransform",function(){(function(mw,$){$(document).ready(function(){$('.PopUpMediaTransform a').each(function(){$(this).click(function(event){var $videoContainer=$(unescape($(this).parent().attr('data-videopayload')));mw.addDialog({'width':'auto','height':'auto','title':$videoContainer.find('video,audio').attr('data-mwtitle'),'content':$videoContainer,'close':function(){var domEl=$(this).find('video,audio').get(0);if(domEl&&domEl.pause){domEl.pause();}return true;}}).css('overflow','hidden').find('video,audio').embedPlayer();return false;});});});})(mediaWiki,jQuery);;},{"css":[
".PopUpMediaTransform a .play-btn-large{position :absolute;top:50%;left :50%;width:70px;height:53px;margin-left:-35px;margin-top:-25px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAA1CAMAAADLRm3ZAAABnlBMVEUAAAAAAAAAAABaWlp4eHh7e3t/f393d3eDg4N0dHRtbW2FhYVra2uJiYmNjY1nZ2eRkZFkZGSUlJRiYmKYmJhgYGCcnJxeXl5cXFyfn58AAACioqKlpaWsrKwAAACpqakAAAAAAAAAAAAAAABEREQFBQUHBwdMTEwAAAAYGBgAAAAAAAABAQEXFxcAAAAAAAAAAABxcXGoqKh3d3eampp8fHyIiIgUFBQcHBw0NDSFhYV+fn5FRUUmJiaNjY11dXWPj4+Hh4c9PT14eHifn59nZ2eBgYFISEiBgYFubm5vb28ODg4lJSVra2tiYmJoaGgEBAQmJiZmZmaLi4saGhpiYmKYmJhZWVlgYGBfX19vb29DQ0MGBgZcXFyBgYFKSkoPDw9ZWVlzc3NQUFBXV1eKiopUVFQdHR1VVVUQEBBYWFglJSVTU1NXV1cKCgosLCySkpJRUVFISEgyMjJPT08dHR2GhoY4ODhNTU09PT0MDAwuLi57e3sTExNJSUkgICBOTk4hISEbGxtTU1MoKChBQUEsLCxXV1cAAABycnIdNM6eAAAAinRSTlOzj6jO1dbX1NfU09nS2drR29Hc0N3Q3c/O3gDf3+Ce4EgIGW7HtbXKnLouq7S5cHIq1ODQ3NTXuLq/1tXEvNjT2NjC093N18bW0dC2vNHM0LW90Ne5z9rLzsrTxbXN1Me3zdDKzdfLu8y3zb3Lyba/2svFwcq618PKxLa/1LjJu8q8u8y+xsDKrdJqj5XQAAABYklEQVR4Xu3XVVNCQRjH4VdQEbvFVRAOIRl2d3d3d3d317d2GEaGOOfM1oUXPB/gN7NX/30BIYPeGMPAqDcgBMhrBUZWLwJBAcwcAriBAzfogAMdKIADBUUmmqm64JAxl2m1k/XMmZkin+YaxsxYqd9iA1OmsfDPajVDZqMgoL1jhzpTmR+k/OCQMlObG+L4dJgq050d5rKVJlOXGaHijjxzny6i94k005YqatBFlmlKEdfy1UeS+UmS0tllwc/0JEhT9WNnBuJlqCy4maE4OSO4mdFYOeO4mQm1jCnAzUyXSJqdm8fOLCRKWVomWIaVZHFrLqJlWE8Ts7lFuAzbGZF294iXYT8rnPLICcSZk5xQyjMzzTKc5wXTXFnoluFaE+TmlnYZipUBpgcA5syjjWU1Tf7I8wvbhr/6Im/vTmDLgO3D9Gn+R5+2aIbXzeABDjwgOIDZtwDIzvwsnR1xujV/AS6zSfMs2bS9AAAAAElFTkSuQmCC);background-image:url(//bits.wikimedia.org/static-1.23wmf6/extensions/TimedMediaHandler/resources/player_big_play_button.png?2013-12-05T18:31:40Z)!ie}.PopUpMediaTransform a .play-btn-large :hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEYAAAA1CAMAAADLRm3ZAAABtlBMVEUAAAAAAAAAAAC5ubm1tbWwsLC+vr6Li4vExMSrq6umpqbIyMjOzs6ioqLT09OdnZ3Y2NiZmZnc3NyWlpbh4eGSkpLn5+eQkJCNjY0AAADr6+vv7+/z8/P39/cAAAD9/f0AAAAAAAAAAAAAAAB2dnYAAAAoKCj5+flra2sMDAwAAAAAAAAAAAAAAAAAAAACAgLW1tbPz88wMDCHh4fExMS8vLxKSkpubm6vr6+qqqo0NDQQEBDCwsK1tbUmJiaysrLT09PLy8uIiIgXFxetra2+vr7r6+tycnIbGxvMzMyTk5O1tbU8PDyjo6PR0dG0tLQLCwufn58HBwc9PT2bm5shISEqKiqXl5cICAiJiYmTk5Pj4+OoqKhpaWkKCgqOjo5TU1OXl5cYGBiKioo9PT18fHwlJSWGhoYuLi6CgoIvLy+Dg4Ofn5+oqKg7OzuAgIDk5OSLi4tHR0fIyMh9fX3Z2dlycnJPT08JCQl7e3vJyclhYWFZWVl4eHhhYWEUFBS6urpqamofHx9ycnK2trZzc3N6eno1NTUsLCyKioqAgIBBQUFmZmZHR0cICAjBwcEAAACIiIg+YVJpAAAAknRSTlOzj6jt6+ru4O/p5/Hy5vPl9eT24/ji+eHgAPr7/P2e/hlICG7YLr7+07accipwq7Tw777X6erGzuLjv7fs4rzn8PDYuObr+dK57tjqwuTu6rbjtcPiur3htdvg8+jRtt7H3Lndwdi83b7bwNze5cPb9t/G7drz0Mq22e7MzdjPuOrUu9fo1NnCwN/cxdLItu6t3VahkKcAAAFlSURBVHhe7dfFcgJBFIbRGyLEXegIDBAITtzd3d3d3d3d88ZJigqFzExNyyILzgN8Vb36+wJCGrXWj4JWrUEIkMUElEwWBJwMqNk4sAIDVlACA0qQAQMygowv05fNIDNYplKNFFBnmjN+ZU5SZtrTHHJnqTKVqX8KFykyWSlO9auNxJmmZBebOSWEmZ1EN3v73USZ0ngPxyckmbpYL3n5+JnLaB5FxbiZ20heU+V4mYpwflXVNTiZ2jAhHw1G6Zm1YGEtrZIzbUEiOjqlZrr8xfRIzfQGiOmXmhkIFDEEUjPDIYJGx8YlZyZChdxNYyzDTAS/uXmsZViI4rO0jLkMKzHevtaxl2EjztPWth2wM7sJ7uQHhyTLcJTkSnFqJFuGM4WL8wvSZUiXO11dA1BnbvQ0q2lwRO4f6Db88ekn8vxiB7oM6F8Nb+//6NPmy7C6GczAgBk4G1D75ADpqJ+l1CFGt+Y3XGRJEJqP8KwAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.23wmf6/extensions/TimedMediaHandler/resources/player_big_play_button_hover.png?2013-12-05T18:31:40Z)!ie}.PopUpMediaTransform{position :relative;display:inline-block}li.gallerybox div.thumb div.PopUpMediaTransform{margin:0 auto}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:5ffd004a18b05c0c7eefa04375ae2752 */"
]},{});mw.loader.implement("schema.ModuleStorage",function(){mediaWiki.eventLog.declareSchema("ModuleStorage",{"schema":{"title":"ModuleStorage","description":"A record of ResourceLoader performance, collected as part of the mw.loader.store performance evaluation.","properties":{"experimentGroup":{"description":"Group assignment: either 1 (control) or 2 (experiment).","required":true,"enum":[1,2],"type":"integer"},"experimentId":{"description":"A random string that is generated on group assignment and logged with every subsequent event.","required":true,"type":"string"},"loadedModulesCount":{"description":"The number of loaded ResourceLoader modules on the current page.","required":true,"type":"integer"},"loadedModulesSize":{"description":"Total size (in bytes) of loaded ResourceLoader modules on the current page,","required":true,"type":"integer"},"moduleStoreEnabled":{"description":
"Whether the module store was enabled. Expected to be true for users in experiment group and false for control.","required":true,"type":"boolean"},"moduleStoreHits":{"description":"Number of modules that were loaded from localStorage, or unset if module storage not enabled.","type":"integer"},"moduleStoreMisses":{"description":"Number of modules that were looked up in localStorage but were not available. Unset if module storage is not enabled.","type":"integer"},"moduleStoreExpired":{"description":"Number of modules that had to be evicted from the cache, or unset if module storage is not enabled.","type":"integer"},"moduleLoadingTime":{"description":"Number of milliseconds between ResourceLoader initialization and the start of the window load event.","required":true,"type":"integer"},"mobileMode":{"description":"If in mobile view, specifies the mobile mode. Absent otherwise.","enum":["alpha","beta","stable"],"type":"string"},"userAgent":{"description":"Browser's user-agent string.",
"required":true,"type":"string"}}},"revision":6356853});},{},{});mw.loader.implement("schema.NavigationTiming",function(){mediaWiki.eventLog.declareSchema("NavigationTiming",{"schema":{"title":"NavigationTiming","description":"Represents a set of client-side latency measurements provided by NavigationTiming API","properties":{"action":{"description":"Value of 'wgAction': view', 'submit', 'history', etc. Unset for special pages.","type":"string"},"connectEnd":{"description":"the time immediately after the user agent finishes establishing the connection to the server to retrieve the current document.","type":"integer"},"connectStart":{"description":"the time immediately before the user agent start establishing the connection to the server to retrieve the document.","type":"integer"},"dnsLookup":{"description":"Time it took to resolve names (domainLookupEnd - domainLookupStart).","type":"integer"},"domComplete":{"description":
"the time immediately before the user agent sets the current document readiness to \"complete\".","type":"integer"},"domInteractive":{"description":"the time immediately before the user agent sets the current document readiness to \"interactive\".","type":"integer"},"fetchStart":{"description":"the time immediately before the user agent starts checking any relevant application caches.","type":"integer"},"isAnon":{"description":"True if the user was anonymous; false if logged in.","required":true,"type":"boolean"},"isHttps":{"description":"True if request was secure (i.e., used HTTPS).","type":"boolean"},"loadEventEnd":{"description":"the time when the load event of the current document is completed.","type":"integer"},"loadEventStart":{"description":"the time immediately before the load event of the current document is fired.","type":"integer"},"mobileMode":{"description":"If in mobile view, specifies the mobile mode. Absent otherwise.","enum":["alpha","beta","stable"],"type":"string"}
,"originCountry":{"description":"Country in which request originated, based on GeoIP look-up.","type":"string"},"pageId":{"description":"`page_id` of requested page. Unset for special pages.","type":"integer"},"redirectCount":{"description":"Number of times the document request was redirected.","type":"integer"},"redirecting":{"description":"Time spent following redirects.","type":"integer"},"requestStart":{"description":"the time immediately before the user agent starts requesting the current document from the server, or from relevant application caches or from local resources.","type":"integer"},"responseEnd":{"description":"the time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first.","type":"integer"},"responseStart":{"description":
"the time immediately after the user agent receives the first byte of the response from the server, or from relevant application caches or from local resources.","type":"integer"},"revId":{"description":"Revision ID of requested page. Unset for special pages.","type":"integer"},"userAgent":{"description":"Browser's user-agent string.","required":true,"type":"string"}}},"revision":5832704});},{},{});mw.loader.implement("schema.UniversalLanguageSelector",function(){mediaWiki.eventLog.declareSchema("UniversalLanguageSelector",{"schema":{"title":"UniversalLanguageSelector","description":"A prototype analytic data model for ULS","properties":{"version":{"type":"integer","required":true,"description":"Version number. This field can be used to track changes in instrumentation that affect the nature of the data collected."},"token":{"type":"string","description":"A unique random persistent token per browser","required":true},"action":{"type":"string","description":
"What the user caused or did.","enum":["ime-change","ime-enable","ime-disable","language-change","font-change","no-search-results","login-click","settings-open","ui-lang-revert","more-languages-access"],"required":true},"context":{"type":"string","description":"Arbitrary action related data clarifying the context.\n            * language-change: One of interface, content, font, ime, other\n            * no-search-results: The search string\n            * settings-open: One of personal, interlanguage, menu, preferences\n            * more-languages-access: Same as for language-change","required":false},"interfaceLanguage":{"type":"string","description":"Language code","required":true},"contentLanguage":{"type":"string","description":"Language code","required":true},"inputMethod":{"type":"string","description":"Input method identifier or 'system'","required":false},"contentFont":{"type":"string","description":"Font name or 'system'","required":false},"interfaceFont":{"type":"string",
"description":"Font name or 'system'","required":false},"languageSelectionMethod":{"type":"string","description":"How was the language selected.","required":false,"enum":["map","search","common"]}}},"revision":5729800});},{},{});mw.loader.implement("skins.vector.collapsibleNav",function(){(function(mw,$){'use strict';var map;function toggle($element){var isCollapsed=$element.parent().is('.collapsed');$.cookie('vector-nav-'+$element.parent().attr('id'),isCollapsed,{'expires':30,'path':'/'});$element.parent().toggleClass('expanded').toggleClass('collapsed').find('.body').slideToggle('fast');isCollapsed=!isCollapsed;$element.find('> a').attr({'aria-pressed':isCollapsed?'false':'true','aria-expanded':isCollapsed?'false':'true'});}map={ltr:{opera:[['>=',9.6]],konqueror:[['>=',4.0]],blackberry:false,ipod:false,iphone:false,ps3:false},rtl:{opera:[['>=',9.6]],konqueror:[['>=',4.0]],blackberry:false,ipod:false,iphone:false,ps3:false}};if(!$.client.test(map)){return true;}$(function($){var
$headings,tabIndex;$('#mw-panel > .portal:first').addClass('first persistent');$('#mw-panel').addClass('collapsible-nav');$('#mw-panel > .portal:not(.persistent)').each(function(i){var id=$(this).attr('id'),state=$.cookie('vector-nav-'+id);$(this).find('ul:first').attr('id',id+'-list');$(this).find('h3').wrapInner($('<a>').attr({href:'#','aria-haspopup':'true','aria-controls':id+'-list',role:'button'}).click(false));if(state==='true'||(state===null&&i<1)||(state===null&&id==='p-lang')){$(this).addClass('expanded').removeClass('collapsed').find('.body').hide().show();$(this).find('h3 > a').attr({'aria-pressed':'true','aria-expanded':'true'});}else{$(this).addClass('collapsed').removeClass('expanded');$(this).find('h3 > a').attr({'aria-pressed':'false','aria-expanded':'false'});}if(state!==null){$.cookie('vector-nav-'+$(this).attr('id'),state,{'expires':30,'path':'/'});}});$headings=$('#mw-panel > .portal:not(.persistent) > h3');tabIndex=$(document).lastTabIndex()+1;$('#searchInput').
attr('tabindex',tabIndex++);$headings.attr('tabindex',function(){return tabIndex++;});$('#mw-panel').delegate('.portal:not(.persistent) > h3','keydown',function(e){if(e.which===13||e.which===32){toggle($(this));}}).delegate('.portal:not(.persistent) > h3','mousedown',function(e){if(e.which!==3){toggle($(this));$(this).blur();}return false;});});}(mediaWiki,jQuery));;},{},{"vector-collapsiblenav-more":"\u003Cvector-collapsiblenav-more\u003E"});
/* cache key: zhwiki:resourceloader:filter:minify-js:7:de0555f3896cb2cc3cac5050ca001c79 */