Commit graph

2345 commits

Author SHA1 Message Date
daniel 734e2af35c Put onMediaWikiServices into a separate handler class.
The MediaWikiServices hook runs before the service container is fully initialized, so it cannot have services injected. For this reason, it needs to be separate from the handlers for other hooks.

Change-Id: I1519aea8bca2f3977fcf15ee8776a1b3319687b5
2021-06-24 15:17:34 +00:00
Translation updater bot 06dde64f45 Localisation updates from https://translatewiki.net.
Change-Id: Ide7376da37a1ae38af158c3e3967e5f859a4bb2e
2021-06-23 08:11:35 +02:00
jenkins-bot ffe5ad53de Merge "Restore category link to sidebar" 2021-06-23 01:50:29 +00:00
Translation updater bot 4064a12dbc Localisation updates from https://translatewiki.net.
Change-Id: I45e8c188778cb3928608f6d2b0c012db885092b2
2021-06-22 08:09:18 +02:00
Translation updater bot fea1360c0f Localisation updates from https://translatewiki.net.
Change-Id: Ie4895e75d1fbd170435ac038e79ef9a079c3b3f8
2021-06-21 14:11:24 +02:00
Translation updater bot bb9c9b0b34 Localisation updates from https://translatewiki.net.
Change-Id: I99219615ef923742158ae49a20111920953939bd
2021-06-18 08:20:32 +02:00
jdlrobson 46d2de89da Restore category link to sidebar
Bug: T272705
Change-Id: I2911562a902aab82783d696282bbbdd2a287e962
2021-06-15 11:55:22 -07:00
jenkins-bot f6c6a8341a Merge "Re-apply: Convert to new hook system (Workshop)" 2021-06-15 01:50:02 +00:00
Translation updater bot 707f29378f Localisation updates from https://translatewiki.net.
Change-Id: I264a28104887a88683b9aa927b5985908523fb93
2021-06-14 08:36:15 +02:00
daniel ece310d7be Re-apply: Convert to new hook system (Workshop)
This converts the CategtoryTree extension to the new (MW1.35) hook system.
The patch was written live during a hackathon workshop.
A recording of the workshop is available at
<https://www.youtube.com/watch?v=ZOj44Rbh0tM&t>.

Re-applying after fixing: premature access to $wgRequest
Restores change: Ie52c393af378a980a2dac4ae7076fd6c016a8e0e
Reverts revert: Ieee300c7b35b7069bd7e781610c915f2ecae1bf1

NOTE: the "mode" parameter for category pages seems to be broken,
as the mode is not proeprly propoagated to dynamic requests.
This was already the case before this change, and this change
does not try to fix that issue. I was tempted to just remove
the feature entirely, but T137812 inidcates that it may be useful to
some. I will comment there to see if this should be fiexed or removed.

Bug: T282110
Bug: T271011
Change-Id: Ic3ee05e9dc382f4ada5cfeb9ff5d9a69249cc60d
2021-06-11 11:20:38 +02:00
jenkins-bot 038fd0f718 Merge "Revert "Convert to new hook system (Workshop)"" 2021-06-11 06:24:34 +00:00
Tim Starling ef81879337 Revert "Convert to new hook system (Workshop)"
Fatal error observed on beta.

This reverts commit 2ee5743cfa.

Change-Id: Ieee300c7b35b7069bd7e781610c915f2ecae1bf1
2021-06-11 06:07:27 +00:00
jenkins-bot b6fbffde99 Merge "Convert to new hook system (Workshop)" 2021-06-11 00:58:27 +00:00
Translation updater bot 6c37625ea3 Localisation updates from https://translatewiki.net.
Change-Id: Ib410285242aa4b1e1408f582de6ccddefccd23b7
2021-06-04 08:35:53 +02:00
daniel 2ee5743cfa Convert to new hook system (Workshop)
This converts the CategtoryTree extension to the new (MW1.35) hook system.
The patch was written live during a hackathon workshop.
A recording of the workshop is available at
<https://www.youtube.com/watch?v=ZOj44Rbh0tM&t>.

Bug: T282110
Bug: T271011
Change-Id: Ie52c393af378a980a2dac4ae7076fd6c016a8e0e
2021-06-02 14:26:57 +00:00
Translation updater bot 4e4c4d6019 Localisation updates from https://translatewiki.net.
Change-Id: I05701f76aa1c9ff6a168a7cd12e75c4f4e60890b
2021-05-31 08:30:13 +02:00
Translation updater bot be05304e1d Localisation updates from https://translatewiki.net.
Change-Id: Icfd5138320a0ce54f31edcee62306c2216300f58
2021-05-27 14:07:28 +02:00
Translation updater bot 65626b034a Localisation updates from https://translatewiki.net.
Change-Id: Icefe7613a25e7782c5b0cc90124f9c14851e5d75
2021-05-27 12:04:52 +02:00
libraryupgrader 75f278b957 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I09f49fd2fc23736edc43d93a51047f095b277ba1
2021-05-27 00:36:39 +00:00
Translation updater bot 82593f31ed Localisation updates from https://translatewiki.net.
Change-Id: I7a19fcd4f5176a207d88272c34a28d6fdfaa5cf7
2021-05-25 08:51:29 +02:00
Translation updater bot e2dfe579eb Localisation updates from https://translatewiki.net.
Change-Id: Ic617882ba5cade4ea054ff608e8583c0f62b51a6
2021-05-24 09:53:04 +02:00
Translation updater bot 31314b9332 Localisation updates from https://translatewiki.net.
Change-Id: I22b0f889f9a3ed49aa37e4938ac95182f61696fb
2021-05-20 09:09:53 +02:00
Translation updater bot fccb6c3398 Localisation updates from https://translatewiki.net.
Change-Id: I2d3927e819d5c48569feb975a44649528ec82acb
2021-05-19 08:42:18 +02:00
jenkins-bot 21d5b72420 Merge "Unify list-style CSS" 2021-05-18 16:50:25 +00:00
Translation updater bot 03bd92fa89 Localisation updates from https://translatewiki.net.
Change-Id: Iccfbdea6a6c5d967751d5b1c98f7a338a57c3a65
2021-05-17 08:41:14 +02:00
libraryupgrader 16cba63b40 build: Updating postcss to 8.2.15
* https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I42bf38c32ef6ad999e23fdf448a438b9203f0614
2021-05-16 02:31:34 +00:00
Translation updater bot b78ae7948f Localisation updates from https://translatewiki.net.
Change-Id: I1e1e29751927ea30eb77febae1d5ee22578b63fc
2021-05-12 09:20:45 +02:00
Translation updater bot 19981d8734 Localisation updates from https://translatewiki.net.
Change-Id: I2b2961d47cf71dafe99f01883450ccbd32af9615
2021-05-11 09:05:37 +02:00
Translation updater bot ac26e0a6cd Localisation updates from https://translatewiki.net.
Change-Id: I0937a5676330a48e1093a0b7d71ccf134f9f5c49
2021-05-10 08:50:33 +02:00
libraryupgrader fb414cedab build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 3.0.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Ib20baaa20999c8319a1623678428b801f52a5b41
2021-05-09 01:14:06 +00:00
libraryupgrader 3b062dcc77 build: Updating npm dependencies
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 3.0.7 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: I5a9a458a61a27d77f6fdc5593cbba79beb89e707
2021-05-07 13:53:34 +00:00
Translation updater bot dac8f7da34 Localisation updates from https://translatewiki.net.
Change-Id: Ia82ea36845bc2115e931b597974187eefccb3e9d
2021-05-07 08:40:28 +02:00
Translation updater bot 15e39cc9d0 Localisation updates from https://translatewiki.net.
Change-Id: I4e5ba9f1431c8974773dcf8c0b020df1a173d1c7
2021-05-06 08:53:27 +02:00
Translation updater bot cb75ecf016 Localisation updates from https://translatewiki.net.
Change-Id: Id78c3953d569acef3ce462ce25028485646050e5
2021-05-04 08:51:18 +02:00
libraryupgrader e2ee5bff3c build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

Change-Id: I6daf5f05db0a1db2c3089dc1be047b752d52c4ec
2021-05-04 01:18:21 +00:00
Volker E abd233f2f0 Unify list-style CSS
`list-style: none none` was a workaround for an IE 6 & 7 rendering issue.
Same goes for `list-style-image: none; list-style-type: none;` combination.
Let's unify to shorthand `list-style: none` for any non-ancient browser.

Change-Id: If091ad82c7f73dbae826aeddc6c65c56ea92c73d
2021-05-03 01:48:51 -07:00
Translation updater bot 9db8af8baa Localisation updates from https://translatewiki.net.
Change-Id: I05126c9ae626a8ee587192eaca4cd00e7f056b6e
2021-04-28 16:42:56 +02:00
Translation updater bot 28b5339e2e Localisation updates from https://translatewiki.net.
Change-Id: I0802095940f0033261de03b677fd6c90b8d7e3df
2021-04-26 09:09:46 +02:00
Translation updater bot 55c7233c75 Localisation updates from https://translatewiki.net.
Change-Id: I6ee68283d9265ef4dab750ea3e45e9f864f6906d
2021-04-23 08:36:07 +02:00
Translation updater bot 7f920e35ed Localisation updates from https://translatewiki.net.
Change-Id: I2121eb42e8751812cd939f207031e952dda42fe3
2021-04-21 08:52:09 +02:00
Translation updater bot 8fecdd2e58 Localisation updates from https://translatewiki.net.
Change-Id: I7d975bde4cad506de90b93cfc9e16eefc34bbcda
2021-04-20 08:46:27 +02:00
Translation updater bot 45c68c76c0 Localisation updates from https://translatewiki.net.
Change-Id: I561b013156fd1db66a8acd1df8fc65a8a61828b0
2021-04-19 08:49:48 +02:00
jenkins-bot fd6bd2e9ff Merge "Namespace extension" 2021-04-19 03:40:43 +00:00
libraryupgrader d925741f9c build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I2dd1ba6a6b8da25c5718d729a3bd9734f07ef002
2021-04-16 04:50:11 +00:00
Translation updater bot 54ca4e64f1 Localisation updates from https://translatewiki.net.
Change-Id: Ied1181e4dadbfdc0f7a8bc687b8a8850b110be0f
2021-04-12 08:37:03 +02:00
Translation updater bot e846582220 Localisation updates from https://translatewiki.net.
Change-Id: Iacd6e76b72ec8581279619d52e8b7ac1d80c4fc9
2021-04-09 08:57:53 +02:00
Reedy 03685efdba Namespace extension
Change-Id: Idf4fbb9ff0c11b9da0b48b3843b2c87c155a4c36
2021-04-08 01:28:21 +01:00
Reedy 7dbedfde4d CategoryTreeHooks: Move call that is independent of a loop
Change-Id: I0901aad1581a2b679bcb68b3c7a733f9db9be81c
2021-04-07 22:34:36 +00:00
Translation updater bot 4487aa860b Localisation updates from https://translatewiki.net.
Change-Id: I77753d8fb166708aa848df1a925170b78b0efcd2
2021-04-07 08:51:11 +02:00
Translation updater bot 8320ac3401 Localisation updates from https://translatewiki.net.
Change-Id: I79e162e0de78fa73f942996e7cdc7be19a0c52c9
2021-04-06 12:01:38 +02:00