Page MenuHomeMiraheze

Add right-to-left (RTL) support to the landing page
Open, LowPublic

Description

The https://miraheze.org/ landing page doesn't support right-to-left (RTL) languages, like Arabic and Hebrew. This causes incorrect display of punctuation, sentences that include English words (like the name "Miraheze"), etc.

As a start, an explicit dir="rtl" attribute must be explicitly added the <html> or <body> element when a right-to-left languages is selected (and an explicit dir="ltr" attribute must be added to ltr languages). In addition, some extra CSS fixes must probably be made in backgrounds, alignment, etc.

MediaWiki extensions do most of these things automatically using the built-in CSJanus tool, but the landing page is not built on the MediaWiki platform, so it will need something manual.