Please add [[Special:LintErrors]] rules to detect pages that have mw-content-ltr and mw-content-rtl divs without supporting dir or lang attributes. See T287701: Review usages of `.mw-content-ltr` and `.mw-content-rtl` for details.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | BUG REPORT | Jdlrobson | T287701 Review usages of `.mw-content-ltr` and `.mw-content-rtl` | ||
Open | None | T288270 Add lint error for .mw-content-ltr or .mw-content-rtl without dir or lang |
Event Timeline
Comment Actions
Is there any necessity in mw-content-ltr/rtl class if dir attribute gets defined? VisualEditor, for example, inserts just plain <span dir="ltr" lang="en"> tags in its markup, without any of these classes. Ideally, editors should do the same.