MediaWiki:Mobile.js:修订间差异

imported>=海豚=
无编辑摘要
imported>=海豚=
无编辑摘要
第266行: 第266行:
         return result;
         return result;
     }
     }
//来自搜索引擎的访问默认跳转zh版
//来自搜索引擎的访问默认跳转桌面版
     function searchReferrerJump() {
     function searchReferrerJump() {
         if (/\/\/www.(?:google|baidu|bing).com\//.test(document.referrer)) {
         if (/\/\/www.(?:google|baidu|bing).com\//.test(document.referrer)) {
第298行: 第298行:
     });
     });
   };
   };
        //需要时载入对应的 scripts
        if (mw.config.get("wgAction") === "edit" || mw.config.get("wgAction") === "submit" || mw.config.get("wgCanonicalSpecialPageName") === "Search") { mw.loader.load("/index.php?title=MediaWiki:Common.js/edit.js&action=raw&ctype=text/javascript"); }
$(function(){mfSidebar();});
$(function(){mfSidebar();});
     /* 函数执行体 */
     /* 函数执行体 */