User:Irukaza/common.js:修订间差异

H萌娘,万物皆可H的百科全书!
跳到导航 跳到搜索
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=\"https://zh.m.wikipedia.org/w/index.php?title=%E9%BB%91%E5%AE%A2%E5%B8%9D%E5%9B%BD&action=info\" id=\"toptool\">讨论<\/a> · <a href=\"#\" id=\"toptool\">分类<\/a> · <a href=\"#\" id=\"toptool\">公告<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>";
spanobj.innerHTML="<a href=\"/wiki/Talk:'+ mw.config.get(\"wgPageName\")\ + '\" id=\"toptool\">讨论<\/a> · <a href=\"#\" id=\"toptool\">分类<\/a> · <a href=\"#\" id=\"toptool\">公告<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>";

2021年8月18日 (三) 22:51的版本

spanobj=document.createElement("span");
srch=document.getElementById("page-actions");
srch.parentElement.insertBefore(spanobj,srch);
spanobj.innerHTML="<a href=\"/wiki/Talk:'+ mw.config.get(\"wgPageName\")\ + '\" id=\"toptool\">讨论<\/a> · <a href=\"#\" id=\"toptool\">分类<\/a> · <a href=\"#\" id=\"toptool\">公告<\/a> · <a href=\"#\" id=\"toptool\">下载APP<\/a>";