Translation updater bot
d876b70dc8
Localisation updates from https://translatewiki.net .
...
Change-Id: I2895b042b23cc85a432cb7681950fc69fa87ca2a
2024-05-22 07:52:34 +02:00
Translation updater bot
24803daf4e
Localisation updates from https://translatewiki.net .
...
Change-Id: I6cb70a77272ca70207f78e884c26f9e51344e37d
2024-05-15 07:50:37 +02:00
Amir Sarabadani
66abf96b79
Fix static cache access
...
Currently, DT is making more than 30 exact queries back to back in every
request. It is clear the caching is completely broken.
It is because when the properties don't exist (majority of the cases),
it returns an empty array making the caching noop.
Tested in mwdebug1002 and it fixes the issue.
Bug: T364693
Change-Id: I182ae121999df1a04cfb7399bc49891587a37074
2024-05-13 09:49:11 +00:00
Bartosz Dziewoński
efe2f4b3d8
Fix PHP getTitleFromUrl() when $wgArticlePath is '/$1'
...
In this case, the generated regexp would match the '/local' part in
the generated URL. Prefixing 'https://local ' is no longer necessary
since 10899af666
.
Add tests for this, and some tests to cover T261711 as well.
Bug: T358321
Change-Id: Idf54deba13f30b799b7b8d17de1897bc90f95701
2024-05-11 16:46:03 +00:00
Bartosz Dziewoński
a14474ed76
CommentFormatterTest: Set ArticlePath in the test
...
Tests would fail if your wiki's config was different than this.
Change-Id: I148851a9d7b777f1fad5f17b01b835b0b9384a80
(cherry picked from commit cf9f11167d
)
2024-05-11 18:45:49 +02:00
Translation updater bot
be89908bd5
Localisation updates from https://translatewiki.net .
...
Change-Id: I3104c113d869ef0464dd175298cfa70f6b6f0c5f
2024-05-08 08:22:36 +02:00
Translation updater bot
8c62304d6a
Localisation updates from https://translatewiki.net .
...
Change-Id: If19d1ed07d0e04327b74b4192c1e21ca2fc2a5f9
2024-05-01 08:07:35 +02:00
Translation updater bot
5e18ed21a1
Localisation updates from https://translatewiki.net .
...
Change-Id: I715c886dd588c863e59cfcdac5aebd9193b32d23
2024-04-24 07:51:53 +02:00
Translation updater bot
67d3fc76d0
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifdd8f3124815aa8c7357694c9e2d9c694dd54ffb
2024-04-17 08:10:52 +02:00
Translation updater bot
94789de71d
Localisation updates from https://translatewiki.net .
...
Change-Id: I902bfe8d4fd4928745d3b7292196688b7ad4cb64
2024-04-10 07:51:04 +02:00
Translation updater bot
158b1cf55b
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie7ec4cbea78f26b20b7466c7e4b01d6444c64699
2024-04-03 08:16:29 +02:00
Translation updater bot
ff9743bac6
Localisation updates from https://translatewiki.net .
...
Change-Id: I9fbdc0555162ffad00b8bd5347a3d8d5cbd13875
2024-03-27 07:23:07 +01:00
Translation updater bot
84bd3db823
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie441fd3aee418ba77d25a90c5e3b068cddffac4a
2024-03-20 06:53:59 +01:00
Translation updater bot
882eb6a0d3
Localisation updates from https://translatewiki.net .
...
Change-Id: I2a7f93cbd9e2d55dca3ffc252e10ea2916058170
2024-03-13 07:03:10 +01:00
Translation updater bot
0c6946c96a
Localisation updates from https://translatewiki.net .
...
Change-Id: I5bbca14d8589cf8891bed4549fca6f26cb0d14e3
2024-03-06 07:16:50 +01:00
Translation updater bot
5bbae05888
Localisation updates from https://translatewiki.net .
...
Change-Id: Iaf3bdddef7b73b63e973c153dbf86c6ddc6c5ae9
2024-02-28 07:16:55 +01:00
Translation updater bot
d49ff1f6f1
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic2797b043adef8a532402e446f5bea2f83f7577a
2024-02-21 07:16:36 +01:00
Translation updater bot
d601ff6d59
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifa1e6d7e41787625d970fb315e31e008e2ad9bce
2024-02-14 07:20:52 +01:00
Paladox
de53dd3689
Fix "Argument #3 ($isSectionEditable) must be of type bool, null given"
...
On master, this was removed with [0], but this is a breaking change.
[0] f8b76afef3
Change-Id: I33fd737735f4e3d96180ddbc0f76896f6d18f18c
2024-02-09 13:48:12 +00:00
Translation updater bot
d5246d3859
Localisation updates from https://translatewiki.net .
...
Change-Id: If7619926bb0ffabbdffdcb329b169173f0a73aea
2024-02-07 07:31:34 +01:00
libraryupgrader
53be9f8d09
build: Updating npm dependencies
...
* eslint-plugin-compat: 4.1.4 → 4.2.0
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* postcss: 8.4.21 → 8.4.33
* https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 7.3.8 → 7.5.4
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* word-wrap: 1.2.3 → 1.2.5
* https://github.com/advisories/GHSA-j8xg-fqg3-53r7
Change-Id: I1697a5a451ffee79c2beeb03489acb59c32cd05d
2024-02-05 05:56:12 +00:00
Translation updater bot
7063743524
Localisation updates from https://translatewiki.net .
...
Change-Id: Id1a044162b538832a7963cc54b4c2050c4f5613c
2024-01-31 07:15:09 +01:00
Translation updater bot
bd5e17ff5a
Localisation updates from https://translatewiki.net .
...
Change-Id: Icaf73207bb0300bef86720eb29be49ea516131d4
2024-01-24 07:34:02 +01:00
Translation updater bot
8335c33fcd
Localisation updates from https://translatewiki.net .
...
Change-Id: I23d28ad4d36a35234db2dc3c8b87841c4a30ea12
2024-01-17 07:37:25 +01:00
Translation updater bot
bcdcb1b74f
Localisation updates from https://translatewiki.net .
...
Change-Id: I09462a38098c952623df34d78d105e92b96cbab3
2024-01-10 07:41:54 +01:00
Translation updater bot
cf3ef04f2e
Localisation updates from https://translatewiki.net .
...
Change-Id: I3a997b857ad45805e394358b19a5f095f0ed0f2a
2024-01-03 07:25:19 +01:00
Translation updater bot
774831d0a2
Localisation updates from https://translatewiki.net .
...
Change-Id: Idef34f191606b94ba63b5d524fcc3e0e01a9e1a5
2023-12-27 07:11:58 +01:00
Translation updater bot
d1ee6b35ec
Localisation updates from https://translatewiki.net .
...
Change-Id: Ia696a3b4f2d4fc2fd6b3bbef01a8306a4ad6b1e7
2023-12-20 08:28:30 +01:00
Translation updater bot
b63273aa57
Localisation updates from https://translatewiki.net .
...
Change-Id: I8d52e57547016cc5c05a2ebba39dddeda06114dc
2023-12-13 08:06:05 +01:00
Translation updater bot
62e993594e
Localisation updates from https://translatewiki.net .
...
Change-Id: I16d54ba8916ce54aaf7742966fc881d6ad225693
2023-12-06 08:13:08 +01:00
Translation updater bot
75f2f223be
Localisation updates from https://translatewiki.net .
...
Change-Id: I7dc8c1f184e521596d06509bdb6df093572c1135
2023-11-29 07:58:57 +01:00
Translation updater bot
2caf066d2c
Localisation updates from https://translatewiki.net .
...
Change-Id: I429676982bdd50764ddefcd63883ca9acb1307b2
2023-11-22 07:38:39 +01:00
Translation updater bot
b6df84391f
Localisation updates from https://translatewiki.net .
...
Change-Id: Ifdf90fa996222ed1f9c41f1f7adf64ef7c6bafdc
2023-11-15 07:35:38 +01:00
Translation updater bot
4f4bf1d232
Localisation updates from https://translatewiki.net .
...
Change-Id: I91b2f32af128853fdea37787d79c4d1ca856313b
2023-11-08 07:27:04 +01:00
Translation updater bot
fe3c7bf7a9
Localisation updates from https://translatewiki.net .
...
Change-Id: Ica4afb104b0f3fc5b0631d72ff5bf35b4beaa920
2023-11-01 07:56:10 +01:00
Translation updater bot
2ea4e4b685
Localisation updates from https://translatewiki.net .
...
Change-Id: I5ea855fdd6f2af51bd71059605e8017c771c2187
2023-10-25 07:28:57 +02:00
Translation updater bot
3659d23253
Localisation updates from https://translatewiki.net .
...
Change-Id: I6438f0b4ea4503609fe0012f2a2a39d2d6d46a72
2023-10-18 07:22:29 +02:00
Kosta Harlan
4c7ba1ba0e
CommentFormatterTest: Mock getConfig
method
...
Why:
- Tests may invoke code that calls `getConfig` on the ContextSource
What:
- Mock the `getConfig` method
Follows-Up: I07b312b8c00f9b5d20e285874ed0a0153949dd18
Change-Id: I5c5b0d7cef24af108aeab461ba06b533eae4b739
2023-10-09 21:37:53 +02:00
jenkins-bot
f9f9bf11f3
Merge "Always pass whole OutputPage (as IContextSource) to postprocess functions"
2023-10-09 18:05:54 +00:00
jenkins-bot
db961ecd24
Merge "Put mobile ellipsis button menu in an overlay"
2023-10-09 17:27:22 +00:00
jenkins-bot
f8b757bcae
Merge "ThreadItemStore: Fix rows with itr_items_id=0 corrupted by T339882"
2023-10-09 15:34:55 +00:00
Ed Sanders
4447b6d201
Always pass whole OutputPage (as IContextSource) to postprocess functions
...
Change-Id: I07b312b8c00f9b5d20e285874ed0a0153949dd18
2023-10-09 15:41:28 +01:00
Translation updater bot
97d385e948
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibd1d3cabf9f5ffd3e4e884282568eb43364badee
2023-10-09 08:55:50 +02:00
Bartosz Dziewoński
edc28d3d7c
Put mobile ellipsis button menu in an overlay
...
This avoids unexpected interactions where choosing an option in the
menu behaves like tapping the heading.
Bug: T348217
Change-Id: I7c38bb51fa99606e708d3ff5a2f3d6101dec2fae
2023-10-07 03:05:23 +02:00
jenkins-bot
eef701da1e
Merge "Add null check for str_starts_with"
2023-10-06 19:37:12 +00:00
Umherirrender
3aadcace2b
Add null check for str_starts_with
...
Only needed for phan, under php8.1 this internal
function is deprecated about null.
The property $subscriptionName is not null when $subscriptionTitle is
not null and current code is safe, but phan cannot see the dependency
between both properties
Change-Id: I9e67309ec25a70c5de91d7f3e8f18447f205a4e4
2023-10-06 18:49:28 +02:00
jenkins-bot
0f1e29a76a
Merge "overflow menu: Display menu next to comments on mobile"
2023-10-06 14:49:05 +00:00
jenkins-bot
2c920d2902
Merge "overflow menu: Add hooks for registering and interacting with items"
2023-10-06 14:48:15 +00:00
Translation updater bot
893846be65
Localisation updates from https://translatewiki.net .
...
Change-Id: Id8d4080125b73cdbdc4d308da0e5a39499c235e3
2023-10-06 09:19:33 +02:00
Kosta Harlan
351891a063
overflow menu: Display menu next to comments on mobile
...
Why:
- We want to provide contextual actions adjacent to comments, not just
topic headings.
What:
- Consolidate the logic for embedding the overflow menu button HTML into
a function, and add this for both topic and comment items.
- For this patch, this is done only for mobile; in a follow-up patch, we
can add support for desktop
- This doesn't use a feature flag as 1) no one is implementing the
DiscussionTools hook yet, 2) the 'edit' menu item is disabled at the
comment level. Merging this change would be a no-op until an extension
implements the DiscussionToolsAddOverflowMenuItemsHook.
Bug: T342251
Change-Id: I15a151f151e2fa04398876b559d93d45c42f6ef6
2023-10-05 15:50:38 +01:00