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

       Web browser: ---
             Bug #: 34470
           Summary: margin for edit section button on RTL wikis with LTR
                    user interface is on the wrong side
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: https://ar.wikipedia.org/wiki/%D9%87%D9%88%D9%84%D8%AF
                    %D8%B1%D9%8A%D8%AE_%D8%B2%D9%88%D9%8A%D9%86%D9%83%D9%8
                    4%D9%8A?uselang=en#.D8.A7.D9.84.D8.A5.D8.B5.D9.84.D8.A
                    7.D8.AD_.D9.8A.D8.AA.D9.82.D8.AF.D9.85_.D9.81.D9.8A_.D
                    8.B2.D9.8A.D9.88.D8.B1.D8.AE_.281524-1525.29
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: User login
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


On RTL wikis with LTR user interface the edit section buttons are correctly on
the left side but the margin is on the left side.

actual effective style definitions:
    float: left;
    margin-left: 5px;

expected effective style definitions:
    float: left;
    margin-right: 5px;


Untested patch for skins/common/shared.css:
----- old -----
/* Edit section links */
.editsection {
    float: right;
    margin-left: 5px;
}
/* Correct directionality when page dir is different from site/user dir */
.mw-content-ltr .editsection,
.mw-content-rtl .mw-content-ltr .editsection {
    /* @noflip */
    float: right;
}
.mw-content-rtl .editsection,
.mw-content-ltr .mw-content-rtl .editsection {
    /* @noflip */
    float: left;
}
----- new -----
/* Edit section links */
/* Correct directionality when page dir is different from site/user dir */
.mw-content-ltr .editsection,
.mw-content-rtl .mw-content-ltr .editsection {
    /* @noflip */
    float: right;
    margin-left: 5px;
}
.mw-content-rtl .editsection,
.mw-content-ltr .mw-content-rtl .editsection {
    /* @noflip */
    float: left;
    margin-right: 5px;
}

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