Commit Graph

3020 Commits

Author SHA1 Message Date
Ed Sanders
447c09d462 build: Update linters
Change-Id: I45540db95711b461ded3630894bd1f149c24ff19
2017-11-29 15:02:47 +00:00
Niklas Laxström
c2f0e297f5 Update jquery.uls to 98fff1b
* Translation updates
* Change for SVG background image styles
* Use searchAPI always when provided

Change-Id: I5a90d76d5acc1939cc7b670df43c4ea3347dfcb3
2017-11-29 14:11:17 +01:00
Volker E
72cf0a7f23 BetaFeatures SVGs: Merge logo and title path
In the process of updating BetaFeatures logo it got
identified that the logo is better marked up as one
`<path>` element.
Follows up I57f2f4890e980992db2c25506bbdc330530d67b1

Bug: T180427
Change-Id: I3bd8eb032943e00c93975db2911a9f7d26c0bcb2
2017-11-28 16:06:05 -08:00
Volker E
300d69b92d Unify BetaFeatures SVG screenshot markup
Unifying BetaFeatures SVG screenshot markup by:
- changing `id`s for better readability,
- sorting attributes,
- using full pixel values where applicable and
- generalizing attributes on `g` where applicable

Also fixing a visual glitch in the RTL version.
Follows up Idace90e945a2bd5efa869ee717224274fd94e91a.

Bug: T180427
Change-Id: I57f2f4890e980992db2c25506bbdc330530d67b1
2017-11-27 19:40:49 -08:00
Niklas Laxström
e87dd20cdd Improve ULS language search api
* Store prefixes and infixes separately in the data
* First match language code, then prefixes, then infixes
* Try to use suggestion either in user language or autonym first
* use formatversion=2 to avoid escaping Unicode

Using Language::fetchLanguageName might can have a small
performance impact. On the other hand there is now check
to skip languages we already found, avoiding some fuzzy
matching.

This is in a preparation for a change in jquery.uls to use
the search API more, while trying to reduce the amount of
weird autocompletion suggestions we show to the user.

Bug: T73891
Change-Id: Id94c5352d9a591969bf90144d1d2d5e758d08301
2017-11-27 14:57:42 +01:00
Kartik Mistry
ca45dc7404 Update eslint and stylelint and fixes
Change-Id: I02e615e0efa95b673702f1ce8c957a37397ced13
2017-11-25 08:34:04 +05:30
Niklas Laxström
a353c5ab65 Perform search on every word of language name
See e.g. T132021. This favours coverage over quality.

Change-Id: I3fc8fb1702802bc002c3d7e2941563840914f325
2017-11-23 09:14:10 +00:00
Prateek Saxena
a9dc4a0f1a betafeatures icons: Correct contrast between light blue and gray
Change-Id: Idace90e945a2bd5efa869ee717224274fd94e91a
2017-11-23 11:41:33 +05:30
Prateek Saxena
963ce22b9f Update colors betafeatures icon
Updated light gray (Base80) and light blue (Accent90).

Old: https://phabricator.wikimedia.org/F10912040
New: https://phabricator.wikimedia.org/F10912039

Bug: T180427
Change-Id: I88d74a0b7447a9a3effb0bb56f3666991558f1fd
2017-11-21 11:23:55 +05:30
Translation updater bot
4bebe4de8b Localisation updates from https://translatewiki.net.
Change-Id: Iabd10029fcfd61acac78aa26330824986054f817
2017-11-17 23:01:45 +01:00
Translation updater bot
9ccf594a8d Localisation updates from https://translatewiki.net.
Change-Id: I3d333b92e57439872356035f6c2adaa1d92ebd79
2017-11-15 22:42:04 +01:00
Santhosh Thottingal
dc84413373 Remove Madan font for ne
* Unknown upstream
* Not updated for years
* ne has better support in operating systems
* Non-default font for ne

Bug: T180422

Change-Id: Ife0b81e4db3bc069752d89c53f4690ddcfad7ef3
2017-11-14 15:49:35 +01:00
Santhosh Thottingal
d5f0666025 Remove non-default Gubby font for Kannada and Tulu
Bug: T180422
Change-Id: I78af0a3889e48625ebb38b1b212cb8b454a5639c
2017-11-14 15:23:09 +01:00
Santhosh Thottingal
07087dbb06 Remove ttf format from repo and thereby from fontface css
TTF files are not removed, the entries for them from the repo
is removed. Generated CSS will also skip ttf.

TTF format is not required for any browser now a days.
https://caniuse.com/#feat=woff

Change-Id: I018e74f6a50e63f55adeca480c03124092fba015
2017-11-14 09:23:55 +05:30
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
Umherirrender
679e58758b build: Always exclude node_modules
Change-Id: I5c7beae0a2f99f374ecb9ce9682cd1a3550f19ce
2017-11-11 18:41:23 +01:00
Translation updater bot
22a2df9cd2 Localisation updates from https://translatewiki.net.
Change-Id: I6638a2f5e041224d9efb1b6fabc19029fc736074
2017-11-10 22:56:10 +01:00
Translation updater bot
8545731612 Localisation updates from https://translatewiki.net.
Change-Id: I2ddc8541ae171980fc8805d522cb61ec101ff2f6
2017-11-08 22:47:55 +01:00
Translation updater bot
10888671be Localisation updates from https://translatewiki.net.
Change-Id: Ic10a3417eae014fb570c9351cd072794e9f9c455
2017-11-07 22:53:19 +01:00
jenkins-bot
6a153fd895 Merge "Make output of LanguageNameIndexer more consistent" 2017-11-06 11:27:36 +00:00
Translation updater bot
6dc7d06f2b Localisation updates from https://translatewiki.net.
Change-Id: I5c7726e287d0d77e467f6ccf09a895e7fba5569a
2017-11-04 22:58:54 +01:00
Kunal Mehta
b3af5720e6 build: Adding MinusX
Change-Id: Iaa77ef5a244ba10b6731db86582be7c41b7cb3b5
2017-11-03 20:14:03 -07: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
jenkins-bot
115c0a28c0 Merge "Align .mw-ui-pressed to OOUI's active button state" 2017-11-01 23:52:06 +00:00
Translation updater bot
b84ff1ff2c Localisation updates from https://translatewiki.net.
Change-Id: Ifa27396b9a9c106325def06dd072fd8fd220c625
2017-11-01 23:18:30 +01:00
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
Niklas Laxström
56d3f2af43 Make output of LanguageNameIndexer more consistent
Change-Id: I13f06b9b1c65068206f1728f8a427c4ca46f28ec
2017-10-31 16:25:01 +01:00
Translation updater bot
1d8f43310d Localisation updates from https://translatewiki.net.
Change-Id: I8d5669714db6c2e8cb92afd4aea0d054369341ae
2017-10-30 22:53:52 +01:00
Kartik Mistry
0782947299 Update version before MLEB release
Bug: T176708
Change-Id: Idedbd23ebe8eabd36d2df94247f6cd21766c067b
2017-10-30 17:14:46 +05:30
Translation updater bot
a46540de42 Localisation updates from https://translatewiki.net.
Change-Id: I22b759887680bdc3f8fb8c723d683eacb6f74454
2017-10-28 23:03:47 +02:00
jenkins-bot
d41bd70e5a Merge "Add special language names to facilitate searching" 2017-10-25 09:25:55 +00:00
Amire80
101532cfa6 Add special language names to facilitate searching
This adds several custom languages.

The addition of Punjabi addresses Bug T178070.

The addition of Chinese addresses Bug T73891.

Georgian and Catalan (Valencian) variant spellings
are added because these are the most frequent languages
that are not found in the ULS search box.

Bug: T73891
Bug: T178070
Change-Id: Ifbb08b560e454643d246379c19f725bde61917e9
2017-10-25 13:50:12 +05:30
jenkins-bot
1d161d75d4 Merge "Update language name data index with CLDR 31" 2017-10-24 12:58:33 +00:00
Santhosh Thottingal
18c09bc6d3 Update language name data index with CLDR 31
Change-Id: I7c7b26a01b5c5780cbf7a19983388e16b4e97cc1
2017-10-24 17:52:29 +05:30
Translation updater bot
0ab5490895 Localisation updates from https://translatewiki.net.
Change-Id: I9183a3b9c7c2931c016d1edd7da80f273b5e579f
2017-10-22 22:53:43 +02:00
libraryupgrader
eaad874b14 build: Updating mediawiki/mediawiki-codesniffer to 14.1.0
And moved phpcs.xml to .phpcs.xml (T177256).

Change-Id: I0981cebe99bc2f04f82647871478a6e689b69ff3
2017-10-21 04:32:58 +00:00
Translation updater bot
67094a1290 Localisation updates from https://translatewiki.net.
Change-Id: I76d881c22e8d6f8f7cf939f92a2128a8e9427814
2017-10-18 22:52:31 +02:00
Translation updater bot
f93dc4994f Localisation updates from https://translatewiki.net.
Change-Id: Ia5e8173b7280ecf39946543acda32c8e9d12f70b
2017-10-17 23:03:34 +02:00