-
Notifications
You must be signed in to change notification settings - Fork 3
readOnly
Bhsd edited this page Apr 18, 2026
·
3 revisions
This is an internal document. For visitors, you can now go back to the home page.
// readOnly (main)
var {readOnly} = require("../mixin/readOnly");
var obj = {
f() {
return Parser.viewOnly;
},
};
obj.g = readOnly()(obj.f).bind(obj);
obj.h = readOnly(true)(obj.f).bind(obj);
Parser.viewOnly = true;
assert.strictEqual(obj.g(), false);
assert.ok(Parser.viewOnly);
Parser.viewOnly = false;
assert.strictEqual(obj.h(), true);
assert.ok(!Parser.viewOnly);对维基文本批量执行语法检查的命令行工具
轻量级的维基模板解析器
维基文本语言服务器协议实现
用于维基文本的 VS Code 扩展
A command-line tool that performs linting on Wikitext in bulk
A lightweight Wikitext template parser
An implementation of the Language Server Protocol for Wikitext
VS Code extension for Wikitext