Commit graph

2055 commits

Author SHA1 Message Date
Translation updater bot d1b7bd3a39 Localisation updates from https://translatewiki.net.
Change-Id: I31bdf5b05df7579d27e8fa96dc4ff831b665b350
2019-02-11 22:28:03 +01:00
Ed Sanders d0b9ed9167 build: Update devDependencies
Change-Id: I9f60c53af58575a2c39afe35c7ec443923519965
2019-02-10 15:53:26 +00:00
libraryupgrader 5fa2aeae65 build: Updating mediawiki/mediawiki-codesniffer to 24.0.0
Change-Id: Ief5ec740b4231a0f4f880a6b9b7e57121d761829
2019-02-06 15:02:29 +00:00
Fomafix ef2197f713 Preload tablesorter styles by module 'jquery.tablesorter.styles'
This change avoids the flash of missing sorting buttons while loading,
but only with I0b446d18f47428d8c0c4aed78b75de16fe106218 in MediaWiki
core included in MediaWiki 1.33 or higher.

Depends-On: I0b446d18f47428d8c0c4aed78b75de16fe106218
Change-Id: I6efb7a995589a7b93691d5ebd37ae8ac42f0a971
2019-02-02 17:10:32 +01:00
Translation updater bot 8f24d520ff Localisation updates from https://translatewiki.net.
Change-Id: I848939603b8bf78a6530e7f7a11ef9ecc1707f9d
2019-01-31 22:26:04 +01:00
Translation updater bot 5dc89b206f Localisation updates from https://translatewiki.net.
Change-Id: I72114e56068e52e27b4a219acaa4bded1b5c013d
2019-01-30 22:14:04 +01:00
zoranzoki21 53de932571 Move all apihelp translatable messages to separate files
Bug: T189982
Change-Id: Ifc682634d8403401e2ca4667e34474ed08574f53
2019-01-29 17:11:32 +00:00
Translation updater bot 00c6913f85 Localisation updates from https://translatewiki.net.
Change-Id: Iee19bab54692001379d25f041e382539fe7832b3
2019-01-28 22:26:57 +01:00
Translation updater bot 9686b5e88c Localisation updates from https://translatewiki.net.
Change-Id: I879f8f9a0230eca67f2776defdfef466e496a308
2019-01-26 22:17:29 +01:00
zoranzoki21 fa7c9881bc Add GadgetUsage alias for Serbian Cyrillic
Bug: T212586
Change-Id: I1d51a79a7948105f70d6b5da97308917215e2664
2019-01-26 19:17:03 +00:00
Translation updater bot a8c8b150db Localisation updates from https://translatewiki.net.
Change-Id: Iec34937fe7d1af279bdf1551b46a817325a2f52b
2019-01-25 22:29:02 +01:00
Translation updater bot 78936b3b00 Localisation updates from https://translatewiki.net.
Change-Id: I920140046e0fe7e8153e5138907d70ed5cc075e6
2019-01-22 22:17:24 +01:00
Fomafix be4e6db51d SpecialGadgetUsage: Add Infinity as sort-value for defaults
This change ensures that gadgets that are enabled by default are sorted
with a higher value than the other gadgets.

Change-Id: I02fab73c85b4c3580e484832c91a7314c797e978
2019-01-22 04:58:39 +00:00
Translation updater bot d78fb26275 Localisation updates from https://translatewiki.net.
Change-Id: I752121fb5402bd50be8e6254cd3866eb1b876771
2019-01-20 22:35:56 +01:00
Translation updater bot 979390880a Localisation updates from https://translatewiki.net.
Change-Id: I1e8a92d3dbfeb6b912bd12f3692a2ab2d155e639
2019-01-13 22:13:00 +01:00
Translation updater bot c925e41632 Localisation updates from https://translatewiki.net.
Change-Id: I2b4f02d779745766911ebe961fd91dee339f367b
2019-01-08 22:29:43 +01:00
Fomafix 49ec533e8d Fix typo in comment
This typo was introduced in 88d0b223.

Change-Id: Ib9adde89ccc1fca6bac0ceb5ba409637a03f7dd7
2019-01-04 23:11:51 +01:00
Translation updater bot 4b640e7d79 Localisation updates from https://translatewiki.net.
Change-Id: Iba4c027244fe1adce563ff89c5c07cdcba4b507c
2019-01-01 22:20:46 +01:00
Translation updater bot 22ed780d50 Localisation updates from https://translatewiki.net.
Change-Id: I10c8530079b3dd5a0d9230618c0e4c208d264013
2018-12-19 22:22:34 +01:00
Kunal Mehta c0696732b2 build: Set "root": true, in .eslintrc.json
This ensures that each repository's "npm test" command is fully
independent of wherever it might be in the filesystem.

Bug: T206485
Change-Id: Ibf2b5483a108da4cde1c7db34e15bbf5e6b3d260
2018-12-17 18:55:22 -08:00
Translation updater bot 4543488bca Localisation updates from https://translatewiki.net.
Change-Id: I3768cb0896fe28446714aa9268084837d0a59f6c
2018-12-17 22:19:18 +01:00
jenkins-bot 9e908e576a Merge "Add Neapolitan (nap) translations for Gadgets namespaces and special pages" 2018-12-11 13:04:54 +00:00
Translation updater bot 1d9dca744e Localisation updates from https://translatewiki.net.
Change-Id: Ice50882721a92bf1eb1e891d5feed37361f9bcf5
2018-12-09 22:39:07 +01:00
MarcoAurelio 4ba04b6b12 Add Neapolitan (nap) translations for Gadgets namespaces and special pages
Author: Ruthven <https://phabricator.wikimedia.org/T210826#4803454>

Bug: T210826
Change-Id: I6c9c2ec8123bf2673ff67ff1a625b0dedb7b9d3f
2018-12-08 22:32:35 +00:00
Translation updater bot ab35d36fc6 Localisation updates from https://translatewiki.net.
Change-Id: Idd30c745755953f71e15aa70cacd379778041572
2018-12-06 22:32:08 +01:00
Translation updater bot 68106cc9c0 Localisation updates from https://translatewiki.net.
Change-Id: I0be268ef853712d7e0c5650cdf2729d05a2995c5
2018-12-04 22:14:35 +01:00
Translation updater bot c1f8826cd6 Localisation updates from https://translatewiki.net.
Change-Id: I60bab0b64c5127f67ea0305a29f31b4ab7de59d8
2018-11-30 22:49:53 +01:00
Translation updater bot 79d1e85498 Localisation updates from https://translatewiki.net.
Change-Id: I6dd9166bccc789e900f8c0ed455c78f524564504
2018-11-29 22:27:01 +01:00
libraryupgrader 2480ada231 build: Updating mediawiki/mediawiki-codesniffer to 23.0.0
Change-Id: I57f040d8ce2b217162b41f72f1a2ae02bd13b3d1
2018-11-16 00:55:47 +00:00
Ed Sanders 696051142d build: jshint -> eslint
Change-Id: Ifb33021326bfe6d2fafc80afbace9f593a35ca39
2018-11-12 14:30:52 +00:00
Translation updater bot 97de7642e0 Localisation updates from https://translatewiki.net.
Change-Id: I62b34518bf25665875d58ab5f5956dcb91932938
2018-11-05 22:24:32 +01:00
Translation updater bot 840280a07a Localisation updates from https://translatewiki.net.
Change-Id: I315557920db6ccd5216663f547f19efb2ddc490c
2018-11-03 11:02:57 +01:00
Umherirrender 6b2e46b142 Declare visibility on SpecialGadgetUsage::__construct
Change-Id: Id98c214770224e6d5b65e1c164a6663e09861a0f
2018-10-31 23:18:47 +01:00
Aaron Schulz 1204d238f0 Increase loadGadgets() expiry to 15 seconds to avoid stampedes
Bug: T203786
Change-Id: If45b91987f3f523139e5e66f546be17a455647fe
2018-10-30 15:55:51 +00:00
Translation updater bot 80bbb89698 Localisation updates from https://translatewiki.net.
Change-Id: I95f4494d309af8c5053d3c96ad148305fd02e45a
2018-10-26 22:24:06 +02:00
Saint Johann 6b0829a86f Full Russian localisation of Gadgets
Change-Id: If2ae603b29c1d0cfd3d9f8a56ae60bf38db77552
2018-10-25 17:45:19 +00:00
Aaron Schulz 1acde38a6a Randomized APC gadget definition refreshes to avoid stampedes to memcached
Bug: T203786
Change-Id: If87e752f5cdc6bd216ad96486a86a40b2477b315
2018-10-19 01:57:07 +00:00
jenkins-bot fe3c8a7e67 Merge "Localize Gadgets to Shan" 2018-10-15 13:48:14 +00:00
Translation updater bot cd48316f15 Localisation updates from https://translatewiki.net.
Change-Id: I55ee08a32f03b22ead1a861a008e3c39ff4e16a7
2018-10-14 22:25:22 +02:00
Martin Urbanec b65a1511f0 Localize Gadgets to Shan
Bug: T206918
Change-Id: I843a14e65316d266f8c94c8305b9c40439ab1a9b
2018-10-14 20:12:44 +02:00
libraryupgrader 5f5130348f build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I35cf15d7a44225f4d8bc4c03c3be900c6746a47f
2018-10-11 07:56:27 +00:00
Translation updater bot d890d6a4b1 Localisation updates from https://translatewiki.net.
Change-Id: I9df27d26fbbc20ba134f982e3ed04f62ac25dc75
2018-10-05 22:59:08 +02:00
Aaron Schulz 93137ec581 Clean up gadget definition key code
Change-Id: Ic3116de9f5b76375c908f540a29945203f14d4c5
2018-10-05 03:29:29 -07:00
Translation updater bot fdc4514af4 Localisation updates from https://translatewiki.net.
Change-Id: I104e73d859a168345c71dae5dfb664488bc82d09
2018-10-03 18:53:18 +02:00
Umherirrender c8b50c30ee Fix caller name in GadgetDefinitionNamespaceRepo::getGadgetIds
Seeing {closure} in the logs as caller is not helpful

Change-Id: I1bfefd86aa0929ddafff3ccbdf50730a22fcdcb4
2018-09-30 13:47:56 +02:00
jenkins-bot 1facd4e4da Merge "SpecialGadgets: Restore line breaks between actions and uses" 2018-09-26 18:12:00 +00:00
Translation updater bot ad10b0aec8 Localisation updates from https://translatewiki.net.
Change-Id: Ida4cb1be338182a5dc1933fa43c49b545e4193e4
2018-09-26 13:45:54 +02:00
Timo Tijhof 848775d925 SpecialGadgets: Restore line breaks between actions and uses
Follows-up f3da602. I accidentally removed the first of the
line breaks.

Bug: T204616
Change-Id: I53b43acb5c0d43443b2f62bd335fc013d2e23539
2018-09-26 03:46:10 +01:00
Timo Tijhof f3da602058 SpecialGadgets: Omit blank space due to <br> between <ul> and <p>
Due to some of the portions of the gadget list items being optional
it's not consistent whether or not they should be separated by
a line break.

When two pieces of text follow each other, there should be a line
break in-between.

When a piece of text is output afte a list, however, there is no
need for a line break as anything after a list would already
become its own line. Printing one anyway causes a blank space
to show up, which visually causes it to appear related to the
next gadget.

Fix by setting a boolean after each portion to indicate whether
or not it should be followed by a line break.

Also improve the code a bit with comments and use Html instead
of Xml.

Bug: T204616
Change-Id: If65e170746898999dd8f5351004eeaf49b340ab2
2018-09-17 23:33:35 +01:00
Timo Tijhof e369419bdd SpecialGadgets: List right names instead of descriptions
The lengthy and localised descriptions make it hard to scan and
identify the actual rights themselves. They are meant as descriptions
to explain what a right is, not to identify the right itself.

It should probably be more similar to the list of checkboxes
on Special:UserRights. For now, kept the descriptions as tooltips,
but could also remove them entirely.

Change-Id: I29f68ffd5a8d002b65384f3762fb9e5631c13def
2018-09-17 23:17:44 +01:00