Commit graph

2182 commits

Author SHA1 Message Date
Umherirrender a979257396 Replace Action::getActionName by IContextSource::getActionName
Change-Id: If681252727a161d62444c8edbcd0cf447df1e765
2022-04-15 22:52:30 +02:00
Translation updater bot 1d72f8863e Localisation updates from https://translatewiki.net.
Change-Id: I422911a416c37fe82956f78a5a154a6f466714f8
2022-04-14 08:26:24 +02:00
Translation updater bot 62ff76ee59 Localisation updates from https://translatewiki.net.
Change-Id: I8d0a739da313b153aa9c765e18ab9d5bb74b31d8
2022-04-13 08:32:12 +02:00
Ed Sanders 64c76f54a3 Don't reload the page on mobile
Bug: T301839
Depends-On: I0985dd5e8db6f82df882c6f4de4ef3821a0eef13
Change-Id: Ic02de79627b813c1fa6f0e537288206bfb1dbd1c
2022-04-12 18:23:57 +01:00
Translation updater bot 750c084104 Localisation updates from https://translatewiki.net.
Change-Id: I543ac749abee2129c646a8b606d888f5f024689b
2022-04-12 08:14:08 +02:00
jenkins-bot b0be1cbf21 Merge "Revert "Make comment markers inline-block to fix comment wrapping in Safari"" 2022-04-11 19:20:30 +00:00
Esanders 0e5ce694f3 Revert "Make comment markers inline-block to fix comment wrapping in Safari"
This reverts commit b4b6ae4e81.

Bug: T305721
Bug: T298371
Change-Id: I108595da651f5a746043b553c2bcf4bdfc64c437
2022-04-11 12:32:52 +00:00
Translation updater bot 0aa721b551 Localisation updates from https://translatewiki.net.
Change-Id: I3224bb83fa60f1f359966155d0f76324f7e45a09
2022-04-11 08:13:55 +02:00
Ed Sanders 91446d790e Empty state: Use self closing Html generators
Change-Id: I5352b064ac9e71df9f3f8791139944126b321436
2022-04-08 18:30:48 +01:00
jenkins-bot e87d2117e9 Merge "Replace mediawiki.Uri with native URL (or polyfill)" 2022-04-08 08:49:35 +00:00
Translation updater bot 98e646fba0 Localisation updates from https://translatewiki.net.
Change-Id: I64cba0fbc6ec8e137ab8423627bf9f40537701a9
2022-04-08 08:27:33 +02:00
Bartosz Dziewoński cf255f28bf Replace mediawiki.Uri with native URL (or polyfill)
Depends-On: I7c4f9b6449a4317d68f4923fb4f198181bbfe800
Depends-On: I04464c17369ffb0dd4e7c33d2bd4db7b2d050bf4
Bug: T305010
Change-Id: I02da91010304af35f0b1f2bd4d65a84d51f29930
2022-04-08 00:35:37 +02:00
Translation updater bot 5b6b78a01f Localisation updates from https://translatewiki.net.
Change-Id: I46f58c0e53d8ec36142354235bec23cddc0e0bb6
2022-04-07 08:09:27 +02:00
David Lynch 0fc474d66f Log saveSuccess more consistently
Cases where saveSuccess wasn't logged:
* creating a new page with the New Topic tool
* any replies on mobile
* successful replies made through transclusions which then couldn't
  purge the current page

These were all cases where we abandoned the post-save process early to
reload the page.

Bug: T305541
Change-Id: I1366a3e0a4b03ac67f926284f1aa718ae552d852
2022-04-06 11:37:29 -05:00
Translation updater bot 2e6e2db292 Localisation updates from https://translatewiki.net.
Change-Id: Ib0d90f3a3580f53b0a8793543133b49ece55648d
2022-04-05 08:25:21 +02:00
Translation updater bot 8036f90df1 Localisation updates from https://translatewiki.net.
Change-Id: I18f43850f3737743c5f3cf6bc5f94ee92372e9e3
2022-04-04 09:34:19 +02:00
gerritbot 731d530534 Fix usage of ApiBase::PARAM_* deprecated constants
The ones that are replaced with ParamValidator

Bug: T275455
Change-Id: I9ed72118c05cff879142ed89a3906c077413d25b
2022-04-04 00:40:51 +00:00
gerritbot 15fd46f064 Update use of deprecated constants in getAllowedParams()
Replacing StringDef ones

Bug: T275455
Change-Id: I9d1c7700f7c48112d9b2479733cc0fcd7ab6f7fe
2022-04-03 22:03:42 +02:00
jenkins-bot 4da9fdc80a Merge "Make comment markers inline-block to fix comment wrapping in Safari" 2022-04-01 15:44:16 +00:00
jenkins-bot f4f5d6daae Merge "debughighlighter: Fix date highlighting" 2022-04-01 08:15:43 +00:00
Translation updater bot 95179859fa Localisation updates from https://translatewiki.net.
Change-Id: I33952e7feb113e2d28b9b532d52f18a705eb0835
2022-04-01 08:26:38 +02:00
Translation updater bot 925cabf21b Localisation updates from https://translatewiki.net.
Change-Id: Icba32268a4e227cfa794bd572b0a758d9d4193c8
2022-03-31 08:35:43 +02:00
Translation updater bot 134d850287 Localisation updates from https://translatewiki.net.
Change-Id: I27a19ae998d7fca5e972f49188707cde17117495
2022-03-30 08:17:59 +02:00
Bartosz Dziewoński b00b7cd5b5 debughighlighter: Fix date highlighting
Follow-up to 4c29304484.

Change-Id: Id088465c3060bcceb2c2b51d784fa60b9005e867
2022-03-29 23:52:00 +02:00
jenkins-bot eb275b7810 Merge "Use namespaced VisualEditor traits and classes" 2022-03-29 21:01:28 +00:00
jenkins-bot fd6297b8a8 Merge "Remove data-mw-comment-name attribute from subscribe links" 2022-03-29 21:01:25 +00:00
jenkins-bot f7bdbee121 Merge "ApiDiscussionToolsEdit: Use CommentParser to get name/title of last topic" 2022-03-29 21:01:23 +00:00
jenkins-bot 5d2443c4bc Merge "ApiDiscussionToolsEdit: Add $preview- prefix to variables used in parsing preview" 2022-03-29 21:01:20 +00:00
jenkins-bot 8a00babfe2 Merge "ApiDiscussionToolsEdit: Use existing $this->commentParser reference" 2022-03-29 21:01:18 +00:00
Reedy 400d6227b8 Use namespaced VisualEditor traits and classes
Change-Id: I06eefd96068675607ed66a8a307d86c24d21f916
2022-03-29 20:32:44 +01:00
Translation updater bot b799fa84c1 Localisation updates from https://translatewiki.net.
Change-Id: Iccba22d349f6ff1bf3450a677a0c4124e5dfa2a6
2022-03-29 08:05:38 +02:00
jenkins-bot 081fa1008a Merge "Use Sanitizer::stripAllTags() when generating notification snippets" 2022-03-28 22:42:39 +00:00
Ed Sanders 48fdcf1056 Remove data-mw-comment-name attribute from subscribe links
The HeadingItem's name is now present in the DOM, so just traverse
to it and use that instead.

Change-Id: If28e1588742513d606e3d8fcfb259b85acc0a873
2022-03-28 22:30:59 +01:00
Ed Sanders 43a04ab7ba ApiDiscussionToolsEdit: Use CommentParser to get name/title of last topic
This is a bit slower, but reduces logic duplication, and doesn't rely
on data-mw-comment-name, which we want to get rid of.

Change-Id: I79dc0937f3fc13677deb55b413796b54b747790e
2022-03-28 22:30:59 +01:00
Ed Sanders 5cc06baf2e ApiDiscussionToolsEdit: Add $preview- prefix to variables used in parsing preview
Avoids conflict with variables used later.

Change-Id: I0b74d4d041ae57e2ba18660da0871760bf5d5561
2022-03-28 22:30:41 +01:00
Ed Sanders 8bb41c9fb2 ApiDiscussionToolsEdit: Use existing $this->commentParser reference
Change-Id: I3e2b907103372e05de9035ab8058c0766cf39819
2022-03-28 18:30:36 +01:00
Translation updater bot f3f262a2a3 Localisation updates from https://translatewiki.net.
Change-Id: I5680453e8093bbaf9c094bacf49ae070db826ce7
2022-03-28 08:20:49 +02:00
jenkins-bot 63c6aceb2c Merge "Implement getTimestampString on CommentItem" 2022-03-26 21:25:13 +00:00
Ed Sanders 215695ad2c Refactor topic subscription logic
This will make it easier to support subscription buttons with
visual enhancements enabled.

Change-Id: I3614eada32885216358143a0cacf65966381679e
2022-03-25 11:57:58 +00:00
jenkins-bot a07871d7d7 Merge "Add item name to the JSON output of HeadingItem" 2022-03-25 11:51:42 +00:00
David Lynch 71049f4ce8 Add item name to the JSON output of HeadingItem
The name is needed for the topic subscription API

Bug: T285971
Change-Id: Iedbebdfd65d03ab01b22b35781803655749aa269
2022-03-25 11:45:50 +00:00
Translation updater bot 1fa478d5c2 Localisation updates from https://translatewiki.net.
Change-Id: I9417d4d87307d0e1738758047133dbe58d9f3584
2022-03-25 08:34:46 +01:00
Ed Sanders 579b8bb1d4 Implement getTimestampString on CommentItem
Change-Id: I1768e9993debe904d6a228942ad0188486d65c0b
2022-03-24 16:49:35 +00:00
Translation updater bot 9f8332bc68 Localisation updates from https://translatewiki.net.
Change-Id: I5eb8897d5a01c23ec746b9e32937d7cee542c01b
2022-03-24 08:34:18 +01:00
Translation updater bot 7e2502f920 Localisation updates from https://translatewiki.net.
Change-Id: I418aa8229c650e5fb1ac5582ecd0274f2351ddc3
2022-03-23 08:25:14 +01:00
jenkins-bot 7e4727ed45 Merge "ImmutableRange: Fix Phan suppression" 2022-03-23 01:16:05 +00:00
jenkins-bot 35b3fd2fc0 Merge "CommentParser: Replace uses of Title with TitleValue" 2022-03-23 01:14:16 +00:00
jenkins-bot 334e1a3f33 Merge "Fix parsing of non-English titles in tests" 2022-03-23 01:02:12 +00:00
Translation updater bot 7239aab22f Localisation updates from https://translatewiki.net.
Change-Id: I78e7d4323c78ef791aeabbfb2025569bb2ff3cf4
2022-03-22 08:29:21 +01:00
jenkins-bot d91fe7aad0 Merge "CommentUtils: Fix isSingleCommentSignedBy() with empty heading" 2022-03-21 23:45:53 +00:00