Commit Graph

2554 Commits

Author SHA1 Message Date
Translation updater bot
58885ae7a3 Localisation updates from https://translatewiki.net.
Change-Id: Ib2186fd5528b29b72e7c6ac812a91edf51e2c638
2016-10-04 22:42:22 +02:00
Translation updater bot
f8af863a56 Localisation updates from https://translatewiki.net.
Change-Id: I26afdb8c297bf6cdff7681b055afff3c9b8e5850
2016-10-02 10:43:08 +02:00
jenkins-bot
ddde1bc839 Merge "Replace deprecated .mw-ui-constructive with .mw-ui-progressive" 2016-09-30 16:03:42 +00:00
Volker E
41f5ce254e Replace deprecated .mw-ui-constructive with .mw-ui-progressive
Bug: T146923
Change-Id: I5d4b5e9fa41ef7657442b734702b3ea21d90c66a
2016-09-29 15:59:32 -07:00
Amire80
70e35c06e7 Localization update of jquery.uls from upstream
Updated to
ef4f2c981f

Change-Id: I78f10591f8181ee53d7f8ce76fd1f9a175ba7f1c
2016-09-29 23:05:13 +03:00
Translation updater bot
13fb889903 Localisation updates from https://translatewiki.net.
Change-Id: I6bd22180038a1e2e18be5ce661cacd79f747052a
2016-09-27 22:39:58 +02:00
Amire80
908161f0c1 Add hooks fired when finished processing compact language links
Bug: T145755
Change-Id: I921191c2cd32d55161b32bad2b2e0d98228cf230
2016-09-27 13:34:02 +00:00
Kartik Mistry
475c8a87d7 Update jquery.i18n to dd14827
Changes:
* b00217d: build: Remove unused 'pkg' property in Gruntfile
* 5404f66: Use String#slice instead of String#substr or String#substring
* b612e92: Fix \t masquerading as a space
* 07c3fae: Add capability to set attributes and raw HTML

Change-Id: I5352032a1cef9de9afdcc3717804c4957528dfd3
2016-09-27 13:25:26 +00:00
Translation updater bot
4b5bbcaf5b Localisation updates from https://translatewiki.net.
Change-Id: Iaa9a9f8230fb85bbb2c1f778588245f675d40e0d
2016-09-26 22:43:51 +02:00
Translation updater bot
9d1659a166 Localisation updates from https://translatewiki.net.
Change-Id: I582aa9b760b814f9af9639b337f31baa70a618a7
2016-09-25 22:26:00 +02:00
Translation updater bot
63dd0443c2 Localisation updates from https://translatewiki.net.
Change-Id: I38c139a68ae64d9ce38044814f745e6c75b25fa1
2016-09-24 22:42:58 +02:00
Translation updater bot
49e4f2f038 Localisation updates from https://translatewiki.net.
Change-Id: Ie98eb530b7289748e8b0adfb8304ff37400388a0
2016-09-22 23:42:50 +02:00
Fomafix
fda55e2ab1 Integrate ext.uls.nojs into ext.uls.pt
The CSS hiding for non-JavaScript clients is only necessary when the buttons
get added.

Change-Id: I6e43e39d29c093a19f3e8355d657f162f9a62736
2016-09-20 12:22:51 +00:00
Timo Tijhof
1240a62ca0 geoclient: Update localStorage comment
Follows-up 4cd1def.

localStorage is available by all supported browsers as of MediaWiki 1.25.
As of MediaWiki 1.27, this is also enforced by an explicit feature test
in startup.js.

Change-Id: I12b577919579f498e294376f748715b868f21869
2016-09-15 14:17:20 -07:00
jenkins-bot
b505dde286 Merge "Add pure CSS modules via addModuleStyles() instead of addModules()" 2016-09-15 14:10:13 +00:00
jenkins-bot
ab2919cbe6 Merge "Add hooks documentation" 2016-09-15 11:23:59 +00:00
Amire80
d80ba589ee Add hooks documentation
Change-Id: Ief93b34001d327d0691698918e42322a83cc61dd
2016-09-15 12:01:48 +03:00
Niklas Laxström
41f9a6f994 Undo tooltip: position when shown, not when created
Especially on Special:CX, where page layout changes soon after load
(for example scrollbars get added when more content loads), the tooltip
would be positioned incorrectly. Now it is more likely to be positioned
correctly, and will get re-positioned again if it is shown again after
being hidden.

Bug: T145483
Change-Id: I527fc62b196e55101950cffcc6ec43926f63aa4a
2016-09-15 08:06:40 +00:00
Translation updater bot
91e4a564d4 Localisation updates from https://translatewiki.net.
Change-Id: Ib5142fbecfe00a2a1137ec4cf45dc0d4e0c6f15a
2016-09-13 22:57:49 +02:00
Fomafix
80a943d41e Add pure CSS modules via addModuleStyles() instead of addModules()
'ext.uls.pt' and 'ext.uls.interlanguage' are pure CSS modules.
This change avoids a FOUC of the ULS icons.

Change-Id: I912d0c98d1857461d21b4db0ef7376783cc871d2
2016-09-13 18:51:53 +02:00
Amire80
11b9f07d08 Change "Language search" to "Search for a language"
This is update from jquery.uls to
cc02dabe6e

This brings desktop ULS in line with language search on MobileFrontend.

See https://github.com/wikimedia/jquery.uls/pull/239

Bug: T138235
Change-Id: Iee06898acf9745a3450b1a87d5b67637d34ce1ed
2016-09-13 11:07:29 +03:00
Amire80
bf07bc8060 Localization update of jquery.uls from upstream
New language: sah.

Change-Id: I3c9f4b4163186195196fb607b589e18475c8f7cb
2016-09-13 06:06:07 +00:00
Translation updater bot
3ad40f445a Localisation updates from https://translatewiki.net.
Change-Id: I316c4efbe3146a7d937392289502195947b1a356
2016-09-11 22:53:25 +02:00
Translation updater bot
116992900e Localisation updates from https://translatewiki.net.
Change-Id: I7366578340f495b7423bf13295aed099f236aace
2016-09-10 23:31:27 +02:00
Translation updater bot
0b706f4efe Localisation updates from https://translatewiki.net.
Change-Id: Ideda95d860369f9f4279336a701cd091f136434d
2016-09-09 23:00:11 +02:00
Translation updater bot
1fbaa487e1 Localisation updates from https://translatewiki.net.
Change-Id: I32fcc027e1b5eca06c33efa31d423bcebc2b1450
2016-09-07 22:46:56 +02:00
Amire80
f03f973093 Update jquery.uls from upstream
Like Iecec180ca01a40f0333e5b75914dcdb0c390f6b8
but includes also the unbreak fix by Hoo man
( https://github.com/wikimedia/jquery.uls/pull/238 ).

Updating to
d77da03dbf

Bug: T144871
Bug: T138235
Bug: T137870
Change-Id: I0bafd39385148fd09e7793805f698a43a237e204
2016-09-07 13:09:26 +03:00
Catrope
1400354f43 Revert "Update jquery.uls to a9dc11b"
Breaks VisualEditor by throwing exceptions on most key
presses and selection changes, which causes Enter and Tab
to behave very badly in VE.

This reverts commit 3499b0a1b9.

Bug: T144871
Change-Id: I0518b056e6946341cf29eb3f16378702d37086a5
2016-09-07 00:47:01 +00:00
Niklas Laxström
3499b0a1b9 Update jquery.uls to a9dc11b
* Brings new design improvements.
* Also removed some local style overrides in the extension that are
  no longer needed and added new ones.
* Localisation updates

Bug: T138235
Bug: T137870
Change-Id: Iecec180ca01a40f0333e5b75914dcdb0c390f6b8
2016-09-06 11:27:07 +00:00
Translation updater bot
8178f09a52 Localisation updates from https://translatewiki.net.
Change-Id: I80e16618194b69e4f7c440192406137efadb5ae2
2016-09-04 22:33:47 +02:00
Translation updater bot
01eaf164b9 Localisation updates from https://translatewiki.net.
Change-Id: I3b298939c6783319331d90f78a4a55349742f438
2016-09-04 00:25:09 +02:00
Translation updater bot
b5220a13a0 Localisation updates from https://translatewiki.net.
Change-Id: I4b8276f508dcd6853f95648fa5d17ec6ffb7d305
2016-08-31 22:38:36 +02:00
Niklas Laxström
a94ffa4b21 Do not use tipsy class with new popup
The tipsy class has CSS styling from the tipsy module which do
not work with the OO.ui.PopupWidget. If the tipsy module gets
loaded for some other reason, the display will be slightly broken.
Fixed by renaming the class.

Bug: T96648
Change-Id: Ib0e11098506560f4de1c6402b8c980ad3ebc3879
2016-08-31 10:21:36 +02:00
jenkins-bot
e62a355d50 Merge "Remove unused variable loginUri" 2016-08-31 06:05:09 +00:00
Fomafix
8778051f8f Remove unused variable loginUri
The variable loginUri was added in 422371f6 but never used.

Change-Id: I85aaa6aa524dbe0a02129696f1bff46fb410fbe5
2016-08-30 12:18:45 +02:00
Translation updater bot
eaac02c5c9 Localisation updates from https://translatewiki.net.
Change-Id: I6c97f5181dadacd2ea2e639072302496519399cb
2016-08-29 22:40:56 +02:00
Translation updater bot
6b21028a39 Localisation updates from https://translatewiki.net.
Change-Id: I44a737a022f9d246f32ae2d732f2ab34d4323154
2016-08-28 22:43:19 +02:00
Translation updater bot
c52dd0ea24 Localisation updates from https://translatewiki.net.
Change-Id: I298bcd21d39c4dce52c13d2d304df907b838dd76
2016-08-25 22:40:30 +02:00
jenkins-bot
3f1990c737 Merge "Use getDefinitionSummary() in ResourceLoaderULSJsonMessageModule" 2016-08-25 15:03:35 +00:00
jenkins-bot
fbdc51d4d3 Merge "Simplify ResourceLoaderULSModule with content-based versioning" 2016-08-25 15:03:09 +00:00
jenkins-bot
58b31d7078 Merge "ext.uls.compactlinks: consistently normalize language codes" 2016-08-25 09:50:25 +00:00
Niklas Laxström
2144019c50 ext.uls.compactlinks: consistently normalize language codes
Create a function for this purpose and use it everywhere where
language code is read from an attribute.

Bug: T143867
Change-Id: I01b6f04dd9185a9f4ab565e96ca5a6a34e4ea14a
2016-08-25 08:22:17 +00:00
Niklas Laxström
4cd1def0f3 Switch default ULS geoip provider
Current provider is going away. Switching to another free provider.
Implemented caching with a cookie for speed and to avoid generating
unnecessary load on the service.

Bug: T143542
Change-Id: I191d69a6fb8abe9556f475dfef1368dc9f96b846
2016-08-24 15:55:00 +00:00
Translation updater bot
f53806a965 Localisation updates from https://translatewiki.net.
Change-Id: I399d9d5273270f069a26054e01f6a33173df9b62
2016-08-24 10:37:52 +02:00
Timo Tijhof
2ab168f113 Use getDefinitionSummary() in ResourceLoaderULSJsonMessageModule
* Fix inaccurate class comment that was copied from an unrelated
  module in MediaWiki core.

* Remove use of deprecated getModifiedTime(). While this implementation was
  straight forward, it is more reliable and deterministic to use a content hash
  because timestamps are not tracked by Git. This currently causes needless
  cache invalidation for all users at Wikimedia every week because git-clone
  starts with fresh timestamps on disk.

  I'm not using enableModuleContentVersion() right now because calling
  getScript() reads all files into memory which is more expensive than
  simply hashing the files. Especially because safeFileHash() is backed
  by an APC cache via FileContentsHasher.

  This matches the implementation in core ResourceLoaderFileModule.

Change-Id: If9aaefa6a3cf047c6c36e1cdd0f350412d59c849
2016-08-23 21:49:26 +00:00
Timo Tijhof
f06ac3efca Simplify ResourceLoaderULSModule with content-based versioning
* Remove manual tracking of when a hash is first seen.
  ResourceLoader is no longer time-based, rather it is content based.
  Except where a timestamp is actually wanted as key, a hash is all
  we need. The default implementation of simply calling getScript()
  and hashing its output suffices, and isn't a performance problem
  in this case.

* Also simplify getScript() by passing an object to 'mw.config.set'.
  Instead of multiple calls for each key/value. This is a no-op
  now because there is only one key.

* Fix inaccurate class comment that was copied from an unrelated
  module in MediaWiki core.

Change-Id: I9bb82cadd9caa7e584e20dd49ce30b64218326c4
2016-08-23 14:49:16 -07:00
jenkins-bot
694f3719a8 Merge "Do not load schema.UniversalLanguageSelector explicitly" 2016-08-23 04:44:10 +00:00
jenkins-bot
25514c4f88 Merge "Apply toLowerCase when reading featured articles" 2016-08-22 05:09:43 +00:00
Translation updater bot
26d9b554de Localisation updates from https://translatewiki.net.
Change-Id: I9fd7d3b35cdd703ae6bcec315d42e0a657e3feea
2016-08-21 22:55:43 +02:00
Amire80
0d1d9a4b6d Apply toLowerCase when reading featured articles
Consistently with getInterlanguageList(). Without this 'nds-NL'
will be handled incorrectly when the article in it is featured.

Bug: T143527
Change-Id: Ie7fe5a270cb3030899b6034512351d5d66d7be06
2016-08-21 22:47:27 +03:00