Commit graph

918 commits

Author SHA1 Message Date
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
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