Commit graph

2282 commits

Author SHA1 Message Date
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
Thiemo Kreuz 01a3de04e7 Remove not needed properties from "info" form field
* "raw" and "rawrow" are documented as booleans.
* "raw" does not have any effect if "rawrow" is set.
* "label" does not have any effect if "rawrow" is set.
* "noglobal" refers to GlobalPreferences. It does not have any effect
  because "info" fields are blacklisted anyway.

https://github.com/wikimedia/mediawiki-extensions-GlobalPreferences/blob/master/includes/GlobalPreferencesFactory.php#L75

Also see my longer comment in I1ab2bc6 where I explain all these changes.

Change-Id: I7b4e08b45070ae07935e1cd59091b3d608583e5b
2018-08-20 14:41:35 +00:00
libraryupgrader d1ea87f970 build: Updating mediawiki/phan-taint-check-plugin to 1.3.0
And updating CoC link to use Special:MyLanguage (T202047).

Change-Id: Ie8bc38b665bfa89d2b25f02344dbae3225d6ab26
2018-08-19 12:48:57 +00:00
jenkins-bot a6c181e610 Merge "SpecialGadgetUsage: Add <thead> and <tbody> in the table" 2018-08-15 05:00:22 +00:00
Translation updater bot 60f7b8a2ee Localisation updates from https://translatewiki.net.
Change-Id: Id78223526cc8ab5d69507d8d11a41eeb40e008a3
2018-08-12 22:17:32 +02:00
jenkins-bot 7fddd2bdc7 Merge "Use ContentLanguage service instead of global $wgContLang" 2018-08-12 04:56:26 +00:00
Translation updater bot 33485c69fc Localisation updates from https://translatewiki.net.
Change-Id: If2430f0480c7e2060b94a7b22b3beef4065af19b
2018-08-11 22:17:53 +02:00
Translation updater bot 1df9b3381b Localisation updates from https://translatewiki.net.
Change-Id: Ie53e78edc925df5fa389e4dd7a1a5e37aa6a513c
2018-08-10 22:18:23 +02:00
MarcoAurelio dfb5ac3003 Further localize aliases to Spanish
Change-Id: I3d05a37b9de687219e24a836ff566b4ef4d891d9
2018-08-09 20:47:48 +00:00
Translation updater bot bcbe7b8a83 Localisation updates from https://translatewiki.net.
Change-Id: If4a050129d073fabf3513db6b8bcd77fb866b1f2
2018-08-09 22:23:47 +02:00
Translation updater bot 294123e28e Localisation updates from https://translatewiki.net.
Change-Id: If6bba7783993e539699b1c14769870b477cdba73
2018-08-08 22:13:46 +02:00
jenkins-bot 863170495f Merge "Post Santali (sat) namespace and aliases translations" 2018-08-08 14:41:56 +00:00
Derk-Jan Hartman 9e24c3a551 RL: Simplify userrights check of Gadgets
Change-Id: I135dcfdba72014803b8ce9710680fb5574f76d04
2018-08-08 13:46:24 +00:00