Commit graph

2598 commits

Author SHA1 Message Date
David Lynch faff90b96b Mobile empty state adjustments: hide image, bigger button
Bug: T305261
Change-Id: I503a62fafaebfe17e1dd2181e543dcc2dbac9eb1
2022-04-21 11:48:23 -05:00
Translation updater bot e8f7b099ce Localisation updates from https://translatewiki.net.
Change-Id: I0ccede114ea9262e28f0090729bd5f09f9abbc61
2022-04-21 08:12:03 +02:00
jenkins-bot 40b9b7a536 Merge "Avoid duplicating page content if there are multiple .mw-parser-output elements" 2022-04-21 01:02:06 +00:00
jenkins-bot 32027a313b Merge "ReplyWidget: Fix text-align when content and user language have different direction" 2022-04-21 01:00:12 +00:00
Bartosz Dziewoński d910663bbc highlighter: Ensure items in .ranges and .$element are in the same order
jQuery#add sorts the nodes in DOM order (and removes duplicates).
We did not sort the ranges, so they could end up in a different
order, causing #update to apply the CSS to the wrong nodes.
This was usually harmless, but it could cause incorrect rendering
when some elements are positioned or hidden.

Change-Id: Ic359db08dafa3d86a5778426a7dc2419c94feabd
2022-04-20 19:41:44 +02:00
Translation updater bot c83ce3c5ae Localisation updates from https://translatewiki.net.
Change-Id: I803c04b26b2f0e23a10c5121e749aa458002d9c6
2022-04-20 08:18:37 +02:00
jenkins-bot 0b57fc6d66 Merge "Replace Action::getActionName by IContextSource::getActionName" 2022-04-20 00:15:27 +00:00
Bartosz Dziewoński 0c6013c582 ReplyWidget: Fix text-align when content and user language have different direction
Bug: T306137
Change-Id: Ibb0accc210f3cd922ddfb4f0d95df2f98f684425
2022-04-19 22:05:09 +02:00
Bartosz Dziewoński 1ad185e097 Avoid duplicating page content if there are multiple .mw-parser-output elements
Bug: T306388
Change-Id: Iaee2999f02929d562ae9f78ef50913d515c72bb3
2022-04-19 21:46:59 +02:00
jenkins-bot 32ab7cdd97 Merge "Fix highlighting and expanding of new topics on mobile" 2022-04-19 19:10:31 +00:00
Ed Sanders 89a1efc9d8 Fix highlighting and expanding of new topics on mobile
Set the location hash to that of the new topic, then wait
for the section to expand before drawing the highlight.

Bug: T306399
Bug: T301840
Change-Id: I8bc78b49f359e10279584c16269fcb78a087eae0
2022-04-19 15:41:28 +00:00
jenkins-bot 019b22ed11 Merge "Remove limit on the number of topic subscriptions per user" 2022-04-19 15:29:00 +00:00
Translation updater bot a3a5815927 Localisation updates from https://translatewiki.net.
Change-Id: Id734c5ca9b5a3cbcced8dea8907bb29d86778ccd
2022-04-19 10:14:23 +02:00
Translation updater bot 2916e05c15 Localisation updates from https://translatewiki.net.
Change-Id: I3ffde0dd66c38b547885cf6b02043463aaf465a9
2022-04-18 10:05:54 +02:00
Umherirrender a979257396 Replace Action::getActionName by IContextSource::getActionName
Change-Id: If681252727a161d62444c8edbcd0cf447df1e765
2022-04-15 22:52:30 +02:00
libraryupgrader 2e37c28062 build: Updating minimist to 1.2.6
* https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: I5145191bb257914e8e2d667801417a5cf0a8cd3a
2022-04-15 03:19:54 +00:00
Bartosz Dziewoński a31f022ba5 Remove limit on the number of topic subscriptions per user
We added the limit out of abundance of caution, because we were not
sure how the table is going to grow. We can see now that it's growing
slowly and reasonably.

Bug: T294881
Change-Id: I5da444c5d070926452e96ddbbe728b9e0375e466
2022-04-14 17:52:23 +00: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