Last modified: 2014-03-09 02:54:18 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T40372, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 38372 - ResourceLoader-ify Quiz CSS
ResourceLoader-ify Quiz CSS
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Quiz (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: i18n
Depends on:
Blocks: 29713
  Show dependency treegraph
 
Reported: 2012-07-12 23:31 UTC by Sam Reed (reedy)
Modified: 2014-03-09 02:54 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2012-07-12 23:31:27 UTC
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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links