Commit graph

1704 commits

Author SHA1 Message Date
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
MarcoAurelio f485a25b05 Post Santali (sat) namespace and aliases translations
Authored by: Ramjit Tudu  <https://www.mediawiki.org/wiki/User:Ramjit_Tudu>

Bug: T201298
Change-Id: I32947c141784d21640d859362a21d14dccce7d93
2018-08-06 14:27:09 +00:00
Fomafix b6e7bcf015 Use ContentLanguage service instead of global $wgContLang
This change raises MediaWiki version requirement to 1.32.

Change-Id: Ieffed829bf5a8e1f138fd5f63518e415cebb1287
Depends-On: I193f5b9a95430b0a05573c361715e053e5411e32
2018-08-05 00:52:53 +02:00
jenkins-bot ef4c537d9e Merge "Fix skins option to use currently displayed skin, rather than user preference" 2018-08-03 18:53:39 +00:00
Matt Russell b340532c52 Fix skins option to use currently displayed skin, rather than user preference
The user's preference usually reflects the displayed skin, however this isn't
true if the `useskin` URL query is set, or MobileFrontend is being used.

This fixes gadgets being displayed on the wrong skin when using `useskin`,
and allows mobile-specific gadgets (using `skins=minerva`).

Testing if the gadget is allowed in the current skin is split out from
`isAllowed` to `isSkinSupported` to enable a future patch showing gadgets
on preferences regardless of if they are allowed on the current skin.
Test coverage is added for both functions.

Also fixed another test which wasn't working, presumably because the placeholder
user didn't have the "read" right, so the section wasn't being kept.

Bug: T199478
Change-Id: I21febe92d54d6d0b89925f902581cc2739d824fb
2018-08-01 11:06:17 +10:00
Thiemo Kreuz bede1c0178 More loose @covers annotations in GadgetTest
This is more an integration test than anything. The @covers tags I found
are to strict, in my opinion. These test cases cover more code.

Change-Id: I6cef7ce0c612ac3dfbb855c495032df1fe96f4af
2018-07-31 18:38:26 +02:00
Fomafix 3aeffaa12b SpecialGadgetUsage: Add <thead> and <tbody> in the table
Change-Id: I53f61ce4c7d0721171a455e25b560ce33d4109b9
2018-07-30 21:38:20 +02:00
Fomafix 98ac345756 Use $lang->equals() to compare Language objects
Change-Id: Iae691c2b1e4f34bb0f509a109333277ade900659
2018-07-30 20:01:18 +02:00
Translation updater bot da783907e7 Localisation updates from https://translatewiki.net.
Change-Id: Iff8ba11db604c43a0543d5215ac1eca31985ecc1
2018-07-27 22:17:49 +02:00
libraryupgrader c86d3620e0 build: Updating mediawiki/mediawiki-codesniffer to 21.0.0
The following sniffs now pass and were enabled:
* Squiz.Scope.MemberVarScope.Missing

Change-Id: If3902b0dffb9bb28de7093dd33e92869bead3746
2018-07-27 06:22:12 +00:00
Translation updater bot 64bd946091 Localisation updates from https://translatewiki.net.
Change-Id: I0ffeb094000bc90de4ddf7568d1410aed52ddcd6
2018-07-21 22:11:50 +02:00
Translation updater bot f1942c9c2e Localisation updates from https://translatewiki.net.
Change-Id: I34147903ecc6436fac60778c5c25982a5cd358a6
2018-07-17 22:13:52 +02:00
Translation updater bot cd469368d4 Localisation updates from https://translatewiki.net.
Change-Id: Id6f526a6701e1bc1bcefb3d96d6454be693b7b83
2018-07-14 22:20:32 +02:00
Translation updater bot f268a9faba Localisation updates from https://translatewiki.net.
Change-Id: Ib081f7bb03163ac475e612c5720270e049ee9781
2018-07-10 22:15:59 +02:00
Translation updater bot 79a5388496 Localisation updates from https://translatewiki.net.
Change-Id: Ia857fa2e97ac0b9fed7f8fb22991904481988657
2018-06-30 22:30:34 +02:00
Translation updater bot 01f0e1842f Localisation updates from https://translatewiki.net.
Change-Id: If2e00e53c7d5d00a83c0dae0a3eb6b28a051affe
2018-06-27 22:19:04 +02:00
Translation updater bot 83352ba7c2 Localisation updates from https://translatewiki.net.
Change-Id: I4034d6fe2f1d8c73a6bbac73e7a6b2fd151f50d0
2018-06-16 22:26:08 +02:00
Translation updater bot 2d6066bf26 Localisation updates from https://translatewiki.net.
Change-Id: Ib1afa4fbf3ce79fd61144e4872b0ea9823f80409
2018-06-11 22:33:52 +02:00
libraryupgrader b1a7eb2642 build: Updating mediawiki/mediawiki-phan-config to 0.3.0
Change-Id: I7603c3892408e484845cbb1e5da7cabdf4ae25c2
2018-06-08 07:05:45 +00:00
Translation updater bot d23598ef88 Localisation updates from https://translatewiki.net.
Change-Id: I1619db82ea28593b0671c76bcea68a851c9d918c
2018-06-03 22:36:23 +02:00
Translation updater bot 41c45ce732 Localisation updates from https://translatewiki.net.
Change-Id: I38573338bb2c5d3ffa5e29af2819407721638e9a
2018-06-01 22:27:31 +02:00
Translation updater bot fb99036738 Localisation updates from https://translatewiki.net.
Change-Id: I2051d8b64987a0c9cbc053bbbce1a9b9dfb14630
2018-05-29 22:24:55 +02:00
Translation updater bot 074d5cd4c8 Localisation updates from https://translatewiki.net.
Change-Id: Id8cc9bc86d09698f1b94ac99091ba815aac54141
2018-05-28 22:42:13 +02:00
libraryupgrader 33ecce01c0 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: I210883a100f2060e9bff0d5066896ce35b45a788
2018-05-26 03:01:39 +00:00
Kunal Mehta c383794d16 Fix variable name reuse in EditFilterMergedContent hook
Bug: T194695
Change-Id: Ic99e35874f1a3a4a7c1d1c302294bbecd23080ed
2018-05-14 17:11:58 -07:00
Translation updater bot 763ff4c9af Localisation updates from https://translatewiki.net.
Change-Id: Ia5018dd2bf5da68a3554ba7a1501bb2f82c4fa8d
2018-05-09 22:41:01 +02:00
Brian Wolff ee633a273b Bump phan-taint-check 1.1.0->1.2.0
Bug: T193909
Change-Id: I1bf4d64e68bff516b5f8b6266d85f670200084df
2018-05-04 20:34:59 +00:00
Translation updater bot 5d345da359 Localisation updates from https://translatewiki.net.
Change-Id: I3af9548faddab00a27bc26f2a9addc72854b0753
2018-04-29 22:31:02 +02:00
jenkins-bot b7d0a311fc Merge "Localize namespaces into lfn" 2018-04-24 23:15:48 +00:00