Commit Graph

12 Commits

Author SHA1 Message Date
Siebrand Mazeland 8a09ba2014 Use mediawiki-codesniffer 0.6.0
Change-Id: Ibbc42739d1bafea203c14f0ab351e7e063dc66bc
2016-03-07 14:24:27 +01:00
Ori Livneh c2a6262807 Remove IE6 CSS hover support
The hover effect is not a basic usability requirement.
Having this ancient cruft in our HTML depresses me.

Change-Id: I0ca5b3b6a6037a9ec733283c656996969cc020e3
2016-03-01 23:19:22 +00:00
Kunal Mehta ac43e74cfb Unbreak styles for installer
The installer hardcodes and expects to find a "skin.vector.styles"
module in skin.json, so moving it into a hook broke the styles. Moved it
back into skin.json, and left a comment so future developers don't make
the same mistake.

The responsive code is now a separate module,
"skins.vector.styles.responsive", which is only added to the page output
if VectorResponsive is enabled.

Bug: T106747
Change-Id: I7540b7871531ef650e799f012477cef6cdd32fb7
2015-07-23 17:05:26 -07:00
Florianschmidtwelzow 0eaadb3b14 Don't use core config in Vector skin
Vector's own configuration properties should be fetched from
Vector's own config object, instead of core's config object.

Follow up: Ib611357bbce739b1d193abaf89c228ba52613d6a

Change-Id: I358a5c1876098a85d77e90b11b3bf4e77c0f6c78
2015-07-23 07:19:47 +02:00
Derk-Jan Hartman a8f8ecf234 Fix viewport argument value to use commas
The fields separator is a , not a ;
This is a common mistake, because it was in one of the first
blogposts that discussed viewports.

Change-Id: I0b88db484c906f3c717aced67360d0f899af8f1f
2015-07-22 21:18:06 +00:00
Jack Phoenix cec2337aac Make Vector more responsive
This functionality is off by default, behind a configuration variable
($wgVectorResponsive) by popular developer demand.

CSS/LESS code by James Hare, with tweaks and testing by Jack Phoenix.

Bug: T46387
Change-Id: Ib611357bbce739b1d193abaf89c228ba52613d6a
2015-07-18 16:54:33 +00:00
Chad Horohoe 7ad814d427 wfRunHooks() -> Hooks::run()
Change-Id: Ib2c61f675bb7bbd44cec5b7a9ab68721865b4b09
2015-04-27 21:53:29 -07:00
Kunal Mehta 85d097ba4c Simplify construction of SkinVector
* Don't require a Config instance to be passed in the constructor,
  as that breaks skins that extend it.
* Don't manually register the skin with SkinFactory, use $wgValidSkinNames

Change-Id: Ie8539027c17caff35c1fc52a56676763df667fd9
2015-01-18 11:42:39 -08:00
Bartosz Dziewoński 4cec8a7058 Remove CSS transition on window resize
They do more harm than good.

We still have the "HD" and "non-HD" styles, just no smooth transitions
between them.

Bug: T85614
Change-Id: I52dd9883eb4e7df00f0613182d4adaa3f28fe5b7
2015-01-15 14:30:02 -08:00
Kunal Mehta 9ff29df16a Make it obvious the config object belongs to the Vector skin
Change-Id: Id4504565feedaa31e170ea21782fed8043511b31
2014-08-16 13:19:26 -07:00
Kunal Mehta 83707028e5 Use SkinFactory to register skin, and Config instead of globals
Change-Id: Ic90969e5d71458c880f2b59e160ffedd7a5ac9be
2014-08-13 16:46:22 -07:00
Bartosz Dziewoński d28f09df31 Move Vector skin from core
This is the final step of the process described at
<https://www.mediawiki.org/wiki/Separating_skins_from_core_MediaWiki>.

Corresponding core change: Idfc38503.

Change-Id: I84fcf7ce6385b8323544cafe6912a00f1886d20d
2014-08-07 13:38:34 +02:00