打开主菜单
首页
随机
最近更改
特殊页面
沙盒
互助客栈
方针与指引
帮助
页面信息
链入页面
相关更改
设置
关于LLWiki
免责声明
LLWiki
搜索
用户菜单
3.128.198.60
讨论
监视列表
贡献
登录
LLWiki正在建设中,欢迎
加入我们
!
查看“User:Yumeto/vector.js”的源代码
←
User:Yumeto/vector.js
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您没有权限编辑此JavaScript页面,因为此页面包含另一位用户的个人设置。
您可以查看和复制此页面的源代码。
/*HotCat*/ mw.loader.using("mediawiki.user", function () { $('body').on( 'submit', '#hotcatCommitForm', function () { // The variable "this" refers to the form. Its fields can be accessed directly, e.g. // this.wpTextbox1 gives you the textarea containing the page text of the edit. var submitType = this.wpDiff; if (submitType && (!this.oldid || this.oldid.value == '0')) { // Switch form submission from diff to save. Don't do this if "oldid" is set to anything but '0': // that indicates an edit conflict with yourself, and in that case you really, really do want // to see the diff! this.wpEditToken.value = mw.user.tokens.get("csrfToken"); submitType.name = submitType.value = 'wpSave'; } return true; }); });
返回
User:Yumeto/vector.js
。