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

       Web browser: ---
             Bug #: 38372
           Summary: ResourceLoader-ify Quiz CSS
           Product: MediaWiki extensions
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: i18n
          Severity: normal
          Priority: Unprioritized
         Component: Quiz
        AssignedTo: [email protected]
        ReportedBy: [email protected]
            Blocks: 29713
    Classification: Unclassified
   Mobile Platform: ---


Quiz has a load of hard coded CSS in Quiz.class.php in the parseQuiz() function

It's got some variablised direction code stuff:

$start = $wgContLang->isRTL() ? 'right' : 'left';
$end = $wgContLang->isRTL() ? 'left' : 'right';

I've moved the fully hard coded lines out to an RL css file in
https://gerrit.wikimedia.org/r/15576

This then leave 2 lines that use Quiz::getColor (I'm guessing the colours can
be changed asa form of settings...) and 5 lines that use $start and $end

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