Commit graph

2350 commits

Author SHA1 Message Date
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
James D. Forrester e8db596dfa extension.json: Fix name of QUnitTestModule
Change-Id: If54638bedb347e4b7b58d932d0c625acb44782b4
2020-05-11 14:42:48 -07:00
James D. Forrester 84448301ef Use QUnitTestModule instead of deprecated ResourceLoaderTestModules
CI already ensures that MobileFrontend is loaded alongside Thanks, so
the defensive check in the code isn't needed; ext.thanks.mobilediff is
defined statically, it's just injected into the page dynamically in the
onBeforeSpecialMobileDiffDisplay hook handler.

Bug: T232875
Change-Id: I5612a9be65f4d4adf4912645856540dbb04d2b34
2020-05-11 19:43:17 +00:00
James D. Forrester b1597235d8 extension.json: Alphasort hooks
Change-Id: If252a261e14613ac341e70ac572ad057e737143e
2020-05-11 12:37:38 -07:00
James D. Forrester fdc080873f extension.json: Simplify hook links as we only have one method per hook
Change-Id: Ie952f5c75acf862d1342f6178c8d49678f9cb471
2020-05-11 12:37:36 -07:00
Translation updater bot 36ac4f91d1 Localisation updates from https://translatewiki.net.
Change-Id: I089732eedff79df88fb5180f5cf47f4e16d43f5f
2020-05-06 08:31:54 +02:00
Antoine Musso 1d9729491c doxygen: normalize output directory to 'docs'
Other MediaWiki extensions use 'docs' as the Doxygen output directory.

Bug: T27978
Change-Id: I14081f4fd74b6b76d58144563f95fc0f8f9aae95
2020-05-05 07:43:15 -07:00
Translation updater bot 41d1918712 Localisation updates from https://translatewiki.net.
Change-Id: I7ed1f63fcce1754813dfc7e14146ef7e69f80c6f
2020-05-04 09:16:32 +02:00
Translation updater bot 0aa4f2ceab Localisation updates from https://translatewiki.net.
Change-Id: I89bb9d2e5e05e92795a7bd69332d7f03db52d8f0
2020-05-01 10:01:56 +02:00
Translation updater bot 85cf2e46fc Localisation updates from https://translatewiki.net.
Change-Id: I939c380861715b16460dcbbbd4846159adf5c7a6
2020-04-29 08:37:21 +02:00
Translation updater bot ebaa5e1693 Localisation updates from https://translatewiki.net.
Change-Id: I343d469fac2027f6ab5d5864ea7a2c81fd6c236c
2020-04-28 08:33:00 +02:00
Translation updater bot eb336ecd0b Localisation updates from https://translatewiki.net.
Change-Id: Ie5606d80d7ab62f355cc2ed2c1542aa2d60b356b
2020-04-24 08:23:30 +02:00
jenkins-bot b11e9a84dc Merge "Remove redundant dependency on 'mediawiki.notify'" 2020-04-23 19:56:01 +00:00
libraryupgrader 82aa21bd81 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: I06353d4946f3a2df5abc528d6803905d1d0a7531
2020-04-22 21:00:03 +00:00
Timo Tijhof a20b708ce7 Remove redundant dependency on 'mediawiki.notify'
Bug: T233676
Change-Id: I8373dc651df227fc3d2319d2ec6b8c4d47dacf1c
2020-04-22 18:34:06 +01:00
Translation updater bot eac07ede50 Localisation updates from https://translatewiki.net.
Change-Id: Ib741429308e8b5ca756c38aa79ec990a315c388e
2020-04-20 08:43:12 +02:00