Jump to content

Yardım:Lint hataları

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

Parsoid bir sayfanın viki metnini ayrıştırdığında, vikimetinde muhtemelen hata olan kalıpları tanımlar. Bu sayfa olası sorunları belgelemektedir.

Lint hataları şu anda Linter uzantısı tarafından görüntüleniyor, bkz. Help:Extension:Linter . Gelecekte, imzanızı Tercihler olarak düzenlerken de gösterilebilirler, bkz. New requirements for user signatures .

Lint sorunlarının belgelenmesi

Yüksek öncelikli lint sorunları

Hata Description
deletable-table-tag Silinmesi gereken tablo etiketi
pwrap-bug-workaround Paragraf kaydırma hatası geçici çözümü
self-closed-tag Kendiliğinden kapanan etiketler
tidy-whitespace-bug Boşluk ayrıştırma hatası
html5-misnesting HTML5 ve HTML4'te farklı oluşturmaya sahip yanlış iç içe geçmiş etiket
tidy-font-bug Bağlantı sarma yazı tipi etiketlerinin eski davranışı
multiple-unclosed-formatting-tags Birden çok kapatılmamış biçimlendirme etiketi
multiline-html-table-in-list Listedeki çok satırlı tablo
unclosed-quotes-in-heading Başlıktaki kapatılmamış tırnak işareti
misc-tidy-replacement-issues Çeşitli sorunlar
duplicate-ids Yinelenen kimlikler
template-arg-in-extension-tag Extension tag with template parameter

Orta öncelikli Lint sorunları

Hata Description
bogus-image-options Sahte dosya seçenekleri
fostered Desteklenen içerik
misnested-tag Yanlış iç içe geçmiş etiketler
multi-colon-escape Çok iki noktalı kaçış
wikilink-in-extlink Bağlantılardaki bağlantılar

= Düşük öncelikli lint sorunları

Hata Description
empty-heading MW 1.44+ Boş başlıklar
missing-end-tag Eksik bitiş etiketi
missing-end-tag-in-heading Başlıkta bitiş etiketi eksik
stripped-tag Kaldırılmış etiketler
obsolete-tag Eski HTML etiketleri
night-mode-unaware-background-color Karşılık gelen bir metin rengi olmayan bir satır içi arka plan rengi biçem kuralı var

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.

Hata Description
fostered-transparent Fostered rendering-transparent content
large-tables Taşınabilir aygıtlarda görüntülenmesi zor olan Büyük Tablolar
missing-image-alt-text Missing image alt text