Commit Graph

2949 Commits

Author SHA1 Message Date
Translation updater bot
a22a7f0678 Localisation updates from https://translatewiki.net.
Change-Id: Iaf2b7568f72518a22cf05cc8f28fd36bc20e8755
2018-03-19 22:20:06 +01:00
Umherirrender
80026995de Change DO_MAINTENANCE to RUN_MAINTENANCE_IF_MAIN
As suggested in 26505b170adb24a6ae68945920db322c9382e470 for better
readability.

Change-Id: Ia2e3a98b70ce48b084bcab4c3bafee9447d663d6
2018-03-17 23:01:17 +01:00
Amire80
b36b70826f Update jquery.uls from upstream
Changes:
* Hebrew localization update
* Send full event for lcd click events (to allow Ctrl-Click, etc., in CLL)
* Send a single argument for no resuts event trigger

Updating to
798e200b56

Bug: T179402
Bug: T189582
Change-Id: Ib86fd5c6ae77f4f69ba1f7dc43143a77fe399fad
2018-03-15 18:24:04 +02:00
jenkins-bot
49675b6865 Merge "Log the context of the ULS in which no search results were found" 2018-03-13 11:49:20 +00:00
libraryupgrader
1279308d6e build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: I786f16c74a79872bce28c8cf982541b5694151d9
2018-03-10 07:07:21 +00:00
Jayprakash12345
1ad692dcee Remove deprecated dieUsage method
Bug: T189222
Change-Id: I231f938d6813a8e588991e8f3a2645a0c320aeaa
2018-03-09 03:43:54 +00:00
Amire80
d6630a4780 Log the context of the ULS in which no search results were found
Relies on updates to EventLogging schema. Diff:
https://meta.wikimedia.org/w/index.php?title=Schema%3AUniversalLanguageSelector&type=revision&diff=17799034&oldid=7327441

Bug: T179402
Change-Id: I2ff9ce9b40df16ed3c5e6970fb3b691af08cedec
2018-03-08 16:03:33 +02:00
Translation updater bot
ee76d4ad96 Localisation updates from https://translatewiki.net.
Change-Id: Iba9ddf81263b524401f588895b7337c7f18a3173
2018-03-06 22:18:54 +01:00
jenkins-bot
cb9f15cc91 Merge "Fix custom no results again" 2018-03-05 13:51:51 +00:00
Kartik Mistry
6226f80b81 Update jquery.uls to c9c2056
Changes:
* Localization updates.
* Update language-data to 9a506b9.
* Allow identifying the context of the different ULS panels within one
 app.
* Convert ulsPurpose from a data attribute to an languagefilter option.

Change-Id: I7805ce226b0f8db8545b126c331e2a5915021a3c
2018-03-05 19:00:14 +05:30
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
Kunal Mehta
67d470a9e7 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Id75a37eab27282ca7797fa3e6ceb92750c59477f
2018-03-03 19:27:21 +00:00
Translation updater bot
26c6f0ac81 Localisation updates from https://translatewiki.net.
Change-Id: If8968177ae059829926a1dfa9cf612f4bb2006c2
2018-03-02 22:31:32 +01:00
Translation updater bot
1fee3cc652 Localisation updates from https://translatewiki.net.
Change-Id: I9ceaf24f23e70700fb9c3fd594e58804490959ef
2018-02-27 22:26:01 +01:00
Translation updater bot
bb93ecd1e9 Localisation updates from https://translatewiki.net.
Change-Id: I8dbca2b695612502baa22c148cdb66b387e044f0
2018-02-25 22:34:32 +01:00
libraryupgrader
fcbe50710f build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Idae9b801b523ce95ccd6cde6ba9e8e2ba30cd473
2018-02-25 12:05:19 +00:00
Translation updater bot
748294230c Localisation updates from https://translatewiki.net.
Change-Id: Ie08c5d34d451958aa2e184ab2c2de0520703ae85
2018-02-23 23:01:55 +01:00
Translation updater bot
ba9622e718 Localisation updates from https://translatewiki.net.
Change-Id: Ibff1aa867e7add0050966a45710c8dd5e105ed62
2018-02-22 23:22:37 +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
Kartik Mistry
b02cfed1c4 Added option to continue script from particular User ID
Change-Id: I0bdfab6585a110c30cc61c9b1129a08143ef2d4b
2018-02-21 18:44:28 +05:30
Translation updater bot
7a6c973f16 Localisation updates from https://translatewiki.net.
Change-Id: I1ccc06dc060978ae886ba2a8ba97659e1c099813
2018-02-19 22:26:04 +01:00
Translation updater bot
0e9aecfcb2 Localisation updates from https://translatewiki.net.
Change-Id: Ic4c59e0b39ed167201b516f5aa56b38b99520b68
2018-02-18 22:41:13 +01:00
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