Commit graph

2165 commits

Author SHA1 Message Date
Taavi Väänänen d46356dd73 Allow restricting log entry thanking to subtypes
This commit adds the technical possibility to restrict ThanksLogTypeWhitelist
to only log subtypes like 'rights/rights' in addition to log types like
'rights'.

Bug: T191599
Change-Id: I31fb591dda2e5ecbfb5ac07352d3356134533540
2020-08-21 12:01:24 +00:00
Translation updater bot 51c11ff2df Localisation updates from https://translatewiki.net.
Change-Id: I35e10c61ef23c9fabc54125ef29c7fe6a596372f
2020-08-21 08:41:50 +02:00
Translation updater bot e36d83bc56 Localisation updates from https://translatewiki.net.
Change-Id: I2e8e83a3bb70db3ee14b7c31ed008cab31987847
2020-08-10 09:02:05 +02:00
Translation updater bot 1e18ae99f5 Localisation updates from https://translatewiki.net.
Change-Id: Iff30fcc014e8f9a48ae4f904d30e222394dfcd6b
2020-08-06 08:28:37 +02:00
Translation updater bot 06ab6f976a Localisation updates from https://translatewiki.net.
Change-Id: I8d648d0ee95955a2f7cac1e5ec4dbc9c36889ccc
2020-08-03 08:33:47 +02:00
Translation updater bot 28200e2bc2 Localisation updates from https://translatewiki.net.
Change-Id: I7408e499f4ba906dc3b573b22be0ea92c0124c5a
2020-07-30 08:36:23 +02:00
Translation updater bot 0729e6f8c5 Localisation updates from https://translatewiki.net.
Change-Id: I9571ad5d48a73bdd238e5059af4fbc20da51ad7c
2020-07-27 08:38:38 +02:00
Translation updater bot f0a97e2aa1 Localisation updates from https://translatewiki.net.
Change-Id: Ie1f882d7fa2e55983c6bdcff766342a0e1b2f47f
2020-07-23 08:28:58 +02:00
Translation updater bot 7ea43e6ee2 Localisation updates from https://translatewiki.net.
Change-Id: I01adac6aa7dbc55797712328884d520fd4256f07
2020-07-21 09:13:42 +02:00
Translation updater bot 79456774f9 Localisation updates from https://translatewiki.net.
Change-Id: I7716606847c25ed619858b22675a3e5494b0ba30
2020-07-15 09:05:02 +02:00
libraryupgrader d307eba720 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Iface699c536954fe04cff57016354b66383a6864
2020-07-11 05:45:38 +00:00
Translation updater bot 78067173ca Localisation updates from https://translatewiki.net.
Change-Id: I7ba6525e90dc12a9bcc99a20aa29d810922a5038
2020-07-10 08:26:19 +02:00
jenkins-bot ba78be728a Merge "build: Update eslint-config-wikimedia to 0.16.2" 2020-07-09 16:39:26 +00:00
Ed Sanders cf9aeb5689 build: Update eslint-config-wikimedia to 0.16.2
Change-Id: If00a92d0ff96cee4df4d5468a862e3ae2a90b911
2020-07-09 16:35:57 +01:00
DannyS712 83fb704391 ApiThank: Send thanks logs to CheckUser when extension is enabled
Bug: T252226
Change-Id: Ifff1ca8071e0df161f7f212303469498340dd625
2020-07-03 05:03:28 +00:00
Translation updater bot dbb7897f08 Localisation updates from https://translatewiki.net.
Change-Id: I15c0b11aef6c1a60f58972faf4e17141be10bdd6
2020-07-02 08:42:51 +02:00
Translation updater bot 9fc75c7e22 Localisation updates from https://translatewiki.net.
Change-Id: I0676e619e72df2fb9771d0bf5a94f16f1b50dc3f
2020-07-01 08:44:13 +02:00
DannyS712 4d18a1e093 BeforeSpecialMobileDiffDisplay hook: Only accept RevisionRecord
Compatibility was added so that MobileFrontend could switch from
Revision to RevisionRecord, but now that the switch has occurred no
need to keep checking to see if a Revision is being passed

See [1] for the MobileFrontend change that required compatibility

[1] e42c52527b

Bug: T246284
Change-Id: Ie320454a0e90d7f98004a3b776010aff784bbf4d
2020-06-30 08:31:50 +00:00
Translation updater bot 895bb0b99d Localisation updates from https://translatewiki.net.
Change-Id: Ib93a8a80586e04a520974f454d2ff861b5e5a893
2020-06-29 16:26:41 +02:00
Translation updater bot 5e88b3c188 Localisation updates from https://translatewiki.net.
Change-Id: I80eed281b86d8cd4c05f4c81c07d992d8b5e54d1
2020-06-26 09:21:04 +02:00
Translation updater bot 08ff16d0d8 Localisation updates from https://translatewiki.net.
Change-Id: I0943b516445d03db288c64dda2b06a7ecbceaf8c
2020-06-25 08:58:43 +02:00
jenkins-bot 35126a705b Merge "Hooks: Update to use DifferenceEngineViewHeader" 2020-06-24 18:08:00 +00:00
jenkins-bot 8d4dae0e7a Merge "Use new HistoryTools and DiffTools hooks" 2020-06-24 00:54:10 +00:00
DannyS712 317e0a6810 Hooks: Update to use DifferenceEngineViewHeader
Bug: T255769
Change-Id: I9b8f0359c3478fe1c028b47756d88062c2abcec8
2020-06-24 00:42:58 +00:00
Translation updater bot b7c46470d5 Localisation updates from https://translatewiki.net.
Change-Id: I321b7458e43a905bbe451e7cd3360a6c168a7f01
2020-06-22 08:45:20 +02:00
Translation updater bot 81b3dd13a7 Localisation updates from https://translatewiki.net.
Change-Id: Iafff474ae8709421dbee38a84cee47b04f215e1f
2020-06-17 08:49:30 +02:00
Translation updater bot b9c2dafabf Localisation updates from https://translatewiki.net.
Change-Id: I4bb83848d6419eac4e44ed44e7476e00edaf9959
2020-06-16 08:35:31 +02:00
DannyS712 1826d8984d Use new HistoryTools and DiffTools hooks
Extension requires 1.35+, so the hooks are available

Bug: T255494
Bug: T255495
Change-Id: I334928ebd081d53a7d95466e6c4b75715b941ec4
Depends-On: Ib2ab2e26a95affdd1dfa6b945f752157580ea2d3
2020-06-16 00:40:57 +00:00
Translation updater bot 81475c17b8 Localisation updates from https://translatewiki.net.
Change-Id: Iff813992617313f4474c5243ad866571f382e71e
2020-06-12 08:38:35 +02:00
libraryupgrader df923e2bc7 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: Id2706b8252792ed7ddab3b855603f14cdade892f
2020-06-12 01:50:50 +00:00
Matěj Suchánek 850d8e29f3 Enable thanks from pagelang and upload log
"Page language change" is an occasional administrative
action, for which thanking should be possible.
And thanking for an upload is same as thanking
for creating a page.

Bug: T254992
Change-Id: Id4ecc6e11968e51b166e80f30e636da902857dd7
2020-06-10 10:21:43 +00:00
DannyS712 a1e577c9a5 Remove use of the Revision object returned in WikiPage::doEditContent
Bug: T254952
Change-Id: Ifbdfd9bad21209be186bc93a4a82c034a8c6a26c
2020-06-10 00:31:25 +00:00
Translation updater bot 6c2c6945ba Localisation updates from https://translatewiki.net.
Change-Id: If4bc3e77ccef41354fcc8d562650993fd9b4f262
2020-06-08 08:52:36 +02:00
jenkins-bot 27104dd11a Merge "Remove use of WikiPage::doEditContent" 2020-06-05 17:14:14 +00:00
Translation updater bot 1071c3d918 Localisation updates from https://translatewiki.net.
Change-Id: If74ded0aecf0b0c1e4f34d066a0f8e14c28b4868
2020-06-04 08:24:44 +02:00
jenkins-bot 850fb00009 Merge "Use mw.cookie instead of $.cookie" 2020-06-03 11:12:01 +00:00
Translation updater bot 89b6a8c972 Localisation updates from https://translatewiki.net.
Change-Id: I3e02650d95f81e911543fc59bd06166ee4eac86b
2020-06-01 10:09:17 +02:00
libraryupgrader 07fde2a06a build: Updating composer dependencies
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0

Change-Id: I7fc0abf054cab0cb54bf16a0579832a0562adcf7
2020-05-31 15:07:42 +00:00
Umherirrender e1cd44f28d build: Bump phan to 0.10.2, remove taint-check
Declare a variable which is not set in all branches for static code
analyzer, but at runtime it is

Change-Id: I851bdbf9dc092d5213d74a03427b783f61e8946a
2020-05-31 17:05:43 +02:00
libraryupgrader 081ad97a0c build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I1f3e80ffbcdf2526a6533af6d7008d9f3456531c
2020-05-30 08:23:03 +00:00
Gergő Tisza 3d17c58922 Use mw.cookie instead of $.cookie
Bug: T254024
Change-Id: If487ef4d14f308fd6da0d6b938e35dc68dca5b5e
2020-05-29 19:44:12 +00:00
DannyS712 0917ab16cc Reduce use of Revision objects in ThanksHooks
Can't remove entirely, since the hooks don't have replacements yet,
but can prepare for the switch while waiting and remove use of
Revision objects to the extent possible

Bug: T251073
Bug: T251593
Change-Id: I5f9e41d58c8d1693b23c84bbfe085d3b33ad0c75
2020-05-27 23:06:13 +00:00
Translation updater bot 1469c6dac5 Localisation updates from https://translatewiki.net.
Change-Id: I599c504280cb3af698fa3f9852623939dc3e7c10
2020-05-26 08:37:45 +02:00
Translation updater bot 33f44dcf4c Localisation updates from https://translatewiki.net.
Change-Id: Ic4752b83bf29710f07f5278f619556a2d1f46d6c
2020-05-25 08:41:13 +02:00
DannyS712 f1ec6e6542 Remove use of WikiPage::doEditContent
Extension now requires MW 1.35+, so remove outdated version checks

Bug: T250638
Change-Id: I54f9865a09e7dcc00fe74f9d5dd3d73affde331a
2020-05-23 08:16:56 +00:00
Translation updater bot 057a965e61 Localisation updates from https://translatewiki.net.
Change-Id: I4f584f76a4508cf98bc4f0aa4406d12b11726d38
2020-05-22 08:36:30 +02:00
Translation updater bot f00b3bd100 Localisation updates from https://translatewiki.net.
Change-Id: I8b5674bddeece595eb53c6e80e8d6f753a28c78a
2020-05-13 08:43:32 +02:00
jenkins-bot 3a74c5d2d5 Merge "Convert to manifest_version 2" 2020-05-12 16:09:19 +00:00
Translation updater bot 12f7b9943f Localisation updates from https://translatewiki.net.
Change-Id: Iea239f24ae4fc683ef5d4cafbfc0dfeb9486e5ac
2020-05-12 08:21:52 +02:00
Reedy ba2603977b Convert to manifest_version 2
Bug: T252470
Change-Id: I677c41a5dddb03c8224e86bf738c0ac8d85b1647
2020-05-12 02:05:37 +01:00