imported>=海豚= |
imported>=海豚= |
第1行: |
第1行: |
| if (mw.config.get('wgUserGroups').indexOf('autoconfirmed') != -1 ) {
| | 本站上传头像功能已停 用 |
| mw.hook('ve.activationComplete').add(function () {
| |
| document.querySelector(".oo-ui-toolbar-actions > .oo-ui-buttonElement").innerHTML = '<input type="button" value="预览一次后提交" class="oo-ui-buttonElement-button mw-ui-destructive" >';
| |
| document.querySelector(".oo-ui-toolbar-actions > .oo-ui-buttonElement").onclick = function(){
| |
| mw.notify('您是新 用 户,必须前往源代码页观看确认您刚才进行的改动,并输入正确的验证码后才能提交编辑!')
| |
| document.getElementById("ca-edit").click();
| |
| }})}
| |
| else{
| |
| return;
| |
| }
| |