javascript: (function() {

    new mw.Api().edit(mw.config.get('wgPageName'), function(revision) {
        return {
            text: revision.content,
            summary: 'Null edit',
            minor: true
        };
    }).then(function(e) {
        mw.notify('成功');
    }, function(e) {
        if (e == 'nocreate-missing') {
            mw.notify('頁面不存在');
        } else {
            mw.notify('未知錯誤');
        }
    });

}
)();

@@ -401,17 +401,20 @@
 fy('%E6%9C%AA%E7%9F%A5%E9%8C%AF%E8%AA%A4
-'
+%EF%BC%9A'+e
 );%0A     

Update one-click-edit/null-edit for showing unknown error message