跳转到内容

User:小躍/sandbox

来自维基导游

( function () { $( "#p-relatedsites-list a" ).each( function ( i, relatedsite ) { var relatedsite = $( relatedsite ); var name = relatedsite.text(); if ( name === 'Wikipedia' ) { name = '维基百科' }; if ( name === 'Wikitravel' ) { name = '维客旅行' }; if ( name === 'Citizendium' ) { name = '大众百科' }; if ( name === 'Open Directory' ) { name = '开放式目录' }; if ( name === 'Radreise-Wiki' ) { name = 'Radreise维基' }; if ( name === 'Wikimedia Commons' ) { name = '维基共享资源' }; if ( name === 'Wikitravel Press' ) { name = '维客旅行出版社' }; if ( name === 'General' ) { name = '一般' }; if ( name === 'Technical' ) { name = '技术' }; if ( name === 'Association' ) { name = '协会' }; if ( name === 'Location Database Wiki' ) { name = '维基位置数据库' }; relatedsite.text( name ); }); }) ();