Wikimedia

Make MediaWiki's "Vector" skin use the "deviceWidthTablet" LESS variable

Vector is the default skin in MediaWiki. It currently uses 768px as a hardcoded value for a media query to instruct the browser to apply another set of stylesheet to the page for devices with a specific screen size. As MediaWiki provides a globally defined LESS variable (@deviceWidthTablet) for that (when a device should be considered as a tablet), Vector should use this, instead of the media query in extension.json.

Task tags

  • json
  • less
  • skin

Students who completed this task

jo12bar

Task type

  • code Code
  • web Design
close

2016