Commit Graph
100 Commits
Author SHA1 Message Date
Niklas LaxströmandAbijeet Patro 5cb2aec0a1 Fix language switching using the undo tooltip
Introduced in I740600d18859422b2f98a5ef92d0321f6e9615a2.

We need to prevent the default action (navigating a link) so that
our custom code has a chance to run. Before it was synchronous so
it called location.href before default action had a chance to execute.
When it was made asynchronous, the default action got executed before
our custom code.

Change-Id: I292f99aa5f5ff536d8197174c317018462685866
2020-10-28 11:44:33 +00:00
Niklas Laxström 094c30bc1c Fix language selection using [...] button
Introduced in I740600d18859422b2f98a5ef92d0321f6e9615a2.

When onSelect was called for the new language, it set dirty to true.
Then the, now delayed, render function reset the dirty status to false.

There is no need to set dirty to false on render, so moved it to the
constructor.

Change-Id: Ibfa23f545c9d358e7e03fb299c238182ea449d7c
2020-10-28 09:29:47 +01:00
Niklas Laxströmandjenkins-bot 8d5d63b996 Regular update of language name search database
Change-Id: I7325d18a2da7f3a84f3d43efcc84029586319acd
2020-10-20 08:17:48 +00:00
Niklas Laxström 67ac68a412 Update jquery.webfonts
https://github.com/wikimedia/jquery.webfonts/commit/23dc38d05940d53c56ef2018b7111c17c74b2667

Bug: T265325
Change-Id: I56ada1b32b9c68c286abfc503ed7f9aec49c76e8
2020-10-19 09:02:36 +02:00
Nikerabbitandjenkins-bot fe6ae65c98 Revert "Update jquery.webfonts"
This reverts commit e0e69d35b2.

Reason for revert: causes more JS errors

Change-Id: Iceef32eb2f858d7b28e1e173d63c060c4407c2bd
2020-10-14 15:27:49 +00:00
Niklas Laxströmandjenkins-bot 98f0bb42bd Remove ULSCompactLinksForNewAccounts and ULSCompactLinksEnableAnon
These are disabled by default and on production. They are only enabled
in the beta cluster, which is not needed.

Change-Id: Ifa847fd8a1f3d7d2695a7c1c4a1a93f136091604
2020-10-14 13:02:25 +00:00
Niklas Laxström e0e69d35b2 Update jquery.webfonts
https://github.com/wikimedia/jquery.webfonts/commit/95ff58e089

Bug: T265325
Change-Id: Id28fbfa12dc7a9aba21c26cafb5427db8b052d0f
2020-10-13 13:35:32 +02:00
Niklas LaxströmandAmire80 d3b07d2ef0 Update language name search database
Change-Id: I2aaa0f975fc80ea42d88092f3bebfd505a48d253
2020-09-17 08:33:24 +00:00
Niklas Laxström 6e93ccfb2e Minimal fix for broken language trigger in ContentTranslation
Bug: T255331
Change-Id: If81613f6a9784535e25feef56335afb290023749
2020-06-16 09:39:02 +02:00
Niklas Laxström 6f11324b98 Update language name search database
Change-Id: Idec931027ae52e8f93dd989760466157d4880c22
2020-05-26 13:39:25 +02:00
Niklas Laxströmandjenkins-bot 61f1a9863a Simplify ext.uls.preferences module
Related to T246370

Change-Id: Iedef79c75ef0ab9c1baff5a0e6f1953c3c56ac91
2020-03-03 11:38:23 +00:00
Niklas Laxströmandjenkins-bot 81e7f9a888 Update language name search index with CLDR 36 data
Change-Id: I2a9ff49eb64917a4e11938e654b8d4d387f9a7c8
2019-11-26 10:58:19 +00:00
Niklas Laxströmandjenkins-bot d4786e5797 Update language name search index
Change-Id: I81fd17aa8d66a77b077f436c308702563b2b6693
2019-09-04 14:49:28 +00:00
Niklas Laxströmandjenkins-bot 379f4e940a Update language name search index
Change-Id: I621dcbe7ec2b60543d6842834c2d8419c4512875
2019-08-26 07:15:24 +00:00
Niklas Laxström ec20e81a37 Fix test failures by updating the failing test case
Change-Id: Ie0207d595f4c482e8d9b5ebbea641804bd3a55cc
2019-07-08 08:57:10 +02:00
Niklas Laxström cd5f6724c7 Update language name search index using CLDR 35.1
Change-Id: Iced51611124c59d29f2d5cd7f62cf6941af88d51
2019-05-27 10:14:21 +02:00
Niklas Laxström 6939354e16 Update language name search index
I noticed some language names are not searchable. I made it so
that autonyms from language-data are added to the search index.
Without this, languages not present in Names.php or in the CLDR
extension are not searchable via the API except by language code.

Change-Id: I51a9e2eb15fb40963e6edbf1db76133d84de7291
2019-05-21 17:21:21 +02:00
Niklas Laxström 4e5a1d2173 Remove extra empty line in css
Change-Id: I05245d755423e2ed4d7642e68c35d0d9662d728b
2019-01-09 09:06:42 +01:00
Niklas Laxströmandjenkins-bot e93e1bc845 Remove disabling of max-len rule and fix violations
Change-Id: I39ec2e572e569a05c11929dd17241653abf954ef
2018-12-15 17:12:18 +00:00
Niklas Laxströmandjenkins-bot dd390d2ec0 Do not precompute href or autonym in #getInterlanguageList
Only store reference to the element, where they can easily be read
when needed.

Also removed one unnecessary use of `self` as an alias.

Change-Id: I39fa897002037a6d6478a3fb1f40ac60833e392e
2018-10-11 13:07:25 +00:00
Niklas Laxströmandjenkins-bot 5ed2ff7d8f Update some outdated comments
Change-Id: I73c7b0549d7335019a1919229afa2e45a92ffacd
2018-10-10 16:14:05 +00:00
Niklas Laxströmandjenkins-bot d3cd069f7e Correct alignment of cog in interlanguage links in Vector skin
Bug: T162381
Change-Id: Ieaa75507d9c73eccbadc03d915bb7107e728fe0f
2018-09-17 18:44:47 +00:00
Niklas LaxströmandKrinkle 1857627c2f Drop support for discontinued freegeoip.net
There is a new service called ipstack, but their free option does
not support https, so by default there will not be any geoip service.

Bug: T199106
Change-Id: I9f4e59d736b50760f50c6214e2d191e72406d0d9
2018-09-07 19:45:21 +00:00
Niklas Laxströmandjenkins-bot 51d86ad5bb Move now static ext.uls.compactlinks to extension.json
Change-Id: Ie074918ca58de4c62a6ba44caa48d429e561bb6b
2018-09-06 05:43:53 +00:00
Niklas Laxströmandjenkins-bot fa9cea4627 Support UI language change when global preferences are present
Notable changes:
* First query global preferences to detect if global language setting
  is in use. If there is no global language setting, or if GlobalPreferences
  extension is not installed, it will fall back to changing the language
  as usual. If global language setting is found, it will add an override
  instead.
* If a local override is added, the undo tooltip is different and links to
  the global preferences page. The task design shows mw.notify style popup
  located on a bottom right corner (LTR). I deviate from the design and
  re-use the old undo tooltip with a different message instead, for
  consistency. The message is chosen depending on whether local storage
  value `uls-gp` is set to '1' (set in mw.uls.changeLanguage).
* I removed one use of deprecated mediawiki.api.options module. One other
  use still remains.
* I changed tooltip text generation from html acrobatics to use
  mw.message.parseDom. Because of that I also had to move the click handler
  to avoid buildup of click handlers.
* In message documentation fixed acronym -> autonym.

Bug: T198206
Change-Id: Ie2ed792e222be919522bd1cdea98042515a0619d
2018-08-30 22:40:17 +00:00
Niklas Laxström 677ec1fe01 Update jquery.ime to 4b92dee
Bug: T188767
Change-Id: I4308f8fc4f03122225f71db991d15f36c4d19f6f
2018-08-15 15:54:38 +02:00
Niklas Laxströmandjenkins-bot 99f5945704 Add Kartik Mistry to CREDITS and sync with extension.json
Change-Id: I38c00b9e4c18d2b0684c00984961811ccfd7334b
2018-04-12 08:15:18 +00:00
Niklas Laxström 3a70d258d5 Lock postcss-less to 1.1.3
Both 1.1.4 and 1.1.5 fail. Because of the dotdotdor issue it is
impossibly to know whether the 1.1.5 failures are legitimate.

Change-Id: I813d4767c27ef16bd6fc67577fe722548406cce2
2018-03-26 16:32:18 +02:00
Niklas Laxström 9a6e8a2bc9 Fix custom no results again
Since we added .i18n() call to upstream, it started overwriting
our text from the default data-i18n. Change data-i18n instead.

Bug: T188860
Change-Id: Ib7e9fb9590ace9c2a4ce2e2afb5a740ae4346be6
2018-03-05 14:17:12 +01:00
Niklas Laxström 9fc7ad5d84 Use a replica dedicated to slow queries (if available)
Bug: T187880
Change-Id: I2987b5ae9446cb0bf503978ee62861f2f969b1df
2018-02-21 16:11:08 +01:00
Niklas Laxströmandpetarpetkovic fca9b5c0e6 Make ULS trigger and settings more keyboard accessible
It's now possible to tab to "display settings" and "input settings"
and access them with enter or space. Also escape can now be used
to close the settings screen.

The ULS trigger in interlanguage position is a button to get
native accessibility features.

Also removed `mw.hook( 'mw.uls.settings.open' ).fire( 'uls' );` as
it didn't seem very useful and there wasn't immediately obvious
place to put it. The existing click handler could be removed because
the settings dialog themselves place event listeners.

The patch is a bit longer than strictly necessary because the CSS
was mess (rules in different modules, poorly organized) and I had
to bring related rules together to understand them.

Bug: T52793
Change-Id: Id37c2665b1c97b81ef57be27a1abfae0db6b34d5
2018-02-12 17:57:04 +01:00
Niklas Laxström e9051e2d3f Don't apply CLL to pages with the noexternallanglinks magic word
There is actually a magic word and a parser function. This checks
if all links are excluded (*).

Bug: T186590
Change-Id: Iaf860683f6e3bc9b00d5e8f19b8be7c0f1b20f5b
2018-02-07 20:13:46 +01:00
Niklas Laxström 1e15341fd1 Use dash as separator for non-prefix matches in language name search
Bug: T186480
Change-Id: Ib785e2b070e0c5a218b236be194417f0b1fbd102
2018-02-06 17:26:21 +01:00
Niklas Laxström 3a0f01643b Update packages
I was getting the following warning message:
npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.

Change-Id: I5e671c5d89d315c3ee691dacda4c85ff3ff710a2
2018-01-31 15:58:38 +01: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
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
Niklas LaxströmandAmire80 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
Niklas Laxström 56d3f2af43 Make output of LanguageNameIndexer more consistent
Change-Id: I13f06b9b1c65068206f1728f8a427c4ca46f28ec
2017-10-31 16:25:01 +01:00
Niklas Laxström 546d0cd3d9 Update jquery.uls to 34df56f
* Translation updates, including new languages
* Improved styling to match WikimediaUI style guide
* Improved handling of "no search results"

Change-Id: Ic74025dad4b81f0377af217ed6ba2f88264dca2f
2017-09-12 08:23:29 +02:00
Niklas Laxström aebe0ea7c2 Update version used in ULS_VERSION to match extension.json
Change-Id: Icced77930c4355de2db349ef95ad24416928f5b4
2017-08-25 15:11:55 +02: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
Niklas Laxström cb9493640a Update QUnit test for modern standards
* expect is no longer needed
* start/stop is deprecated, replaced with async/done

Change-Id: I8275af21df73f1c35a51f9a0dcf5a1811cf73ad8
2017-02-22 08:26:52 +01:00
Niklas Laxström 404d7a1241 Fix site picks: missing from globals
The isset was hiding this

Change-Id: If0301026e62e7d2b7249af68e336de4ff2ce3f54
2017-02-21 15:41:40 +01:00
Niklas Laxström 7baa3c4a3b Fix broken site picks feature for compact language links
Ref T153900#3011037 and T155995

Change-Id: I429cdf330b6bf70d1710cd5a041c782e6617cb39
2017-02-16 08:29:14 +01:00
Niklas LaxströmandAmire80 af37b31b8a Provide link to compact language links info page
Bug: T157344
Change-Id: Ib0d14ee0bdd639c14805412b1754f0f69f6daa63
2017-02-15 12:16:00 +00:00
Niklas Laxström eda6eb8e6c Start showing warnings for deprecated PHP entry point
Change-Id: I0ef9a614048ec139f15353eac554a91500119eca
2016-12-21 08:29:51 +01:00
NikerabbitandGerrit Code Review 69b902556e Merge "Update for API error i18n" 2016-11-30 12:42:07 +00:00
Niklas Laxström b0a1430705 ext.uls.compactlinks: add explicit dependency to mediawiki.jqueryMsg
This should fix the unparsed plural syntax shown in the sidebar
in the Wikipedias (only in production).

Bug: T148117
Change-Id: Idcbecd606e11d23a341421224b3f21fe03bf509e
2016-10-14 07:54:07 +02: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
Niklas LaxströmandAmire80 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
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
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ömandAmire80 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
Niklas Laxström aaa1219d48 Do not load schema.UniversalLanguageSelector explicitly
Because ext.uls.eventlogger has it as a dependency.
Found while checking T70955

Change-Id: I68a69d12bbf58f8d347fc05e19d0edbf817fb49f
2016-08-18 14:46:48 +02:00
Niklas Laxström ab8193faac Update jquery.ime to 10ae4c0
* New Khmer imes
* Updates to Urdu ime (T138399)

Bug: T138399
Change-Id: I2ead15d6678787f705103329c59e679240580f87
2016-08-16 10:32:24 +02:00
Niklas Laxström c46bf0fa94 Update jquery.uls to d873fbc
Localisation updates

Change-Id: I92b9b7c0533c0d5ee22c1ad9dceb0debe6264139
2016-08-16 10:27:52 +02:00
Niklas Laxström 05e0b8c53e LanguageSettings: Simplify positioning code
* Remove scrolling from positioning code
* Make sure that any calculated default positions also apply to
* modules by updating this.top and this.left.

Bug: T143074
Change-Id: Iffc49674abcca8a8c4a600569a05db1314fae3f6
2016-08-16 06:28:43 +00:00
Niklas Laxström d24472e962 Fix some comment typos
Change-Id: I338891147cb6aa8e6d88119eb61ea718edb93747
2016-08-15 09:55:02 +00:00
Niklas Laxström 5e7e8fe48e LanguageSettings: Do not render modules twice on initialization
Change-Id: I25d939ffcabde394bb7a496ee8bc5df9a87c2573
2016-08-15 09:48:00 +00:00
Niklas Laxström f6da60cfab DisplaySettings: disallow focus on tabgroup buttons
Focus state looks bad in this context.

Change-Id: I3bc1cd63123711ded0652910ef4fa62f19c3bd12
2016-08-15 09:47:51 +00:00
Niklas Laxström c00fc12bb6 List of input methods should display only one item per line
Change-Id: Id45fe55fd40ffc99d1712424ecf651573a62e58e
2016-08-12 08:53:53 +02:00
Niklas Laxström 4dc4b7b81b Update compact language links beta feature info and talk links
Bug: T142559
Change-Id: Ia4bcc62911beb52bf7b4d0788a97c35bbd776b0d
2016-08-10 14:40:01 +02:00
Niklas Laxström fd8d524e85 Update jquery.uls to c644044
Localisation updates.

Change-Id: I0814906bf93eca5f649f6d8d5315099e9670d6f4
2016-08-08 17:17:10 +02:00
Niklas Laxström 55b68c329d LanguageNameSearch: do not mix different scripts in same buckets
To keep the average and maximum bucket size low, I made codepoints
< 4000 more granular and code points >= 4000 less granular. This
could be tweaked further for sure to reach more even sized buckets.

Bucket stats before:
 - 773 buckets
 - smallest has 1 entries
 - largest has 1804 entries
 - median size is 66 entries
 - average size is 45.394566623545 entries

Bucket stats after:
 - 698 buckets
 - smallest has 1 entries
 - largest has 1792 entries
 - median size is 16 entries
 - average size is 50.272206303725 entries

Change-Id: Id62d93658117564b05294c2fe36ca7c182784859
2016-08-08 16:21:52 +02:00
Niklas Laxström f73f9a8b5d LanguageNameIndexer: print bucket stats
Change-Id: If50b65b1bbda010f0dbde7d344edcb5bdcd382df
2016-08-08 13:38:53 +00:00
Niklas Laxström bc7ee1ed19 LanguageNameIndexer: sort buckets
Change-Id: Ib33bc432d5f61de2fbb6e83f3566baebb184c441
2016-08-08 13:18:30 +00:00
NikerabbitandGerrit Code Review 760fe1ad39 Merge "LanguageNameIndexer: Remove directionality chars that cannot be typed" 2016-08-08 13:18:08 +00:00
Niklas LaxströmandSanthosh 42f4f9650b LanguageNameIndexer: Remove directionality chars that cannot be typed
Change-Id: I8e5b9f300a3307a90054e4e759279f91594a2fa3
2016-08-08 10:56:39 +00:00
Niklas LaxströmandSanthosh b3ba423354 LanguageNameIndexer: Generate PHP file instead of serialized file.
Serialized format is no longer in style for data. PHP files can
take advantage of AutoLoader and caching so they can even be faster
than serialized files. As side bonus we can have readable diffs
for updates.

Only downside is that the file generation takes about ten lines of
ugly string manipulation.

Change-Id: If09704d1172daa13c72a308814534cac1fe9899f
2016-08-08 07:55:42 +00:00
Niklas Laxström 9daeacf1c5 LanguageNameIndexer/Search: use unicode aware lowercasing
With this MEÄNKELI with typos=1 finds results.

Updated test case for lowercased result. Renamed variables in test
file for clarity. Updated the default value for MW_INSTALL_PATH to
work with the default layout.

Change-Id: Id93c84d308705f55b4d2378fc8c7b7f243e1b53f
2016-08-08 08:43:15 +02:00
Niklas Laxström 8bc603a528 Update jquery.uls to e1de794
Bring localisation updates as well as fix for displaying worldwide
languages in other sections.

Change-Id: I9c43f7102f43f3728a1458db3204bda44ca001b4
2016-08-01 10:24:45 +02:00
Niklas LaxströmandAmire80 217aefdb7a Move als->gsw override to ext.uls.init
So that it is loaded for compact language links. The ext.mediawiki.uls
module is starting to look very empty now can could be removed easily
in follow-up. ext.uls.init depends on jquery.uls.data so this is safe.

Bug: T139949
Change-Id: Icac10f073e122284723c48782c2a1cf7f10b45ec
2016-07-27 06:16:51 +00:00
Niklas LaxströmandAmire80 89175716ec CompactLinks: lowercase language codes for internal use
Not outputting language codes with proper casing should
be solved upstream in jquery.uls.

Bug: T139795
Change-Id: Ide81c76135b23a031f1f09a33462e767e57a50b0
2016-07-27 05:57:03 +00:00
Niklas Laxström 4f4051a40d CompactLinks: support sortPrepend from WikiBaseClient
Bug: T138973
Change-Id: I64b7aa37d8a6b3cac92d492a33fe6f8cb04ce0e6
2016-07-26 13:36:26 +00:00
Niklas Laxström 3dd3224a02 Update jquery.uls to d8e29b0efe
Contains l10n updates for common -> suggested languages

Change-Id: Iafb6fb5b7eb11fbb908f333287c6a73c2346a6c6
2016-07-18 14:55:01 +02:00
Niklas Laxström 024bc8985f Update jquery.uls to fa67b19
* Localisation updates.
* Renaming of common languages to suggested languages.
* Addition of language fax.

Bug: T137867
Change-Id: I72f700f562107ad1bfbe797329f4900c191bca20
2016-07-13 11:26:34 +02:00
Niklas Laxström 920155fb18 LanguageNameIndexer: Simplify code
Inline one loop and remove autonym handling since getting the
translation of a language name in its own language gives the
autonym.

Change-Id: I0c8ff8e3ce0c7f23d123656b091df37aa71b2cd7
2016-06-15 11:22:02 +02:00
Niklas Laxström 9ac675811b LanguageNameIndexer: Add new language names
Change-Id: I5ffbad77a30b10b0d677cdb8b109f61d0c10ee05
2016-06-15 11:21:41 +02:00
Niklas Laxström c37be51fa0 LanguageNameIndexer: Rename variables to make this code more understandable
Change-Id: Ib328bf49b46b222b04fcfe60359baff2fbbc3a7f
2016-06-15 11:21:34 +02:00
Niklas Laxström d21e271c92 Do not output accept language list if it might get cached
Bug: T137522
Change-Id: Ib603f836f59f7078ac5dbb7bbbb3b84ca358cb43
2016-06-10 10:04:02 +02:00
Niklas Laxström 3316ae94fe Update jquery.uls to 9b96346
* Add language atj

Change-Id: If3e139e2452dc97960eb9778db9becaf928dcedf
2016-06-09 14:10:52 +02:00
Niklas LaxströmandSanthosh Thottingal 2a6b4d0fc2 Show badges in ULS language list
Update jquery.uls to ae9dda23b71aa76fbbc13f5650

Bug: T131233
Change-Id: I7c7bafccc7d63c0a97c98b81a5b53b48c9afa527
2016-06-09 15:12:39 +05:30
Niklas Laxström f41d47a4a0 Update jquery libs
jquery.ime to 80f513ecc
* Input method name change

jquery.i18n to 7daaceb
* Some code style changes
* Do not include non js-files (none of the other libs do either)

jquery.uls to 20eea5de
* Improved langdb territories

Change-Id: Id3bcc4f1fe3ec255d2baea7f6096ee9a34fcffc3
2016-06-02 08:45:03 +02:00
Niklas Laxström 9fc215866a Have the background for input settings not run to the edge of the dialog
Bug: T136273
Change-Id: Iddc5233d840cd6f2c3e4393ea221b6882d03c531
2016-06-02 05:47:38 +00:00
Niklas Laxström 0b89c27678 Give language selection buttons more space
Let them assume normal size with regular padding. In the case that
the buttons do not fit one line, some will overflow to the second
line. In my opinion that looks less ugly than irregular padding
and truncated language names.

Bug: T136273
Change-Id: I26dd7745ac03e1b940348b318d74d0a2bd27e1a3
2016-06-02 05:47:25 +00:00
Niklas Laxström 7fa5c4efeb Update jquery.webfonts to 17e61547
Change-Id: Ib73c2504e2c90c3bfcada30ec59aeec40116a504
2016-05-31 10:54:34 +02:00
Niklas LaxströmandSanthosh Thottingal 0784540c40 Simplify code using .one
Change-Id: I84fb5e0ade474738ff6a05c2304de351a2476186
2016-05-31 09:21:51 +05:30
Niklas Laxström 791cefeec6 Remove redundant mw.loader.using
The only caller is already loading the exact same modules right
before calling these functions.

Change-Id: I71bc682f88c45e8ff20e032c7e5ee2dc3f517baf
2016-05-30 17:07:22 +02:00
Niklas LaxströmandSanthosh a0859320ea Cleanup settings-* rules in ext.uls.css
`font-size: 11pt` was always overrules by another style. Removed it
and moved rest of settings-* styles to languagesettings.css where
they belong.

Bug: T136273
Change-Id: I4d8fa6ff9f4fc2b6e2ee577d795a28cb8197b3cb
2016-05-30 06:22:30 +00: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
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
Niklas Laxström 3ee9ff5720 Fix the border of font selectors
The top border was shorter than the others, fixed by using CSS
applied to the first element instead of the parent.

Bug: T136273
Change-Id: Ic894ef99ef2c88a23d6db65b68327fd903473038
2016-05-26 11:57:24 +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
Niklas Laxström 2eb2c80264 Remove border-radius: no border on this element
Bug: T136273
Change-Id: I19c89db8ebc3ae2695bc44a6eff27e1c558fd049
2016-05-26 10:32:52 +02:00
Niklas Laxström 988372204b Remove excessive 5% left-padding and replace with consistent padding
This gives more space to display/input setting panels and is more
consistent with the padding on the left-side menu as well.

Bug: T136273
Change-Id: I5c0e5e351e370c4c0b19783edc8278250ca3ca76
2016-05-26 10:32:41 +02:00
Niklas Laxström 9f3e0860a9 Remove unnecessary div specification from style rule
Bug: T136273
Change-Id: Ib4677e578e8f5eb7da36bb166d77a210cf1d3313
2016-05-26 10:32:31 +02: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