Commit graph

1203 commits

Author SHA1 Message Date
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
Translation updater bot f0327dc555 Localisation updates from https://translatewiki.net.
Change-Id: Ib4891e59a522a5c81138c814eaef13225d4d84e8
2018-04-17 22:03:33 +02:00
libraryupgrader 7fe0cc31e4 build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Ieaa717435883cd65a73f4ccb9913fb2a4f1364f9
2018-04-14 09:55:43 +00:00
Max Semenik eb145c8ce4 Don't use deprecated Sanitizer::escapeId()
Change-Id: I96354291594f1fcb8a263318e93fd1c059aa006d
2018-04-13 16:30:27 -07:00
Translation updater bot cc99dda2e4 Localisation updates from https://translatewiki.net.
Change-Id: I8c54db08bc09c2afc01abe27371ac78d429b454e
2018-04-13 21:57:49 +02:00
Translation updater bot f0dc1152f9 Localisation updates from https://translatewiki.net.
Change-Id: I1901c7160da9a1e0ccb2baba4098265d89553f33
2018-04-10 22:01:14 +02:00
Translation updater bot a9ad1609e5 Localisation updates from https://translatewiki.net.
Change-Id: Ice585d95930addb613c586f63801dc39f6aaed7d
2018-04-01 08:28:07 +02:00
libraryupgrader 893d44dbbe build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
The following sniffs now pass and were enabled:
* MediaWiki.Commenting.FunctionComment.MissingParamComment

Change-Id: Id88a6518e80a43e5c8a082f656d0e8b7eb33ecce
2018-03-29 08:12:17 +00:00
Volker E 8e79fee078 Replace #toc selector by .toc
Replacing id CSS selector by lower specific class selector.

Bug: T187808
Depends-on: I7f3a9df7f9fd1178986112b5265b1ae7c991d5b7
Change-Id: If8768278750d49e70a29d993e759f246082fefb0
2018-03-29 00:40:36 +00:00
Translation updater bot 3c90c748a8 Localisation updates from https://translatewiki.net.
Change-Id: Ide552761f767e672c8c2fb9f6147613bffb55a91
2018-03-27 21:55:14 +02:00
Translation updater bot 26df7db792 Localisation updates from https://translatewiki.net.
Change-Id: Ic4974b9fe3fb4b01b3a289dde32143cf10b63db9
2018-03-26 22:06:18 +02:00
Translation updater bot 5f3d50a56c Localisation updates from https://translatewiki.net.
Change-Id: Ia9902746d1ad0433d46f735211877becca209780
2018-03-24 22:07:42 +01:00
Translation updater bot 2bfe935bc4 Localisation updates from https://translatewiki.net.
Change-Id: I57b71720dc25c45779a8d11c8e21e814fabee954
2018-03-21 22:19:29 +01:00
Bartosz Dziewoński 1f9f35e3f8 Use consistent font size for OOUI dialogs
Everything is 14px (0.875em) now. This overrides 0.8em from MW core.

Bug: T97631
Change-Id: I978de29a082768ecebbc1750a8d09481998979a8
2018-03-20 13:02:43 +01:00
Translation updater bot 3f74e86532 Localisation updates from https://translatewiki.net.
Change-Id: I1a1b283ba6090fa41978b6814adf32ff34ca2823
2018-03-19 22:03:48 +01:00
Volker E 4de3ad227f Lower CSS specificity of #footer rules
Change-Id: Id34ed322bde783a1aaaa843b78191dab2191b4d4
2018-03-17 13:11:37 -07:00
Isarra b473ce1ff6 Remove unnecessary $portals['SEARCH'] = true;
Search is skipped in the sidebar 20 lines down regardless. This does
nothing.

Change-Id: If6d3dd21280211fa3511ce010a3f3fda6185a7ef
2018-03-17 18:50:55 +00:00
Volker E ceeee2d3d0 Remove IE6 workaround and reduce selector specificity
As we can assume that extensions and gadgets need to involve removed
higher specificity this shouldn't have any influence on working code.
Also merging `list-style` values into one property.

Change-Id: I969a0d265e18a9e94bbd22a2982f8bdd9e6574bc
2018-03-14 21:32:10 -07:00
jenkins-bot 8a3530acc7 Merge "Move class files to includes/" 2018-03-14 18:28:44 +00:00
Timo Tijhof 2fa3b7f69a Move class files to includes/
Cleans up the top-level directory a bit.

Change-Id: I29d3b8b7098def77e643232a386d8ba834d35704
2018-03-12 16:52:48 -07:00
Bartosz Dziewoński 0ee8510ce7 Remove old selectors and JavaScript for dropdown menus
Bug: T168080
Change-Id: I49006314d42a00818464a94412cb63190b59a99b
2018-03-12 23:34:32 +00:00
Translation updater bot 5db0c43a45 Localisation updates from https://translatewiki.net.
Change-Id: I854e5c120217f47675e398df6d853824d3958af4
2018-03-10 21:57:38 +01:00
libraryupgrader 26f071b036 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Id5eb8984242369af5e0bacaf533b8ea34cbabd04
2018-03-10 10:26:27 +00:00
Translation updater bot 7fd74c1169 Localisation updates from https://translatewiki.net.
Change-Id: Iecd2bee6daefb00e95baad3aa927cb6748b187b4
2018-03-09 22:03:36 +01:00
Translation updater bot b53cdbbcde Localisation updates from https://translatewiki.net.
Change-Id: I6c27334283055465b33df2dca520d6a4b2183c81
2018-03-08 22:25:35 +01:00
Translation updater bot 485ed08363 Localisation updates from https://translatewiki.net.
Change-Id: I2deef17dfc9c5970a338597b24e2c87c3fa2e7c3
2018-03-07 22:26:24 +01:00
Translation updater bot 3151afdc24 Localisation updates from https://translatewiki.net.
Change-Id: I97ac74701e32450a0b279c02da42a40ed1a0ace9
2018-03-05 22:07:12 +01:00
Translation updater bot 9d3d47adb4 Localisation updates from https://translatewiki.net.
Change-Id: Idabb533c281f4071fe84ea0c76f5bb0fe3266b5d
2018-03-01 21:59:09 +01:00
Jdlrobson 4d63b91152 Revert "Move Selenium test from mediawiki/core"
This reverts commit 68292ad0a8.

This test seems to be running on other skins that it should
not run on - for example Minerva. I'm not sure if this
is configuration related or test related.

I will follow up and restore these personally.

Bug: T188553
Change-Id: I4aa58fd021aceab1a01c288782111faeb52723f2
2018-03-01 18:00:01 +00:00
addshore 68292ad0a8 Move Selenium test from mediawiki/core
Bug: T187859
Change-Id: Ib153f1d55e4471c4dc1e16ad3c9ae0ea9f73acf5
2018-02-27 19:24:02 +00:00
James D. Forrester 2cd16d6012 build: Bump devDependencies to latest
grunt                        1.0.1  →   1.0.2
 grunt-banana-checker         0.5.0  →   0.6.0
 grunt-eslint                20.0.0  →  20.1.0
 grunt-stylelint              0.8.0  →   0.9.0
 stylelint                    7.8.0  →   8.2.0
 stylelint-config-wikimedia   0.4.1  →   0.4.2

Change-Id: I3b1c13f3fe5c4f1f90dd1db658700aecda0d0724
2018-02-26 10:29:23 -08:00
Translation updater bot 453fe279b9 Localisation updates from https://translatewiki.net.
Change-Id: Iafbd772c90f5a290a258ffdef3181267eadbcc53
2018-02-25 22:08:15 +01:00
libraryupgrader 872a719fef build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Idacdb7f86c1f866f2ca0c963a86848178ab93041
2018-02-25 13:16:42 +00:00
Translation updater bot 8551cf6d47 Localisation updates from https://translatewiki.net.
Change-Id: Iadf82e4e6b20ab8b6edb8cb17137a1734f315373
2018-02-20 22:06:25 +01:00