Commit graph

2094 commits

Author SHA1 Message Date
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
Reedy b2f09f0e9f Remove php entry point
Bug: T140007
Change-Id: Ia0a55bbbfd3c91c7b48c0c516a9745aeb70e6a35
2018-09-13 00:02:31 +01:00
libraryupgrader 1141461156 build: Updating mediawiki/phan-taint-check-plugin to 1.5.0
Change-Id: I05f12d773fef7ca66ea9e3679344338b5f062cb5
2018-09-08 01:38:52 +00:00
Bartosz Dziewoński 52d57c6597 Avoid 'rawrow' for HTMLForm 'info' fields
The wrapper tags that we have to create when using the 'rawrow' option
would have to be different for OOUI and non-OOUI preferences forms,
making it impossible to support both at the same time.

We used it in order to generate `<td colspan=2>...</td>` rather than
`<td></td><td>...</td>`, and make the description span both the label
and the input columns. However, this is not necessary, because the
label column is entirely hidden on this page of preferences, as all of
the preferences have no labels.

Bug: T203202
Change-Id: Ib9510a8bfb2430fdda3988d88628c9f0c509c6d0
2018-09-03 18:19:34 +02:00
libraryupgrader b60ab7ae58 build: Updating mediawiki/mediawiki-codesniffer to 22.0.0
Change-Id: I770698b81a862467e3a2de0c7d912e2ff8d62642
2018-09-03 02:58:58 +00:00
Translation updater bot f063a8a4b1 Localisation updates from https://translatewiki.net.
Change-Id: If97b7f9a48c1487d73071293040be444e134f696
2018-09-01 22:33:34 +02:00
libraryupgrader 9cdeff59bd build: Updating mediawiki/phan-taint-check-plugin to 1.4.0
Change-Id: I227bee841a8d9bdbe2fa7579bf4e0607b3340e51
2018-09-01 09:03:47 +00:00
jenkins-bot d34e92663f Merge "Mark MediaWiki:Gadgets-definition as a raw HTML message" 2018-08-30 02:54:10 +00:00
Translation updater bot e08629dc04 Localisation updates from https://translatewiki.net.
Change-Id: I164381a9bc2e980bcfc5fe30131ab927b4381412
2018-08-27 22:16:53 +02:00
James D. Forrester ee4973ebfa Mark MediaWiki:Gadgets-definition as a raw HTML message
Bug: T200997
Depends-On: Ib16db04e499ad28216ee08b8cccccf3f141e2bad
Change-Id: I4a01bfb6f89c0f4e137feda7cf5551f970fc6905
2018-08-27 10:38:31 -07:00
Fomafix 7201979d46 Start showing warning for deprecated PHP entry point
Change-Id: Ie2713ad8156eee7c37d32a933214a1b60ded2e18
2018-08-24 18:25:45 +02:00
Translation updater bot 00e5475825 Localisation updates from https://translatewiki.net.
Change-Id: Id767adfb4b3e682d4623c0a73a07ac1d863d4760
2018-08-20 22:20:52 +02:00