跳至內容

使用者:小躍/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 ); }); }) ();