Commit Graph

2927 Commits

Author SHA1 Message Date
libraryupgrader
e61ee184ed build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ifa603913249dc19548b57b799ec1b91a42c08f28
2018-02-18 10:47:38 +00:00
Translation updater bot
4803674a83 Localisation updates from https://translatewiki.net.
Change-Id: I8fe055bfa5f79ba621aab6d50da7b983aebe5070
2018-02-16 22:29:32 +01:00
Fomafix
74d59bf306 Remove window.pluralRuleParser
The module 'jquery.i18n' was removed in 1312b905f2 because it is
already in core. The mapping from mw.libs.pluralRuleParser to
window.pluralRuleParser is not needed here anymore.

Change-Id: I00993d43578368ba3ebc1f4055cabf4904e45783
2018-02-16 16:32:59 +01:00
Santhosh Thottingal
8706925f5f Update jquery.uls to 8c32f06
* i18n for the noResultsTemplate

Bug: T187390
Change-Id: I557555e83b06b48e071b5b59c9dcd73c5dbeee21
2018-02-16 13:49:55 +05:30
Translation updater bot
4ae8f643fd Localisation updates from https://translatewiki.net.
Change-Id: I9c23557d032a2ac5a41e327d0d066acc21c535c4
2018-02-15 22:47:23 +01:00
libraryupgrader
0ff8a8cfda build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: Ic7b9cf06ccfdce3dfc9d97805a1ae66236e6547c
2018-02-15 15:41:58 +00:00
Translation updater bot
ebfe0159e9 Localisation updates from https://translatewiki.net.
Change-Id: I0384d01120174d025f52dbb117b9fe1510930fc4
2018-02-14 22:30:48 +01:00
Translation updater bot
5eff354d92 Localisation updates from https://translatewiki.net.
Change-Id: I326d53e0c81ed89c974f597ad70a13acc453209f
2018-02-13 22:25:52 +01:00
jenkins-bot
ee21e016be Merge "Custom no-results message for compact links search" 2018-02-13 13:11:29 +00:00
Niklas Laxström
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
Santhosh Thottingal
75e80446cb Reduce the padding for ULS trigger icon in personal toolbar position
Bug: T175769
Change-Id: I49b533fd7adbbd5baa8dbbb0b0c6670ab8d1e692
2018-02-12 12:57:39 +05:30
Translation updater bot
aaf1b4f716 Localisation updates from https://translatewiki.net.
Change-Id: I5ed380cd00aefbfeacb66a6d922d32f2977be4ff
2018-02-09 09:41:17 +01:00
petarpetkovic
e4f6b4e3b6 Update jquery.uls to 4cb4fe2
* Fix search for languages with redirects
* Use Array.prototype.indexOf instead of $.inArray

Bug: T178996
Change-Id: Id0ac6233544f827ca69c5ebd4965532d6dbf3227
2018-02-08 16:48:07 +01:00
jenkins-bot
d256bb4594 Merge "Update jquery.uls to 9f9327a" 2018-02-08 14:47:39 +00:00
jenkins-bot
e604202462 Merge "Use dash as separator for non-prefix matches in language name search" 2018-02-08 14:25:27 +00:00
petarpetkovic
4425d05455 Update jquery.uls to 9f9327a
* Make ULS more responsive; Take screen size into account when
determining ULS size
* Localisation updates

Change-Id: Ie600559767a18ea2c1c9ee8af7560f8fe1c52f44
2018-02-08 12:08:32 +01:00
Santhosh Thottingal
28c455feaf Custom no-results message for compact links search
Bug: T182539
Change-Id: I0e3bb7104015a5244290058dc0ac5b3c17b1ea20
2018-02-08 10:38:06 +05:30
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
Santhosh Thottingal
0c2c273c93 Update jquery.uls to 54a466e
* Change the language icon color to gray and optimize
* Simplify key press event handlers

Bug: T175769
Change-Id: I05cfaf699ed5ddccc781344143886831929cbb72
2018-02-06 10:34:29 +00:00
Santhosh Thottingal
453a4458e6 Update jquery.uls to 3161b34
* language-data update: Add Western Armenian to known languages
* Stop rendering languages twice on initial display
* Style adjustments for no-results
* package.json: maintenance updates
* Localisation updates

In addition to the jquery.uls update, this patch contains local
style customization for no-results view as specified in T175235.

Bug: T175235
Bug: T185086
Change-Id: I51645554413dbaa80e02fec8f9115f4de409fb06
2018-02-06 08:17:20 +00: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
jenkins-bot
3bb9a27230 Merge "Update copyright year and license shortname" 2018-01-30 15:02:00 +00:00
Kartik Mistry
de17e58d65 Update copyright year and license shortname
Also update version before MLEB release.

Change-Id: I857f1de4bca3d267ada206dbd30b0bd604b7c733
2018-01-30 17:56:38 +05:30
jenkins-bot
aed8d0bec2 Merge "Update jquery.uls to d122f37" 2018-01-30 11:45:06 +00:00
Santhosh Thottingal
fd7b9ec652 Update jquery.uls to d122f37
* Do not group search results by region
* Replace ULS trigger icon with monochromatic one
* Custom no-results message support
* Upgrade jquery in the example to 3.2.1
* Use .siblings to locate the suggestions, clear elements for efficiency
* Removing assigned ids to elements that are not guaranteed to be unique
* Use eslint and stylelint, fix all errors

Update the language icon in ext.uls.pt module with new monochromatic one
Also use custom style for monobook skin.

Bug: T182539
Bug: T175769
Change-Id: I7341064cd0de367d933048c4800f951568747d11
2018-01-30 15:10:01 +05:30
Kunal Mehta
7eb5b5def6 Add @covers tag
And remove unnecessary require_once, since that file is already in the
autoloader.

Change-Id: Id66d79a116043186b4d1bad73d04a62c4142524f
2018-01-24 22:30:22 -08:00
Translation updater bot
27de8ebc15 Localisation updates from https://translatewiki.net.
Change-Id: Ieebf4e298798f30a5807c54709d9ed6726b15d1e
2018-01-20 14:43:16 +01:00
Translation updater bot
dee1689624 Localisation updates from https://translatewiki.net.
Change-Id: Id560330c3447968a5c544cc031915b6d81d55be3
2018-01-18 22:50:02 +01:00
Vagrant Default User
91a54767b6 Add aliases for Georgian, Armenian, Spanish, and Japanese
Also make it possible to add multiple aliases for a language.

Bug: T178996
Change-Id: I00bb4a158caed0c1ba15d41e294281a001c917b1
2018-01-18 14:45:26 +02:00
Translation updater bot
08079b9bb8 Localisation updates from https://translatewiki.net.
Change-Id: Ia8ab1f41aa0f06f80fd67328844a788ae04417f8
2018-01-10 22:24:20 +01:00
Translation updater bot
a3a7afd1dc Localisation updates from https://translatewiki.net.
Change-Id: I5c5de431ab69c8dac70349c542a4e4ac6973f873
2018-01-09 22:29:55 +01:00
Jayprakash12345
57571f2f7b Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: Ia18c993f723be55c45a813a3cda8804b99c7b1d8
2018-01-05 14:21:19 +00:00
Translation updater bot
07fcf6dad6 Localisation updates from https://translatewiki.net.
Change-Id: I59e3edc55049123651f35b56a05c831bef817fda
2018-01-05 09:23:27 +01:00
jenkins-bot
56edef8aed Merge "Prevent page scroll to top while clicking on language settings icon" 2018-01-05 06:59:13 +00:00
Santhosh Thottingal
f536b3969d Prevent page scroll to top while clicking on language settings icon
If the language settings window is not visible, all calculations
will go wrong and page will scroll to 0 position.

So call scrollIntoView only when the element is visible.

The $.fn.scrollIntoView defined in jquery.uls core may be unnecessary
now since it is available natively on DOM elements.

Bug: T178188
Change-Id: I461fa9eb7c51cd277bebd3a04cfcc0eed9793c4e
2018-01-04 10:17:03 +05:30
libraryupgrader
4489bf100a build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: I3274ab97132397038477244d9c32e1af81552787
2017-12-30 03:14:16 +00:00
Translation updater bot
c2a3467de6 Localisation updates from https://translatewiki.net.
Change-Id: Ie0fc174c0cff9141685fa0418214da4f69b661ae
2017-12-28 10:00:11 +01:00
Translation updater bot
d8e810d6d3 Localisation updates from https://translatewiki.net.
Change-Id: I70975f4a5454e6b3a5c35d368e7d488ac4e7d828
2017-12-23 22:27:13 +01:00
Translation updater bot
275c87e331 Localisation updates from https://translatewiki.net.
Change-Id: I6370ea33ef559afba9f0dc889b1b73a046b7e4e2
2017-12-22 22:23:16 +01:00
Kartik Mistry
0eb9c20fa0 Update jquery.uls to 2601f8e
Changes:
* Localisation updates.
* Update language data:
  ** Make Spanish available under the Oceania region
  ** Add the Kumyk language

Change-Id: I53a27dcd3a9ef57a4a7b7b989df6c2bb556c0d2c
2017-12-20 12:37:07 +05:30
jenkins-bot
825193e10e Merge "README: Update entry point" 2017-12-19 17:09:54 +00:00
Kartik Mistry
5e6897e518 README: Update entry point
ULS is now using wfLoadExtensions entry point.

Change-Id: I102e5b09bc44e41210b5398de2335b3a5ac0ba28
2017-12-19 20:16:48 +05:30
Santhosh Thottingal
030bc49ad2 Update rangy lib to 1.3.0
Change-Id: I9ad4758e9f4ecde84bdb2afc2ba9bf5492141495
2017-12-19 10:13:37 +05:30
Translation updater bot
7606288c4a Localisation updates from https://translatewiki.net.
Change-Id: Ie8d5463faa54b1fcdd0acdd2e772159f89723b5a
2017-12-18 23:07:18 +01:00
libraryupgrader
36364f244d build: Updating mediawiki/minus-x to 0.2.1
Change-Id: I9546a2ce232be3556e5d0d13c725d8ebb5e4ec8a
2017-12-11 09:43:05 +00:00
Translation updater bot
c61316753a Localisation updates from https://translatewiki.net.
Change-Id: Idc0f41c7912b1822db3250ac567d9dd52c2acb5e
2017-12-07 23:08:00 +01:00
jenkins-bot
edd4a5b2a1 Merge "Update jquery.uls from upstream" 2017-12-06 06:26:23 +00:00
Translation updater bot
b69892566e Localisation updates from https://translatewiki.net.
Change-Id: Ic96fee9d8a727597726314937fd018334aaf0402
2017-12-05 22:38:29 +01:00
Kartik Mistry
a8cb31a937 Update jquery.uls from upstream
* Localisation updates only.

Change-Id: I77d7f5aa907f4498ddcf5f890a826e51fcee3d76
2017-12-05 16:48:09 +05:30