Commit graph

5486 commits

Author SHA1 Message Date
Bartosz Dziewoński f010a2d8b8 Use exactly calculated value to work around a Chrome bug
Height of 3.1em calculates to 40.3px here, which is larger than the
parent element's height of 40px, apparently causing the background-image
to disappear after the rotation animation is removed.

Bug: T196610
Change-Id: I1458be6408699723977ccb589ed8d760f4ac7941
2018-06-26 21:18:34 +02:00
Translation updater bot 53a6d3a22f Localisation updates from https://translatewiki.net.
Change-Id: I0e8858bc35ec69f165f98baa844cb7154578f287
2018-06-24 22:09:43 +02:00
Translation updater bot f256ded310 Localisation updates from https://translatewiki.net.
Change-Id: If93b321f5f99e0bf5cbf7720066a389cb3462785
2018-06-21 22:27:13 +02:00
Translation updater bot 9e2bab234c Localisation updates from https://translatewiki.net.
Change-Id: I3805dc58fcd9f246c49cbe5f7c57a7971629e323
2018-06-16 22:06:51 +02:00
Translation updater bot f282f793ab Localisation updates from https://translatewiki.net.
Change-Id: I191f8544647940e2bbd74447d4cfca521dfc825a
2018-06-15 22:14:00 +02:00
Translation updater bot f2bbb3774d Localisation updates from https://translatewiki.net.
Change-Id: Ib3a5f8df481d2d527411d35f4a223b9682f75887
2018-06-14 22:18:19 +02:00
Translation updater bot e8284a2e91 Localisation updates from https://translatewiki.net.
Change-Id: I36ecdda16296f5d80a2242124f1184cb1f408860
2018-06-13 22:07:33 +02:00
jenkins-bot 7fd98697f1 Merge "Let Html::element do the output encoding" 2018-06-12 19:52:25 +00:00
Fomafix eccd074386 Let Html::element do the output encoding
Change-Id: I07913d3cd1851df06de912a0257b01a5fae7c125
2018-06-12 16:56:24 +02:00
Fomafix 44fd986540 Use $this->getMsg instead of wfMessage
Change-Id: Ief31c2d9037b5786657507e28ae75b6e467cccb4
2018-06-12 16:39:57 +02:00
Translation updater bot 5a964ea134 Localisation updates from https://translatewiki.net.
Change-Id: I86327e7ef36c18ce9d62b986cbc2f877b6ce11eb
2018-06-11 22:17:33 +02:00
Translation updater bot 4e8e303105 Localisation updates from https://translatewiki.net.
Change-Id: Ic9a7d53d55641f106bfbb53d4a2cb8544603813d
2018-06-10 22:04:18 +02:00
libraryupgrader ef41c7876f build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I4be191a516c87938daf20bf3bc8f06b22206fb8d
2018-06-08 08:20:14 +00:00
Translation updater bot d2d4f348d1 Localisation updates from https://translatewiki.net.
Change-Id: I81a9029d1888aeb3f07e5235d0817dab3c62225e
2018-06-07 23:22:45 +02:00
Translation updater bot 6b6b2bda6d Localisation updates from https://translatewiki.net.
Change-Id: I79aa213768b2fa92a30dfecc59b867cd1f052fa8
2018-06-05 22:01:16 +02:00
Translation updater bot 1d44463f07 Localisation updates from https://translatewiki.net.
Change-Id: Ic82b72c3dceee0a2e8f1cb46f4fca4aeafe491ef
2018-06-04 22:30:14 +02:00
Translation updater bot 9c817cdc86 Localisation updates from https://translatewiki.net.
Change-Id: Id8d75ca8749a4be63eb54eb36f71e6a4a0dd18e6
2018-06-03 22:19:07 +02:00
Translation updater bot 9d7d4b455b Localisation updates from https://translatewiki.net.
Change-Id: Ied8c5a7a502018b18ad8e2a5552a45e43a45a778
2018-06-02 22:27:07 +02:00
Translation updater bot 708fcac6fc Localisation updates from https://translatewiki.net.
Change-Id: I88493dc83000a4af058906f3fa3f9858cf1a300b
2018-06-01 22:07:11 +02:00
Translation updater bot df443f3b40 Localisation updates from https://translatewiki.net.
Change-Id: I0862bd1410313e39e68e5899166400c5429c1809
2018-05-31 22:12:03 +02:00
Timo Tijhof feca6b276b Remove unused margin/padding override for '#mw-head h3'
Matches the following 6 elements:

1. h3#p-personal-label
   Hidden per `#p-personal h3`.

2. h3#p-namespaces-label
3. h3#p-views-label
   Hidden per `div.vectorTabs h3`.

4. #p-search h3
   Already has its own margin and padding that override
   this override.

5. h3#p-variants-label
6. h3#p-cactions-label
   Margin overriden by `div#mw-head div.vectorMenu h3`.
   Moved padding there as well.

This last one is the one the styles were originally intended for,
because the tabs that the menus align with also don't have padding.

The other instances of an 'h3' within mw-head, however, were not
vector menus and even if they didn't have their own padding
already or weren't display-none, then it's unlikely they would
want to align with the unrelated vectorMenu styles, e.g. the
p-personal area is quite different and just happens to be in
the same parent element as an h3.

Change-Id: Id127ead7a50fcd64821442afd0e781f97756502f
2018-05-31 10:23:30 +00:00
Translation updater bot 426230807c Localisation updates from https://translatewiki.net.
Change-Id: I00e284dd80a751bfc328359d97bf38ad222be489
2018-05-30 22:09:59 +02:00
Volker E 0a0ddcc581 Align tabs and search input font-size
Bumping font-size slightly up from 12.8px to 13px and unify it on
Vector tabs and search input.

Change-Id: Ia2e2d623b19fba2566db36b9800102d52130af6b
2018-05-30 01:45:31 +00:00
Translation updater bot fa92823789 Localisation updates from https://translatewiki.net.
Change-Id: Ie2d7980f0d3b756b98e8e0e8ac16a06a667fcc1d
2018-05-29 22:05:23 +02:00
jenkins-bot c4e781f3df Merge "Don't crop Burmese language headers" 2018-05-29 04:05:30 +00:00
Translation updater bot e3c7bbbdf8 Localisation updates from https://translatewiki.net.
Change-Id: I15f51191f488ab69c9fdabef6166fdcc1b0cfdfe
2018-05-28 22:21:58 +02:00
Translation updater bot 0ad5ede208 Localisation updates from https://translatewiki.net.
Change-Id: Icf1215b84e3945c143c0d55b929736ad0059eb73
2018-05-27 21:59:14 +02:00
Translation updater bot a1cbaa36d1 Localisation updates from https://translatewiki.net.
Change-Id: I9e08898d83d64e95215c7148d856a8728b40f841
2018-05-26 23:14:56 +02:00
libraryupgrader 3d94085878 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I867377f16de7b60c76c8e0baccddfd0f837f1144
2018-05-26 08:52:10 +00:00
Translation updater bot b7350372af Localisation updates from https://translatewiki.net.
Change-Id: Id3527861399991b6fd9d6cec3e3b3997b8f7a349
2018-05-25 21:59:39 +02:00
Translation updater bot a55d9b3e21 Localisation updates from https://translatewiki.net.
Change-Id: I32d1b7a5db51054ded19a14db4ea48fe7795e4d9
2018-05-24 21:56:08 +02:00
Volker E 186db29808 Don't crop Burmese language headers
Burmese (Myanmar) language headers get cropped with currently applied
`line-height` setting. Resetting it fixes this.

Bug: T193270
Change-Id: I81c6c1ac9148c122432506be0c1b35f648214d6c
2018-05-24 13:01:05 +02:00
jenkins-bot 9ebc80ec76 Merge "Remove IE 6 specific code" 2018-05-24 00:39:12 +00:00
jenkins-bot e0502f027c Merge "Re-implement and improve mw-jump links with pure CSS" 2018-05-24 00:31:29 +00:00
Volker E 0f7a56e95c Remove IE 6 specific code
Removing further CSS for Internet Explorer 6.
Follow-up to I0f98c61cf9108c0a91769e9b7044023b01f974ed.

Change-Id: I85a7570c97f9b618a7946dc20367b54e72d31b3e
2018-05-24 02:17:30 +02:00
Timo Tijhof b843094a2d Re-implement and improve mw-jump links with pure CSS
* Improve their accessibility by giving both links
  a full label "Jump to x" and "Jump to y" instead
  of "Jump to: ", "x", "y".

  This also makes things much better for localisation, for which
  we generally discourage use of concatenation.

* Use pure CSS for the toggling of the visibility on focus,
  instead of relying on JavaScript. Especially given the
  JS comes form core's 'jquery.mw-jump' module, which is
  considered technical debt per T195256. Alternatively,
  that could be copied to vector.js, but pure CSS
  is possible, so why not.

* Use plain <a> links in the HTML instead of wrapped in a <div>.
  This solves the long-standing problem whereby the margin
  between #contentSub and #mw-content-text had to be awkwardly
  negated and overridden in core and on various to make sure that
  the wrapper itself would become visible as needed, in a way that
  has margin around this. This whole problem doesn't apply when
  simply using inline links that aren't part of the regular flow
  with .mixin-screen-reader-text. On focus, the individually
  focussed link appears in regular flow, without the need for
  any custom styles.

* This uses :not(:focus) to naturally make it render in the default
  way on focus, and visibibly hidden/clipped otherwise.
  This is supported in IE9+ and Android 2+.
  There is a way to make it work with CSS2 for IE7-8, by applying
  the mixin to '.mw-jump-link' only and then undoing all of
  'position', 'width', 'height', 'clip', and 'margin' on :focus.
  But I'm not sure that's worth it here. The fallback in IE7-8
  for not supporting ":not(:focus)" is that the accessibility
  link is simply visible always, which seems like a good fallback
  for accessibility, and doesn't hurt anything.

Bug: T195256
Change-Id: Icaadb290f692b3617688d32cbb66dfb007f1c82c
2018-05-24 00:08:02 +00:00
Volker E fff89b5352 Lower CSS selector specificity on Vector tabs and menu
Lowering selector specificity, higher specificity is unneeded here.

Change-Id: I36779db2d526e1496d2ddcb70ce86968e0d8ad39
2018-05-23 13:52:41 +02:00
Volker E 73eb37394d Remove special Vector tabs CSS for IE 6
Removing special CSS for Internet Explorer 6.
It's mid 2018 and users will still be able to read
the content if they have to.

Change-Id: I0f98c61cf9108c0a91769e9b7044023b01f974ed
2018-05-23 10:44:40 +02:00
Kunal Mehta 5d962c88b2 Upgrade mediawiki/mediawiki-phan-config to 0.2.0
Notably, this suppresses PhanDeprecatedFunction by default.

Change-Id: I188a3894c4b974b65ef96e325323f70f4708aaa8
2018-05-21 09:17:50 -07:00
Translation updater bot b80e2c8ccd Localisation updates from https://translatewiki.net.
Change-Id: Ic72a6eaa564b66c09d42c2b33962cfe658769920
2018-05-20 22:27:31 +02:00
Translation updater bot ebb2ef8dc5 Localisation updates from https://translatewiki.net.
Change-Id: I6b09a843355ded66f7c1a739374e95515046e386
2018-05-18 22:26:15 +02:00
Translation updater bot 0819a3b007 Localisation updates from https://translatewiki.net.
Change-Id: I1e9c5116cdd7516381aecdd06b43f1f8a75d8db2
2018-05-08 22:01:00 +02:00
Translation updater bot 458095e570 Localisation updates from https://translatewiki.net.
Change-Id: I56a5a4a42c8e4c2f8cd6b64295684cb5f9f96c8e
2018-05-05 21:57:31 +02:00
Phantom42 0363a54bf4 Add phan configuration for static analysis
Bug: T179554
Change-Id: I587285fb3687541233156e19e24cd448e9a7976a
2018-05-02 14:16:00 -07:00
Translation updater bot 971a0bdfa9 Localisation updates from https://translatewiki.net.
Change-Id: I61d19250c1f53f6ae1ce963c3e80709ada74f91b
2018-04-30 22:04:12 +02:00
Translation updater bot ff17dfc9a3 Localisation updates from https://translatewiki.net.
Change-Id: I24e7fcbf7fd4060c0fd146c2990aca173b9604de
2018-04-29 22:08:11 +02:00
Translation updater bot 317467b7ef Localisation updates from https://translatewiki.net.
Change-Id: I0530ad1a5e71318da5cf30e428276db736fb9caf
2018-04-25 22:24:49 +02:00
Translation updater bot 6330395cfd Localisation updates from https://translatewiki.net.
Change-Id: I5fe95a9116f420b3fef1d64b959744456b4f62b2
2018-04-24 22:01:45 +02:00
Translation updater bot 781162b9ab Localisation updates from https://translatewiki.net.
Change-Id: Iecf3d1ae5118c03af8d0a04febbf91c2adcc12fc
2018-04-23 22:14:51 +02:00
Translation updater bot fc4a8a1a9f Localisation updates from https://translatewiki.net.
Change-Id: I6d7a989c5aae248f16b3bd938c651c460c7b9753
2018-04-18 21:56:58 +02:00