Commit Graph

868 Commits

Author SHA1 Message Date
Santhosh Thottingal
146426ffe7 Remove fonts for Odia(or) from fontrepo
Remove non-default Utkal font - Its upstream is unknown now.

Change-Id: Iefa9eeaf953d87d4a5c8766fa575d61f9bd96d2b
2017-11-13 15:31:27 +05:30
Santhosh Thottingal
c0bbd9efc1 Remove Tamil fonts from fontrepo
* These fonts are with no upstream now and little known among
  Tamil users.
* Tamil is very well supported in all operating systems
  now a days.
* Also reduce the metadata size for fontrepo

Change-Id: I4e7afb6476a4714f8d87bd2a048309b732883b2f
2017-11-13 15:26:59 +05:30
Santhosh Thottingal
28c0ba6bca Remove fonts for Malayalam from font repo
* I maintain these fonts in upstream and there we several releases
  since these fonts were added.
* Malayalam has better support in operating systems compared to 2012
  when these fonts were added.
* Reduce font metadata size for wikipedia pages when webfonts are
  enabled.

Change-Id: Ie5b54cc866b1c67849b094a9701b2c80d876b55f
2017-11-13 09:16:58 +00:00
Santhosh Thottingal
6bddc79773 Remove Lohit family of fonts from fontrepo
* The languages covered by these fonts are now available in all
operating systems.
* These fonts are not updated for years in our repo
* Saves the amount of font repo data we deliver for *every wikipedia
  page* when webfonts is enabled

Change-Id: Ia0f1b6acc4cf8b7a354671bea47b58425ab8c08e
2017-11-13 09:16:22 +00:00
Santhosh Thottingal
4f3461a9aa Remove autonym font and its usage
I no longer maintain the Autonym font.
Also remove the tofu detection.

Bug: T135464
Bug: T135465
Change-Id: I103aab40ea5f5fc403a7ee5b23d1b634cc9c6ee1
2017-11-13 08:03:12 +00:00
jenkins-bot
29fe7733ac Merge "Align SVGs to WikimediaUI color palette and optimize" 2017-11-02 08:31:36 +00:00
Volker E
8291331f5e Replacing left-over #565656 with WikimediaUI palette color
Another remainder.

Change-Id: Icfa93be50f7b6fa868dd554fd1d8967b9c5bd9e9
2017-11-02 00:35:48 -07:00
Volker E
c8b391564e Align SVGs to WikimediaUI color palette and optimize
Aligning SVGs to WikimediaUI color palette, optimizing
by help of SVGO and align markup to each other, among changes:
- unifying XML declaration
- removing `standalone=no` as it's default
- adding `viewBox` attribute for cross-browser compatibility
- removing unnecessary groups and ids where applicable
- unifying identation
- bringing attributes in order

Bug: T178867
Change-Id: Ie7803dd904cee14fa401331e082982794dc0a225
2017-11-02 00:25:40 -07:00
jenkins-bot
99f231929e Merge "Move buttons further to the side of dialog" 2017-11-02 06:52:26 +00:00
Volker E
29f3ac245b Move buttons further to the side of dialog
Moving apply and cancel buttons to align with padded edge of dialog
in order for resembling “final” state of buttons better.

Bug: T175295
Change-Id: I96b8b6dc3a3fca907a8f5d2923a19b0f86172c61
2017-11-02 11:48:26 +05:30
jenkins-bot
5c8b77d35a Merge "Introduce CSS class to enable lower specificity style overrides" 2017-11-02 06:12:34 +00:00
jenkins-bot
d9e3455f4b Merge "Replace settings block rounded gradient with color" 2017-11-02 06:06:21 +00:00
Volker E
8605fa8bf3 Introduce CSS class to enable lower specificity style overrides
Making `#language-settings-dialog` carry the same CSS class
`.language-settings-dialog` to be able to override it in theme styles
more sanely. Follow-up to Id9c8652820641d6.

Bug: T175295
Change-Id: I1aa69f8701ed6d6cb2ed59cabf11332f2a10d21f
2017-11-02 07:40:39 +05:30
Volker E
31477ad0ec Replace settings block rounded gradient with color
Replacing vertical background gradient with single color, as no
faux 3D gradients are part of current style guide.

Change-Id: If98a6cb22a9551a5d69d782759eadd5cec7e0efc
2017-11-01 13:38:52 -07:00
Volker E
cddc280c20 Align .mw-ui-pressed to OOUI's active button state
Aligning `.mw-ui-pressed`, which is only available in ULS
to OOUI's active button state. It features an Accent10 blue border
for a cleaner appearance.

Change-Id: I147547cab74de2d84fb88d6e232b08fc8c4f4907
2017-11-01 12:48:55 -07:00
Amire80
cc1dd9fe8c Show the same tooltips on compact language links
The tooltips include the title of the target article
and the name of the language in the user's language.

Bug: T160976
Change-Id: If3dd416e4a6f13b7b1366d30a1a3807a505346cb
2017-10-11 10:01:47 +03:00
jenkins-bot
45d4fa628f Merge "Replace color with normal text color" 2017-10-10 17:07:25 +00:00
Volker E
2685cfaea0 Use WCAG level AA conforming WikimediaUI color
Applying WCAG level AA conforming WikimediaUI color `#54595d`
instead of library out-of-box one.

Change-Id: I6cbce473f1235bb29dac95e8129445e8bf0a8c20
2017-10-09 19:52:10 -07:00
Volker E
3742e335ec Replace color with normal text color
Replacing color, which is used for `:hover` text with normal
running text color `#222`.

Change-Id: Ib328b71c7f5ef1e89d2e516ccbdc68b6fdd570b0
2017-10-09 19:12:53 -07:00
Fomafix
7c9e64a48a Remove support for MediaWiki version 1.26
Change-Id: I9ad5e87fa335b2b94840c3b3da4e921a41c71d9c
2017-09-24 21:53:26 +02:00
Volker E
9333db6328 Align box shadow and colors to WikimediaUI Style Guide
Aligning `box-shadow` and `color` values to WikimediaUI Style Guide
defaults.

Bug: T175295
Change-Id: If5f75e57081112c4ce60b04a1061aeae48c25353
2017-09-20 00:33:11 -07:00
jenkins-bot
5270ee4b06 Merge "Follow core base font-size in Vector" 2017-09-08 09:00:12 +00:00
Volker E
31a8422a0c Follow core base font-size in Vector
Following core base font-size of `0.875em` in Vector to align with
other elements on the page.

Bug: T175295
Change-Id: Id9c8652820641d6fa1c6b1dd06247967ba649f25
2017-09-07 18:48:01 -07:00
Volker E
7e228ecb02 Use consistent close icon
Using close icon of WikimediaUI icon collection, which is also
already in use by OOUI.

Bug: T50067
Bug: T175295
Change-Id: I83e435a7215708c5a5eae77eeca29632ed64f608
2017-09-07 16:54:26 -07:00
Volker E
dc99a4eb80 Align border-radius values with WikimediaUI
Aligning `border-radius` values with WikimediaUI design, which
sets value to `2px`.

Change-Id: I7fd7bc5290fe781bfa02c3d5b74071b68cb22660
2017-09-07 06:43:55 +00:00
Volker E
fd0bb2600b Replace outdated colors with WikimediaUI palette ones
Replacing all colors with current WikimediaUI palette ones.
Also:
- changing two files over to LESS in order to
 - make use of central gradient mixin instead of one with
   unnecessary vendor extensions and
 - concatenating selectors in one occurrence.

Bug: T174237
Change-Id: I5d302f29b079f6abdba5abf3b58d6ba254e1a4ac
2017-09-06 13:04:00 -07:00
Isarra
86c636fd0a Fix directionality of ULS CLL and languageselect callouts
when appearing on right side of screen

Languageselect was mostly fixed in 354378, but I forgot the
settings ones, so the triangle just disappears when
switching dialogs currently. This follows up on that and
properly fixes it.

Sidebar callouts now appear toward content regardless of
where they're appearing from, or the language
directionality. Triangles are now consistently alligned to
the top of the callout (same position in languageselect and
compact language links) to avoid issues with it appearing
over a scrollbar.

Sideways callout triangles (carets) are consolidated into a
single rendering approach and mixin across compact language
links and toolbox language selector.

Bug: T161586
Change-Id: I7717e26525ac527ede486796f49083ed40ee7d4f
2017-08-10 23:48:34 -04:00
Bartosz Dziewoński
fa0ad11222 Fix positioning of the language change popup when sidebar is on the right
This fixes the same issue as 1d395d4966,
but for the little language change popup (shown after you change the
language) instead of the main interface.

Change-Id: I28d3e8baeebf4619f4f810869c8a2a3fb60496d9
2017-08-10 18:32:12 -04:00
Amire80
757d28b114 Show languages from the Babel box on the user page
Bug: T135371
Change-Id: Ieeaf446326be93a779df3e6bd7a8dca899950a6c
2017-05-30 17:25:23 +03:00
Bartosz Dziewoński
1777dc329b Fix callout positioning logic
Follow-up to 1d395d4966. We were
measuring the wrong $window, which happened to work right most
of the time but wasn't correct.

Change-Id: I50f91623b304f43be58ebac844d507757f56db45
2017-05-20 11:08:30 +02:00
Isarra
1d395d4966 Determine callout directionality based on position as opposed to language
For interlanguage toggle, interlanguage position is no longer assumed to be a
left sidebar, and is determined on the fly in order to appear correctly
regardless of where it is, and not go off the side of the page. This works
across most skins, and regardless of language directionality.

Does not necessarily resolve issues with interlanguage links appearing in the
middle of the page (header/footer), or the callout just plain not fitting for
other reasons (mobile devices).

bug: T161586
Change-Id: Icd55498a945e12c0ff79ba891c094d60ce791115
2017-05-19 04:55:24 +00:00
jenkins-bot
499c459c5d Merge "Fix tooltip positioning in older MediaWiki versions" 2017-04-28 09:00:03 +00:00
Niklas Laxström
4f65980301 Fix tooltip positioning in older MediaWiki versions
Bug: T164052
Change-Id: I931dff9d027bf8d8b54ed87816e2cb23c8a25f00
2017-04-28 08:30:40 +00:00
Kartik Mistry
eb8eed98e9 Add Sundanese font
Bug: T162221
Change-Id: Iabf1a22838bd4375be9c8ed3aabad9205523ef8e
2017-04-19 08:42:19 +00:00
Fomafix
bd9a734fb3 Prettify JSON in ext.uls.webfonts.repository.js
Use a prettifyed JSON with tabs for indenting. In non-debug mode the
whitespaces get removed by the minimizer.

Change-Id: I17f4ebabccdada3c2ad45a7e0119a4f246de0ebb
2017-04-16 23:06:07 +02:00
Bartosz Dziewoński
66c66f6a28 Better language change tooltip positioning in 'interlanguage' mode
Bug: T161203
Change-Id: I1c5afd64295033e2fbb0aa07601af50da8e06266
2017-04-04 17:42:49 +02:00
Bartosz Dziewoński
1414157338 Fix language change tooltip positioning
Use OOjs UI PopupWidget's new built-in positioning to position
the popup relative to the ULS trigger.

Bug: T161203
Change-Id: I3af45e2e3dbaea5f2e6435dd919a8bc7374e486e
2017-04-04 01:38:28 +02:00
Amire80
dcd53534f6 Comment spelling correction
Change-Id: I247644c71f981d7d57304468cab31b4e3057bb81
2017-03-11 16:24:35 +02:00
jenkins-bot
69ef21dd3c Merge "ULS link text is rendered connected to the word before it" 2017-02-20 13:32:33 +00:00
James D. Forrester
16db940d1f build: Bump stylelint and make pass
grunt-stylelint              0.6.0  →   0.7.0
 stylelint-config-wikimedia   0.3.0  →   0.4.1

Change-Id: Id87b8df04d415e1f1058a4042a31408236402037
2017-02-17 16:27:15 -08:00
Huji Lee
c29cdb6d41 ULS link text is rendered connected to the word before it
Bug: T152460
Change-Id: Ibbd726a1c41bde9575ac0d432bdd6b62e6c419a0
2017-02-11 03:04:53 +00:00
jenkins-bot
7ac4ec9f19 Merge "Use an empty array instead of the uls-p-lang-dummy list item (JS)" 2017-02-06 04:56:15 +00:00
Fomafix
3ec9a325a4 Use module 'mediawiki.storage' from core to access localStorage
This change requires MediaWiki version 1.26 and removes support for lower
versions.

Bug: T153635
Change-Id: Ia74e16cb08e8cb1f15196a98329e2994b0283edb
2017-01-20 17:19:46 +01:00
Fomafix
47cfd9c1ae Replace $( document ).ready(...) by $(...)
In jQuery 3 $(document).ready(...) is deprecated.
https://jquery.com/upgrade-guide/3.0/#deprecated-document-ready-handlers-other-than-jquery-function

Change-Id: I1a9f578d8cf8fa2d9dd38a1b2d3a0b3c32914b74
2017-01-06 14:10:55 +01:00
Fomafix
f6023ec051 Use an empty array instead of the uls-p-lang-dummy list item (JS)
This change is the JavaScript part of change
I54a18f5bd85a8261a25e1160dda7a33fbdf3dd7b.

This change should get deployed when the HTML caches of change
I54a18f5bd85a8261a25e1160dda7a33fbdf3dd7b has expired.

Change-Id: Id7f429d9d1217316341102e27389711525f17b2d
2017-01-04 14:24:02 +01:00
jenkins-bot
1cd5cea980 Merge "Move interface styles to ext.uls.interface.css" 2016-11-11 08:05:27 +00:00
jenkins-bot
3befb0d269 Merge "build: Replace jscs+jshint with eslint" 2016-11-10 05:06:17 +00:00
Ed Sanders
811944c49a build: Replace jscs+jshint with eslint
Change-Id: I7f114267fbb4efd62a9162758445cff4fb3c0973
2016-11-09 15:57:38 +00:00
Fomafix
337e0aef8c Move interface styles to ext.uls.interface.css
This change avoids loading of not needed styles for non-JavaScript client.

Change-Id: Ieaca5098181d1e922b940ed339fcee7bad8741b4
2016-11-08 16:46:00 +01:00
jenkins-bot
02b1e6fa99 Merge "Use mw.msg() for parameter substitution" 2016-11-07 15:52:52 +00:00