https://bugzilla.wikimedia.org/show_bug.cgi?id=27485

           Summary: block log entry duration message is broken
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Internationalization
        AssignedTo: [email protected]
        ReportedBy: [email protected]
            Blocks: 745


I recently noted that on RTL Wikipedia (such as Persian Wikipedia and Arabic
Wikipedia), the "duration" message for block log entries is rotated and the
order of words is not correct.

Example:

http://fa.wikipedia.org/w/index.php?title=%D9%88%DB%8C%DA%98%D9%87%3A%D8%B3%DB%8C%D8%A7%D9%87%D9%87%E2%80%8C%D9%87%D8%A7&type=block&user=Behzad.Modares&page=%DA%A9%D8%A7%D8%B1%D8%A8%D8%B1%3A94.182.71.175&year=&month=-1&tagfilter=

It reads:

Behzad.Modares (بحث | مشارکت‌ها | بسته شود) «94.182.71.175 (بحث)» را ۱ روز بست 

However, instead of reading as "1 days" (in Persian) it is read as "days 1".
This is because in the HTML code, the duration is surrounded by an HTML tag:

<span class="blockExpiry" dir="ltr" title="1 day">

Which has the dir value hardcoded. This breaks RTL layout and should be
reverted. Such modifications should always take place at CSS level.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to