User:Irukaza/common.js:修订间差异
跳到导航
跳到搜索
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
第2行: | 第2行: | ||
srch=document.getElementById("page-actions"); | srch=document.getElementById("page-actions"); | ||
srch.parentElement.insertBefore(spanobj,srch); | srch.parentElement.insertBefore(spanobj,srch); | ||
spanobj.innerHTML="<a href=\"#/talk\" id=\"toptool\">讨论<\/a> · <a href=\" | spanobj.innerHTML="<a href=\"#/talk\" id=\"toptool\">讨论<\/a> · <a href=\"/index.php?title="+mw.util.wikiUrlencode(mw.config.get('wgPageName'))+"&action=info\">信息<\/a>· <a href=\"/特殊:链入页面/+'mw.util.wikiUrlencode(mw.config.get('wgPageName'))'\" id=\"toptool\">相关<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>"; |
2021年8月19日 (四) 13:11的版本
spanobj=document.createElement("span");
srch=document.getElementById("page-actions");
srch.parentElement.insertBefore(spanobj,srch);
spanobj.innerHTML="<a href=\"#/talk\" id=\"toptool\">讨论<\/a> · <a href=\"/index.php?title="+mw.util.wikiUrlencode(mw.config.get('wgPageName'))+"&action=info\">信息<\/a>· <a href=\"/特殊:链入页面/+'mw.util.wikiUrlencode(mw.config.get('wgPageName'))'\" id=\"toptool\">相关<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>";