Commit graph

3208 commits

Author SHA1 Message Date
Translation updater bot 8a8b67c62c Localisation updates from https://translatewiki.net.
Change-Id: Ie2852772af3d928d3eb36986c5defe1b32852b0d
2023-04-06 09:23:52 +02:00
Translation updater bot 0e4d2f6795 Localisation updates from https://translatewiki.net.
Change-Id: Ib43cec01c17bc6c90fe51b798010156e8d41e505
2023-04-05 09:07:25 +02:00
jenkins-bot aabdc2f557 Merge "Remove integration with removed MobileFrontend talk page tools" 2023-04-04 16:19:02 +00:00
jenkins-bot 3b86e0a2d8 Merge "Translate magic words into Polish" 2023-04-04 15:23:56 +00:00
Bartosz Dziewoński 6a7d949703 Remove integration with removed MobileFrontend talk page tools
* Remove the hook we used to disable that feature
* Remove CSS that only applied when it was enabled
* Update code comments that referred to it

Bug: T319145
Change-Id: If21a04f6a087289d8249a786f7c991e5e12c9bed
2023-04-04 17:17:49 +02:00
jenkins-bot 24185a1471 Merge "styles: Replace 'mediawiki.ui/variables' call with skin variables" 2023-04-04 15:12:11 +00:00
Msz2001 a8da67cf25 Translate magic words into Polish
Change-Id: I344daa86ac9fc10a224589a57b6341f3af12593b
2023-04-04 11:30:58 +00:00
Volker E 03d1ea70ab styles: Replace 'mediawiki.ui/variables' call with skin variables
Replacing 'mediawiki.ui/variables.less' @import with
new skin-aware 'mediawiki.skin.variables.less' standard.
Also
- replacing several static values with new Codex design token featuring
  skin variables – `background-color` `color`, `border-*`, `box-shadow`.
- removing skin overrides like `.skin-monobook`, they are now covered
  by the skin variables.
Patch requires MediaWiki core version >= v1.41.0.

Bug: T332541
Co-Authored-by: Volker E. <volker.e@wikimedia.org>
Change-Id: I36c7a0f5ed06c3eccd792b19b6a1972663f20df6
2023-04-04 01:14:24 -07:00
Translation updater bot d4877b66e4 Localisation updates from https://translatewiki.net.
Change-Id: I9d6b28ea8c6ecc23916e2c96782ef6b066607f73
2023-04-04 09:16:55 +02:00
Ed Sanders 92f5cfd821 Support suppressing comment detection in pages or sections
This can be done within sections using CSS:
* mw-notalk

Or at a page level using a magic word:
* __NOTALK__

"notalk" suppresses all comment detection, treating the content as
not containing any comments even if there are signatures present.

Bug: T295553
Bug: T249293
Change-Id: Ic1d7294bafcf7071e16838e70684ecadd7bc6fd3
2023-04-03 18:36:34 +02:00
Ed Sanders 856b90fa3e Support hiding reply links in archived pages or sections
This can be done within sections using CSS:
* mw-archivedtalk

Or at a page level using a magic word:
* __ARCHIVEDTALK__

"archivedtalk" still detects the comments, but disables features
as appropriate for an archived conversion, i.e. the reply tool.

Bug: T295553
Bug: T249293
Change-Id: Ic47693e9a2f53f92563ccdd50203fb55c12d0493
2023-04-03 18:34:57 +02:00
Translation updater bot ce5165ec2d Localisation updates from https://translatewiki.net.
Change-Id: I79dc2d146a941bf5347c2bb6c6c4b716b1905f9d
2023-04-03 09:17:46 +02:00
jenkins-bot 16ac6b76a4 Merge "preloadparams on other platforms supports numbered indexes" 2023-04-01 20:55:31 +00:00
David Lynch fed37fcc82 preloadparams on other platforms supports numbered indexes
Change-Id: I4f1f5e8758007ab95e342ad5429c909f495d8deb
2023-04-01 22:49:06 +02:00
Translation updater bot 147e5ccf23 Localisation updates from https://translatewiki.net.
Change-Id: I5d7bc6eba7d3701f931c30b47d3d682e364d5cc6
2023-03-31 09:57:40 +02:00
jenkins-bot e6282e9dd8 Merge "New topics notifications: Only highlight comments in new threads" 2023-03-30 21:33:00 +00:00
jenkins-bot 679fbba088 Merge "Log an EditAttemptStep session-abort when refreshing the page contents" 2023-03-30 21:32:57 +00:00
Ed Sanders e66327746a New topics notifications: Only highlight comments in new threads
Bug: T333476
Change-Id: I3f29c4b5a9be916d25415db18f50bd8efe6532af
2023-03-30 18:42:28 +00:00
Ed Sanders fd45c64491 Merge extra arguments to highlightNewComments into 'options'
Change-Id: I2e459b380ee8e1a63af5502eecf166189c9f6916
2023-03-30 16:40:52 +01:00
Translation updater bot 0b760155f9 Localisation updates from https://translatewiki.net.
Change-Id: I64833ff25d3c74fe99d507910eef33e919da70d9
2023-03-30 09:01:39 +02:00
jenkins-bot 8e54c4d52d Merge "Parser: Store timestamp ranges" 2023-03-29 07:49:46 +00:00
jenkins-bot fb4692e9f5 Merge "Don't ship data for skipped tests to JS test code" 2023-03-29 07:49:45 +00:00
Translation updater bot e236fa4009 Localisation updates from https://translatewiki.net.
Change-Id: Ic76378f67e45baa2551c02affaed94fc2c0ccb50
2023-03-29 09:04:13 +02:00
David Lynch 98bab18d91 Log an EditAttemptStep session-abort when refreshing the page contents
Depends-On: I0092789a425ed92e90c71b2125b195b61dcb49c3
Bug: T301582
Change-Id: I2ba94bf9ca28718dac69bb4b2b431471eff63abc
2023-03-28 22:55:45 -05:00
Ed Sanders 2fcc505d50 Parser: Store timestamp ranges
Change-Id: Ifcbe22011f11f4374f38b7aa346da5a96cac968c
2023-03-28 23:51:17 +00:00
Bartosz Dziewoński 8e570a742b Don't ship data for skipped tests to JS test code
In local testing, this reduces the amount of data loaded by
Special:JavaScriptTest from 27 MB to 20 MB.

Change-Id: I37f0f677751031cc965d1921a62871154bbe9201
2023-03-29 01:48:36 +02:00
jenkins-bot 454e15e8aa Merge "List "Topic subscriptions" under "Account management" on Special:SpecialPages" 2023-03-28 11:05:43 +00:00
Translation updater bot 9573d20b0b Localisation updates from https://translatewiki.net.
Change-Id: Ida4cb742fb6883acbb991c7869b649f8c5ccfff2
2023-03-28 08:40:11 +02:00
Bartosz Dziewoński 18689b370a Add optional tracking category for comments in the lede section (before first heading)
The tracking category is disabled by default and has to be
enabled by overriding the localisation message
'MediaWiki:Discussiontools-comments-before-first-heading-category'.

Bug: T324139
Change-Id: I6e4818e9421f76aec814444b2da9f5d8585c75fd
2023-03-28 01:32:04 +02:00
jenkins-bot 9e51f11b8c Merge "Add new topics subscription button in Minerva" 2023-03-27 23:04:55 +00:00
Ed Sanders e6a255215f Add new topics subscription button in Minerva
Bug: T332730
Change-Id: Ib6915319eeae4aa32c875decd51e7fd8db4dbd16
2023-03-27 23:28:38 +01:00
Bartosz Dziewoński 9f5692cf85 List "Topic subscriptions" under "Account management" on Special:SpecialPages
Bug: T333242
Depends-On: Ieba1631ca3c0562b784aa07d2b26c418448e70a1
Change-Id: I98f67216936846005f2fe1482b18c863da7e0bc7
2023-03-27 21:50:24 +00:00
jenkins-bot 15e40153f2 Merge "Add {{GENDER:|}} to some localisation messages" 2023-03-27 17:52:25 +00:00
jenkins-bot d08871fdae Merge "Centralize EditAttemptStep logging code in WikimediaEvents" 2023-03-27 15:30:43 +00:00
Translation updater bot 6b5ff28ba2 Localisation updates from https://translatewiki.net.
Change-Id: Id0a32df0b4998ea53998facd6095eb303d4374a1
2023-03-27 08:40:56 +02:00
jenkins-bot 7bb0265d68 Merge "Add a limit to queries on SpecialFindComment etc." 2023-03-26 10:35:14 +00:00
Bartosz Dziewoński c0cb0bb24d Add a limit to queries on SpecialFindComment etc.
Some mass messages appear on hundreds or thousands of pages and it's
not good to try to list them all.

Change-Id: Ib903d67ba4fd9d85790ef4271933991b9b6f3834
2023-03-26 10:29:39 +00:00
jenkins-bot 0bd7fe6f6b Merge "Fix [reply] spacing on mobile when usability improvements unavailable" 2023-03-25 09:10:06 +00:00
jenkins-bot 98f37c5e9e Merge "Add Special:DiscussionToolsDebug" 2023-03-24 16:25:04 +00:00
Translation updater bot 02b89a8b61 Localisation updates from https://translatewiki.net.
Change-Id: I838a04d29dc3e3f2f54d18afb8db13fddc632b65
2023-03-24 09:26:51 +01:00
jenkins-bot 7106233d59 Merge "Only show the mobile add topic button on view pages" 2023-03-24 00:37:12 +00:00
Bartosz Dziewoński b7ac6387ce Add {{GENDER:|}} to some localisation messages
Although it's not necessary to use `{{GENDER:|}}` (with empty first
parameter – referring to the user viewing the page) in the English
message to enable its use in translations, translators keep asking us
about it, so let's make it clear.

Add the markup to messages that already use it in at least one
translation and those phrased very similarly to one of them.
See task for details.

Bug: T332164
Change-Id: I27ca34c41493921d4c7fda8f92f40c3495af2804
2023-03-23 23:46:22 +01:00
Bartosz Dziewoński 8d2304b3ed Add Special:DiscussionToolsDebug
It demonstrates how the DiscussionTools extension recognizes
the threads and comments present on a page, to help in debugging
or understanding its behavior.

Co-Authored-By: Ed Sanders <esanders@wikimedia.org>
Change-Id: Idbc90bd8d7742615178331889daae5f94a007fcc
2023-03-23 20:43:31 +01:00
David Lynch 0cf9c41b18 Only show the mobile add topic button on view pages
Bug: T332897
Change-Id: Id63c391a286356d9007f9a7a0b6eec75747ee6c3
2023-03-23 10:19:10 -05:00
Translation updater bot 6c66ab7c23 Localisation updates from https://translatewiki.net.
Change-Id: I6ef0c254bf3adb8c636d95735eb80fee08e8857e
2023-03-23 09:25:11 +01:00
Bartosz Dziewoński bfe4a81436 Fix [reply] spacing on mobile when usability improvements unavailable
Minerva uses block placement for the buttons only on pages where
usability improvements are available.

Follow-up to 869520a6d0.

Bug: T325416
Change-Id: I9e828197aea7bbaff86489f3ef6e256e0a0845ff
2023-03-23 00:17:18 +01:00
Ed Sanders d31254005f Update linters
Autofix some stylelint inssues

Change-Id: I5200899d253724a61bde127ccb00d8c0108af205
2023-03-22 22:38:41 +00:00
Umherirrender b7c74a34f4 build: Remove unneeded inline stylelint-disable-next-line
modules/dt.ui.ReplyWidget.less
  39:39  ✖  Needless disable for "no-duplicate-selectors"
--report-needless-disables
  65:2   ✖  Needless disable for "no-descending-specificity"
--report-needless-disables
 205:2   ✖  Needless disable for "no-descending-specificity"
--report-needless-disables

Change-Id: I233fdfbed46a9f8e75629d827b00007679063c29
2023-03-22 21:43:31 +01:00
jenkins-bot 47c40f627e Merge "persistRevisionThreadItems: Allow processing all pages in a namespace" 2023-03-22 15:17:45 +00:00
jenkins-bot 3dc8b69fb5 Merge "Bring over deleted message minerva-talk-full-page from Minerva" 2023-03-22 15:12:16 +00:00