User:逆襲的天邪鬼/unblockproxies.js

From TestWiki

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/*
{
action: 'query',
format: 'json',
list: 'logevents',
letype: 'block',
leuser: '逆襲的天邪鬼',
lelimit: 'max',
//lecontinue: ''
}

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20170917014027|11136",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 14980,
                "ns": 2,
                "title": "User:\u5c11\u540d\u91dd\u5999\u4e38",
                "pageid": 724,
                "logpage": 724,
                "params": {
                    "duration": "1 week",
                    "flags": [
                        "noautoblock"
                    ],
                    "expiry": "2017-11-25T13:51:07Z"
                },
                "type": "block",
                "action": "block",
                "user": "\u9006\u8972\u7684\u5929\u90aa\u9b3c",
                "timestamp": "2017-11-18T13:51:07Z",
                "comment": ""
            },
            {
                "logid": 14979,
                "ns": 2,
                "title": "User:Example",
                "pageid": 30,
                "logpage": 30,
                "params": {
                    "duration": "2 hours",
                    "flags": [
                        "noautoblock"
                    ],
                    "expiry": "2017-11-18T15:50:33Z"
                },
                "type": "block",
                "action": "block",
                "user": "\u9006\u8972\u7684\u5929\u90aa\u9b3c",
                "timestamp": "2017-11-18T13:50:33Z",
                "comment": "test"
            },
            {
                "logid": 14838,
                "ns": 2,
                "title": "User:Example2",
                "pageid": 31,
                "logpage": 31,
                "params": {
                    "duration": "2 hours",
                    "flags": [
                        "noautoblock"
                    ],
                    "expiry": "2017-10-29T04:51:49Z"
                },
                "type": "block",
                "action": "block",
                "user": "\u9006\u8972\u7684\u5929\u90aa\u9b3c",
                "timestamp": "2017-10-29T02:51:49Z",
                "comment": "[[Test|<nowiki>[[Test|test]]</nowiki>]]"
            }
        ]
    }
}
 */