MediaWiki:Common.js:修订间差异

来自仁王 wiki
Faxlok留言 | 贡献
建立内容为“这里的任何JavaScript将为所有用户在每次页面载入时加载。:​ console.log("已触发MediaWiki:Common.js");”的新页面
 
Faxlok留言 | 贡献
无编辑摘要
第1行: 第1行:
/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */
/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */
console.log("已触发MediaWiki:Common.js");
console.log("已触发MediaWiki:Common.js");
var a = document.createElement("a");
a.href = "#";
a.innerText = "返回顶部";
document.getElementById("page-tools").append(a);

2021年2月26日 (五) 11:39的版本

/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */
console.log("已触发MediaWiki:Common.js");
var a = document.createElement("a");
a.href = "#";
a.innerText = "返回顶部";

document.getElementById("page-tools").append(a);