Jump to content

Help:Lint errors/pl

From mediawiki.org
This page is a translated version of the page Help:Lint errors and the translation is 14% complete.

When Parsoid parses a page's wikitext, it identifies patterns in wikitext that are probably mistakes. This page documents the potential issues.

The lint errors are currently displayed by the Linter extension, see Help:Extension:Linter . In the future they may also be shown when editing your signature in Preferencje ; see Nowe wymagania co do podpisów użytkowników .

Opisy błędów zgłaszanych przez lintera

Problemy składni o wysokim priorytecie

Błąd Description
deletable-table-tag Nadmiarowe znaczniki tabeli do usunięcia
pwrap-bug-workaround Obejście błędnego generowania akapitów
self-closed-tag Samozamykające się znaczniki
tidy-whitespace-bug Błąd parsowania spacji
html5-misnesting Błędnie zagnieżdżony znacznik z różnym renderowaniem w HTML5 i HTML4
tidy-font-bug Stare zachowanie znaczników font zawierających linki
multiple-unclosed-formatting-tags Wiele niezamkniętych tagów formatujących
multiline-html-table-in-list Wielolinijkowa tabela w elemencie listy
unclosed-quotes-in-heading Niezamknięty apostrof w nagłówku
misc-tidy-replacement-issues Inne problemy
duplicate-ids Zduplikowane identyfikatory
template-arg-in-extension-tag Tag rozszerzenia z parametrem szablonu

Problemy składni o średnim priorytecie

Błąd Description
bogus-image-options Nieprawidłowe opcje pliku
fostered Osierocona zawartość
misnested-tag Źle zagnieżdżone znaczniki
multi-colon-escape Wiele dwukropków poprzedzających
wikilink-in-extlink Linki w linkach

Problemy składni o niskim priorytecie

Błąd Description
empty-heading MW 1.44+ Puste nagłówki
missing-end-tag Brak znacznika zamykającego
missing-end-tag-in-heading Brak znacznika końcowego w nagłówku
stripped-tag Niekompletne znaczniki
obsolete-tag Przestarzałe znaczniki HTML
night-mode-unaware-background-color Istnieje reguła stylów inline dla koloru tła bez wskazania koloru czcionki

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. 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.

Błąd Description
fostered-transparent Osierocona niewidoczna zawartość
large-tables Duże tabele, które trudno się czyta na urządzeniach mobilnych
missing-image-alt-text Brak tekstu alternatywnego obrazu