Commit Graph

2369 Commits

Author SHA1 Message Date
jenkins-bot
9b3c20af30 Merge "Remove useless style rule" 2016-05-30 09:35:24 +00:00
jenkins-bot
dfc5b703b8 Merge "Set base font size for ULS dialogs to ensure consistent size" 2016-05-30 09:33:25 +00:00
jenkins-bot
229c3a7b2d Merge "Remove cursor: pointer for links." 2016-05-30 08:59:42 +00:00
jenkins-bot
d833802317 Merge "Remove styles now in jquery.uls core" 2016-05-30 08:59:39 +00:00
Translation updater bot
b6c1693a95 Localisation updates from https://translatewiki.net.
Change-Id: I575c45d940937bc3e72cb753926a18ebc377b35a
2016-05-29 22:33:25 +02:00
Kunal Mehta
8d32d8e36a build: Updating mediawiki/mediawiki-codesniffer to 0.7.2
Change-Id: I17a72f252ea0b836d6529738971dc45f9c0d4b67
2016-05-27 18:26:02 -07:00
Translation updater bot
df9417b158 Localisation updates from https://translatewiki.net.
Change-Id: I2d17a5069c8bf4838c9e75c5384c59d1fdbe002c
2016-05-26 22:47:22 +02:00
Niklas Laxström
4c3c0421ce Remove styles now in jquery.uls core
Bug: T136273
Change-Id: Ib65928b029a86eba91b1dfbc4527c9effa8d2449
2016-05-26 14:38:17 +02:00
jenkins-bot
ffe449122a Merge "Update jquery.uls to ab3cd92" 2016-05-26 12:30:59 +00:00
Niklas Laxström
d04e49b891 Remove cursor: pointer for links.
This has no effect as far as I can see because that is the default.

Bug: T136273
Change-Id: I57c5aa9d102559d9086291f90c2a82e2b7a09ff4
2016-05-26 14:08:09 +02:00
Santhosh Thottingal
f3b984e4e1 Update jquery.uls to ab3cd92
Important changes:

* Remove region filter module
* Remove jquery.uls.compact.css
* Remove unused methods from jquery.uls.data.utils module
* Localisation updates

Change-Id: If87bd21e19780fa5d90cedb4235854816c4adfba
2016-05-26 13:39:23 +02:00
Gergő Tisza
ce54168a7e Update mediawiki_api gem to 1.7.1
Required for selenium test compatibility with AuthManager

Bug: T135884
Change-Id: I69497c6c23572fa844f1de245e918006af16920c
2016-05-26 12:36:56 +02:00
Niklas Laxström
f6d06d9500 Remove useless style rule
Grid overrides the margin, so this had no effect.

Bug: T136273
Change-Id: I1f079eaf25c4798fe920cba9a97f56f6d5e307c6
2016-05-26 11:48:23 +02:00
Niklas Laxström
44f405cef1 Set base font size for ULS dialogs to ensure consistent size
The dialogs had tiny text in Monobook skin.

Bug: T136273
Change-Id: I8d00bbd6eb560e63dc4d64375ca0dbb279f6c9df
2016-05-26 09:38:11 +00:00
Translation updater bot
b99d97a5be Localisation updates from https://translatewiki.net.
Change-Id: I87c425849f668f0587f4e164c75242a135085f1f
2016-05-25 22:27:27 +02:00
Ed Sanders
e6dcdb56c4 Introduce stylelint and make pass
Change-Id: Iaf12e7773f21d42ff59591680abdf248bf121224
2016-05-25 09:24:47 +02:00
Ed Sanders
aaa144ca1d Bump package versions and sort
Remove grunt-cli as included by grunt.

Change-Id: If8f2a363ac9bbdf93979390087ac6c48959c5f40
2016-05-25 06:53:01 +00:00
jenkins-bot
9eedc358e6 Merge "Separate ULS previous interface language from previously selected languages" 2016-05-25 06:13:13 +00:00
jenkins-bot
2c511cd34b Merge "Remove jquery.uls.compact resource loader module" 2016-05-25 03:22:11 +00:00
Translation updater bot
17315e9aba Localisation updates from https://translatewiki.net.
Change-Id: I55a3e321e2a09c848799e26042b0363351d67cd0
2016-05-24 23:10:41 +02:00
jenkins-bot
d7229bdce3 Merge "Regenerate font test page." 2016-05-24 17:19:14 +00:00
Niklas Laxström
5dc797617d Remove ext.uls.buttons
All users of this module have migrated to mediawiki.ui or equivalent.

Change-Id: I5579c012807d31fceb51b7ce0e687a128c791d72
2016-05-24 10:18:28 +02:00
Niklas Laxström
fd636d1f5f Remove jquery.uls.compact resource loader module
All known users of this module (CX) have stopped using it.

Change-Id: I0827b37a92e56f40433a197b275a0d0dd44cefe2
2016-05-24 08:35:07 +02:00
Niklas Laxström
7056364168 Regenerate font test page.
Stop appending version which no longer exists. Replaced by file hash.

Change-Id: I978ff69cb9df1f0ce17ac0d7893d980d509655c1
2016-05-24 08:19:00 +02:00
Niklas Laxström
3481946695 Drop svg from supported webfont formats
We do not have any svg formatted font files.

Change-Id: I613c04f082bfc07872d4e843cdacdfd62517bd37
2016-05-24 06:07:07 +00:00
Niklas Laxström
b2b75b15eb Drop eot from supported webfont formats
IE9+ which is lowest that MediaWiki still supports is supposed to
support both ttf and woff par some exceptions.

This reduces uncompressed repo size almost 4000 bytes.

Change-Id: If80f4ec898d86d5fd4cf873d0d86245e66da2f0b
2016-05-24 08:06:11 +02:00
jenkins-bot
7708b8d2ff Merge "Use FormatJson in font repo generator script" 2016-05-24 05:01:41 +00:00
jenkins-bot
756b80d8a6 Merge "Increase the number of stored previously selected languages to 9" 2016-05-24 04:43:34 +00:00
jenkins-bot
4b1056133f Merge "Make previous languages have most recent in the beginning" 2016-05-24 04:38:49 +00:00
Translation updater bot
aa501478bb Localisation updates from https://translatewiki.net.
Change-Id: I9e4bff64c0605c2a00f4c46748a1125c9654e6f9
2016-05-23 22:28:19 +02:00
Niklas Laxström
679f616fb2 Remove extra empty lines
Change-Id: I4f4e941dc12b4730bdacf35e6d80cd306a88cf01
2016-05-23 17:15:18 +02:00
Niklas Laxström
e3c2950c04 Separate ULS previous interface language from previously selected languages
Now that Compact Language Links also started to add to this list, ULS would
show incorrect language change tooltip notifications. ULS interface language
selection will still keep updating the list of previously selected languages.

Refactored the code a bit: 1) created minimal Store that wraps around plain
localStorage, since mediawiki.storage cannot be used yet. 2) Inlined the
userHasChangedLanguage function to new initTooltip function. 3) Split parts
of the huge initInterface to new initTooltip and initIme functions for
increased readability. 4) Solved a TODO for moving language change recording
out of the tooltip showing code.

Change-Id: If8478a59168d89264f4d46938ac865c0c9a04f25
2016-05-23 15:15:44 +02:00
Niklas Laxström
fa7f7e8b57 Increase the number of stored previously selected languages to 9
Discussion about the magic number in the task.

Bug: T135487
Change-Id: I5d0900f191cf277faa19d73de9cf393216d5e6ea
2016-05-23 12:50:06 +00:00
Niklas Laxström
4f82a8650a Make previous languages have most recent in the beginning
This is already expected by the callers. Added addPreviousLanguage
to make updating the list easier.

Change-Id: Ie4f888235ea4de4a2ce6bf5a9f24955e423e8c48
2016-05-23 14:50:02 +02:00
Niklas Laxström
e607466313 Use FormatJson in font repo generator script
The benefit of this is that '/' is no longer escaped, making
ext.uls.webfonts.repository.js file 376 bytes smaller. I expect
that the difference in compressed size is neglible.

Change-Id: I77c0b88fa23f2245f09615c354546b6a9ebf650c
2016-05-23 14:33:37 +02:00
jenkins-bot
43782e8635 Merge "Add some global fallbacks to compact language links" 2016-05-23 11:43:46 +00:00
jenkins-bot
384b109362 Merge "Update jquery.uls and adapt styling" 2016-05-23 11:09:01 +00:00
jenkins-bot
40dbf9068a Merge "FontRepoCompiler now adds hash suffix to font paths" 2016-05-23 09:53:49 +00:00
Niklas Laxström
e054af704c FontRepoCompiler now adds hash suffix to font paths
This is now new standard way of doing this in MediaWiki.

Since this makes the font repo bit longer, compensated by no
longer providing version information, which also simplifies the code.
Uncompressed increase is 542 bytes.

Depends on https://github.com/wikimedia/jquery.webfonts/pull/45

Bug: T135806
Change-Id: I1921115fc1abc20e6e756044c0a84a9fe4133884
2016-05-23 09:32:57 +02:00
jenkins-bot
8587cc1c13 Merge "Add vendor to ignore for linters" 2016-05-23 04:52:07 +00:00
Translation updater bot
6af7b29a51 Localisation updates from https://translatewiki.net.
Change-Id: I13ffe029e9606ad4ea38ac0299e0c66905bbdd41
2016-05-22 22:28:52 +02:00
Translation updater bot
65627a58ae Localisation updates from https://translatewiki.net.
Change-Id: Ifff0e60ee5ab16f63a55f853333b081e923fd52c
2016-05-21 22:24:58 +02:00
Translation updater bot
dbf57fb330 Localisation updates from https://translatewiki.net.
Change-Id: Ia9c771805d400747618b9932bdd13625c53c4f65
2016-05-20 22:32:24 +02:00
Niklas Laxström
021ceadc85 Add some global fallbacks to compact language links
Bug: T135366
Change-Id: I75cc58f79cb818d8330120d996d67c6b183c0843
2016-05-20 14:51:47 +02:00
Translation updater bot
1e3b85b1ca Localisation updates from https://translatewiki.net.
Change-Id: I19ad36bc101cae6ec95baa2c7c8593a65d4e2100
2016-05-19 23:12:31 +02:00
Niklas Laxström
4ff7d5adf8 Add tooltip to the "more languages" action to provide better context
Bug: T135224
Change-Id: I3c5d909ff334182e25b48fd3917260087ee276ef
2016-05-19 08:56:04 +00:00
Translation updater bot
e2cf4e5255 Localisation updates from https://translatewiki.net.
Change-Id: Ia5799b05cde89e62d7d4dd3e4793c065014805ab
2016-05-18 22:14:32 +02:00
jenkins-bot
16ddbf0208 Merge "Update jquery.ime to d563f903c9e" 2016-05-18 11:39:12 +00:00
Niklas Laxström
12b355b733 Add vendor to ignore for linters
Change-Id: Icfdc8f23485eee63e7aa33ed4405f8bcb51a0d9d
2016-05-18 09:52:23 +00:00
Niklas Laxström
a19e8c0dba Update jquery.uls and adapt styling
jquery.uls.compact module is kept for now as some other
extensions depend on it. But it does not do anything
anymore.

There are some styles which should be in jquery.uls
upstream, but given the current state that is easiest
done in a follow-up later.

The main change is that language selection is now
compact by default: no heading etc.

Includes style changes for the dialogs, and especially
for the new position of the callout caret.

Bug: T85519
Change-Id: Iade8005439b4f58ab241752f69a5365d8bb88d2c
2016-05-18 11:40:58 +02:00