MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"lecontinue": "20241218091951|1581",
"continue": "-||"
},
"query": {
"logevents": [
{
"logid": 1591,
"ns": 0,
"title": "Kickstart\uff08RedHat\uff09\u3001Preseed\uff08Debian\uff09\u3001cloud-init\uff08\u4e91\uff09 \u8fdb\u884c\u81ea\u52a8\u5316\u90e8\u7f72",
"pageid": 1523,
"logpage": 1523,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2025-03-26T02:52:09Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c=CentOS Kickstart\u81ea\u52a8\u5316\u5b89\u88c5= \u670d\u52a1\u5668\u7aef \u5b89\u88c5\u6e90\u670d\u52a1\u5668 \u5b89\u88c5HTTP\u3001DHCP\u548cTFTP\u670d\u52a1 client \u8fd9\u4e2a\u5c31\u662f\u6211\u4eec\u8981\u5b89\u88c5os\u7684\u673a\u5668 <pre> \u4ee5\u4e0b\u662f\u4e00\u4e2a\u2026\u201d"
},
{
"logid": 1590,
"ns": 0,
"title": "Something",
"pageid": 1522,
"logpage": 1522,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2025-03-02T02:22:19Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c[[category:english]] Which story did you like best? Why? One story I really like is \"The Little Prince.\" I like it because it's not just a simple children's story.\u2026\u201d"
},
{
"logid": 1589,
"ns": 0,
"title": "Esl-work-vocabulary",
"pageid": 1521,
"logpage": 1521,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2025-03-01T08:23:22Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c* lesson 1 Arriving at Worke parking lot [\u02c8p\u0251\u02d0rk\u026a\u014b l\u0251\u02d0t]n.<\u7f8e>\uff08\u9053\u8def\u4ee5\u5916\u7684\uff09\u505c\u8f66\u573a\uff08\u5730\uff09\uff0c\u505c\u8f66\u533a lot[l\u0251\u02d0t]pron.\u5927\u91cf;\u8bb8\u591a i. \u5206\u7ec4\u2026\u201d"
},
{
"logid": 1588,
"ns": 0,
"title": "Feb26-2025",
"pageid": 1520,
"logpage": 1520,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2025-02-26T14:33:18Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c Free extra meal Add some rice ,give me more rice\u201d"
},
{
"logid": 1587,
"ns": 0,
"title": "\u9605\u8bfb\u82f1\u6587\u539f\u8457",
"pageid": 1519,
"logpage": 1519,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2025-02-03T14:42:41Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c[[category:english]] \u529e\u6cd5 \u5efa\u8bae\u5148\u542c \u518d\u770b \uff0c\u723d \u4f8b\u5982\u60f3\u770b \u300a\u72ee\u5b50\u3001\u5973\u5deb\u548c\u8863\u67dc\u300b\uff08The Lion, the Witch and the Wardrobe \u5148\u5728\u6bcf\u65e5\u82f1\u6587\u2026\u201d"
},
{
"logid": 1586,
"ns": 0,
"title": "298 The Q and A",
"pageid": 1518,
"logpage": 1518,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2025-01-05T14:11:40Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<pre> Jonathan: Well everyone, I\u2019m sure you\u2019d like to join me in thanking Michael for what was a really inspirational presentation. Sincere thanks Michael.\u2026\u201d"
},
{
"logid": 1585,
"ns": 0,
"title": "The healing power of reading",
"pageid": 1517,
"logpage": 1517,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2024-12-28T14:26:21Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c== == https://www.bilibili.com/video/BV1jUvQeREk6/?spm_id_from=333.337.search-card.all.click&vd_source=e3e41ea2b1d70e0e3a6a0372ee88d714\u201d"
},
{
"logid": 1584,
"ns": 0,
"title": "\u6253\u5370\u7a7a\u884c\u7684\u884c\u53f7",
"pageid": 1516,
"logpage": 1516,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2024-12-25T03:31:08Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c=\u6253\u5370\u7a7a\u884c\u7684\u884c\u53f7= <pre> sed -n '/^$/ =' file </pre> /^$/\uff1a\u8fd9\u662f\u4e00\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u8868\u793a\u5339\u914d\u4e00\u884c\u7684\u5f00\u59cb\u548c\u7ed3\u675f\u4e4b\u95f4\u6ca1\u6709\u4efb\u4f55\u5b57\u7b26\uff0c\u4e5f\u2026\u201d"
},
{
"logid": 1583,
"ns": 0,
"title": "\u6253\u5370 err \u76f8\u5173\u7684\u524d\u540e10\u884c",
"pageid": 1515,
"logpage": 1515,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2024-12-25T03:25:46Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c=shell= <pre> #!/bin/bash file=\"your_log_file.log\" # \u4f7f\u7528grep\u627e\u5230\u5305\u542berr\u7684\u884c\u53f7 line_numbers=$(grep -n \"err\" $file | cut -d: -f1) for num in $line_numbers; d\u2026\u201d"
},
{
"logid": 1582,
"ns": 0,
"title": "294 Picking A University",
"pageid": 1514,
"logpage": 1514,
"params": {},
"type": "create",
"action": "create",
"user": "Evan",
"timestamp": "2024-12-23T07:26:26Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c== <pre> And a semester is half of that. </pre>\u201d"
}
]
}
}