打开/关闭菜单
Toggle preferences menu
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Minerva.js

MediaWiki界面页面

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* All JavaScript here will be loaded for users of the MinervaNeue skin */
    function addLi(content,id){
        var cLi = document.createElement("li");
        cLi.innerHTML = content
        cLi.className = ""
        document.getElementById(id).appendChild(cLi)
    }
    link1 = '<a href="/tools/Glossary" class="mw-ui-icon mw-ui-icon-before"><span>名词解释录入和浏览</span></a>';
    addLi(link1,"p-navigation");
	link2 = '<a href="/tools/download" class="mw-ui-icon mw-ui-icon-before"><span>导出单词为ANKI卡组</span></a>';
	addLi(link2,"p-navigation");
	
/*工具栏*/
	var edit_b = document.getElementById("ca-edit")
	var href_b = edit-b.getAttribute('href')
	console.log(href_b)