Help:Lint errors/ja
Parsoid はページのウィキテキストを解析する際に、ウィキテキスト内で誤っていると思われるパターンを特定します。 このページでは、潜在的な問題点について説明します。
現在、lint エラーは Linter 拡張機能によって表示されます。Help:Extension:Linter も参照してください。 将来的には、個人設定 で署名を編集する際にも表示される可能性があります(利用者の署名要件の改訂 を参照)。
lint 問題の文書
優先度が高い lint エラー
- deletable-table-tag (削除する必要があるtableタグ)
- pwrap-bug-workaround (段落折り返しバグの回避策)
- self-closed-tag (自己終了タグ)
- tidy-whitespace-bug (空白文字解析のバグ)
- html5-misnesting (HTML5とHTML4のレンダリングの差異によって誤った入れ子構造となっているタグ)
- tidy-font-bug (リンクを囲むfontタグの古い仕様)
- multiple-unclosed-formatting-tags (複数の閉じられていない書式設定タグ)
- multiline-html-table-in-list (リスト内の複数行のテーブル)
- unclosed-quotes-in-heading (閉じられていない見出しの引用符)
- misc-tidy-replacement-issues (その他の問題点)
- duplicate-ids (重複しているID)
優先度が中程度の lint エラー
- bogus-image-options (不正なファイルオプション)
- fostered (誤配置された内容)
- misnested-tag (タグの入れ子構造の誤り)
- multi-colon-escape (複数コロンのウィキ間リンク)
- wikilink-in-extlink (リンク内リンク)
優先度が低い lint エラー
- empty-heading (空の見出し)
- missing-end-tag (終了タグの不足)
- missing-end-tag-in-heading (見出しの終了タグの不足)
- stripped-tag (開始タグの不足)
- obsolete-tag (廃止されたHTMLタグ)
- night-mode-unaware-background-color (背景色がインラインスタイルに存在するが文字色が指定されていない)
非表示の lint 問題
Hidden lint issues have priority set to none in the linter extension. Conceptually, these are a different class of issues than the previous categories and cover the following areas.
- They might be early explorations and experiments at defining a problematic wikitext usage -- the hidden nature lets developers / product teams fine tune the linting logic and the scope of the lint and also allow for engage in a discussion without needing immediate action and fixups. Eventually, these might either be undeployed OR promoted to a non-hidden lint issue for fixup by editors and bots.
- They might be a result of content analyses that might be used in other ways other than surfacing it in the Linter UI. In this case, the Linting product is being used for its analysis and storage capabilities and is not meant to feed direct action by editors and hence will never be promoted to a non-hidden lint issue.
Impact on wikignome workflows
With the inclusion of hidden issues as a concept, the goal is to minimize (and if possible, fully eliminate) any impact on existing workflows of wikignomes. In T334527, we worked through the places in APIs and UIs where hidden lints were showing up. If hidden lints are interfering with your workflow, add a comment to that task or file a new task against the Linter extension. What remains to be done is suppressing hidden lints from quarry results.
Suppressing hidden lints from quarry results
Additionally, editors who query the linter database replicas directly via quarry are recommended to update their queries to exclude the hidden issues in the where clause. Right now, this is going to be cumbersome and will require the enumeration of ids of hidden lint issues. But, we'll investigate providing easier options here, see T334527.
For an example of how to exclude specific linter issues from a query, see the join page on page.page_id
line in the query at w:Wikipedia:Linter/reports/Articles by Lint Errors.
List of hidden lint issues
Here is the current known list of hidden lint issues along with the lint issue ids in the database for use in SQL queries with quarry.
- fostered-transparent (id 24)
- large-tables (id 20)
- missing-image-alt-text (id 23)