打开主菜单
首页
随机
最近更改
特殊页面
设置
关于珠海交通维基
免责声明
珠海交通维基
搜索
更改
←上一编辑
MediaWiki:Mobile.js
(查看源代码)
2022年10月17日 (一) 09:26的版本
添加16字节
、
2022年10月17日 (一) 09:26
无编辑摘要
第78行:
第78行:
clip_board = new ClipboardJS('h1#section_0');
clip_board = new ClipboardJS('h1#section_0');
$( "h1#section_0" ).click( function() {
$( "h1#section_0" ).click( function() {
−
var copyText = "https://w.zhbus.org/" + mw.config.get('wgArticleId');
+
var copyText = "https://w.zhbus.org/
index.php?curid=
" + mw.config.get('wgArticleId');
this.setAttribute("data-clipboard-text", copyText);
this.setAttribute("data-clipboard-text", copyText);
alert("链接已复制: " + copyText);
alert("链接已复制: " + copyText);
});
});
Zhbus
行政员
、
界面管理员
、
监督员
、
管理员
15,758
个编辑