-
Notifications
You must be signed in to change notification settings - Fork 2
types (EN)
✅ Expand
Parse configuration.
property: ext
extension tags
type: string[]
property: html
HTML tags
type: [string[], string[], string[]]
property: namespaces
namespaces
type: Record<string, string>
property: nsid
namespace IDs
type: Record<string, number>
property: parserFunction
parser functions
type: [Record<string, string>, string[], string[], string[]]
property: doubleUnderscore
behavior switches
type: [string[], string[]]
property: protocol
external link protocol
type: string
property: img
image parameters
type: Record<string, string>
property: redirection
magic words for redirection
type: string[]
property: variants
language variants
type: string[]
property: interwiki
interwiki prefixes
type: string[]
property: conversionTable
unidirectional conversion table, optional
type: [string, string][]
property: redirects
redirects, optional
type: [string, string][]
property: articlePath
$wgArticlePath
, optional
type: string
✅ Expand
Grammar error.
property: rule
rule name
type: LintError.Rule
property: message
error type
type: string
property: severity
error severity
type: 'error' | 'warning'
property: startIndex
start position
type: number
property: endIndex
end position
type: number
property: startLine
start line
type: number
property: endLine
end line
type: number
property: startCol
start column
type: number
property: endCol
end column
type: number
property: fix
auto-fix, optional
type: LintError.Fix
property: suggestions
suggestions, optional
type: LintError.Fix[]
✅ Expand
Fix suggestion for grammar error.
property: range
start and end positions
type: [number, number]
property: text
replacement text
type: string
property: desc
description
type: string
对维基文本批量执行语法检查的命令行工具
用于维基文本的 ESLint 插件
A command-line tool that performs linting on Wikitext in bulk
ESLint plugin for Wikitext