Hilfe:Lint-Fehler
Wenn Parsoid den Wikitext einer Seite parst, identifiziert es Muster im Wikitext, die wahrscheinlich Fehler sind. Diese Seite dokumentiert die möglichen Probleme.
Die Lint-Fehler werden aktuell von der Linter-Erweiterung angezeigt, siehe Hilfe:Erweiterung:Linter . In Zukunft könnten sie auch angezeigt werden, wenn du deine Signatur in Einstellungen bearbeitest, siehe Neue Anforderungen für Benutzersignaturen .
Dokumentation von Lint-Problemen
Lint-Probleme mit hoher Priorität
- deletable-table-tag (Tabellen-Tag, das gelöscht werden soll)
- pwrap-bug-workaround (Workaround für einen Absatzumbruchfehler)
- self-closed-tag (Selbstschließende Tags)
- tidy-whitespace-bug (Leerzeichenfehler)
- html5-misnesting (Falsch verschachteltes Tag mit einer unterschiedlichen Darstellung in HTML5 und HTML4)
- tidy-font-bug (Altes Verhalten von Link-Wrapping-Font-Tags)
- multiple-unclosed-formatting-tags (Mehrere nicht geschlossene Formatierungstags)
- multiline-html-table-in-list (Mehrzeilentabelle in der Liste)
- unclosed-quotes-in-heading (Nicht geschlossenes Anführungszeichen in der Überschrift)
- misc-tidy-replacement-issues (Verschiedene Probleme)
- duplicate-ids (Doppelte IDs)
Lint-Probleme mit mittlerer Priorität
- bogus-image-options (Fehlerhafte Dateioptionen)
- fostered (Falsch verschachtelter Inhalt)
- misnested-tag (Falsch verschachtelte Tags)
- multi-colon-escape (Mehrere Doppelpunkte)
- wikilink-in-extlink (Links in Links)
Lint-Probleme mit niedriger Priorität
- missing-end-tag (Fehlendes End-Tag)
- missing-end-tag-in-heading (Fehlendes End-Tag in der Überschrift)
- stripped-tag (Ignorierte Tags)
- obsolete-tag (Veraltete HTML-Tags)
- night-mode-unaware-background-color (Die Inline-Stilregel für die Hintergrundfarbe existiert ohne eine dazugehörige Textfarbe)
Hidden lint issues
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. Right now, this is what has been enabled.
- Hidden lint issues do not show up in the Special:LintErrors page.
- The REST API endpoint for fetching lint errors on a page will suppress hidden lint issues
- T360064 will provide ways to request hidden lint issues
- ... to be completed with any other things ...
... to be completed with any other impacts not yet addressed ...
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 en: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)