Commit graph

3512 commits

Author SHA1 Message Date
Ed Sanders 4fb474d611 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I164d6175f8077487e2d8dfbf0bcfbd13f1545cae
2022-05-04 23:25:06 +01:00
Translation updater bot b7a81cfc94 Localisation updates from https://translatewiki.net.
Change-Id: I4d7a9cd8f9ccd88c74fbc6a4b8a8bc23a137075e
2022-05-04 08:18:24 +02:00
Translation updater bot 5a236b6864 Localisation updates from https://translatewiki.net.
Change-Id: Id55fe0cf66cf7a9b38cfe0e3300a986b2d80a124
2022-05-03 08:45:13 +02:00
Translation updater bot f6e2062188 Localisation updates from https://translatewiki.net.
Change-Id: Ib0f68f1f5ca2d038393ecb79b5e0945e751dd118
2022-05-02 08:19:27 +02:00
Translation updater bot 8bc10a1cdc Localisation updates from https://translatewiki.net.
Change-Id: Id7db01fd6a987efce2f7223dc1ae9231cecfd970
2022-04-29 08:42:51 +02:00
Translation updater bot fc8825a0b8 Localisation updates from https://translatewiki.net.
Change-Id: If073ef94f4c1064bc58e162164c8e4b6a0a28e69
2022-04-28 09:28:27 +02:00
libraryupgrader d3e19be43d build: Updating grunt to 1.5.2
Change-Id: Iabd2bcceebfe962c5c8f74dfbf93f04daf40cfd2
2022-04-27 10:13:42 +00:00
Translation updater bot f8cabe6678 Localisation updates from https://translatewiki.net.
Change-Id: I8c31c16b7bafe7f34df2362cbe89513da92c2973
2022-04-26 08:54:02 +02:00
Translation updater bot 9918b68563 Localisation updates from https://translatewiki.net.
Change-Id: I0a832eac020dbeb2d86c4aabd222f1a7a338b349
2022-04-25 08:17:43 +02:00
Translation updater bot 4b8ad4c21c Localisation updates from https://translatewiki.net.
Change-Id: I4c129a4bea6943dfa1abfdc945ee4ed5b6e72abb
2022-04-22 08:23:04 +02:00
jenkins-bot 4f25201193 Merge "highlighter: Set the location hash for new topics on desktop as well" 2022-04-21 23:55:19 +00:00
jenkins-bot 90018a5b55 Merge "highlighter: Ensure items in .ranges and .$element are in the same order" 2022-04-21 23:55:17 +00:00
jenkins-bot d35c96db97 Merge "Mobile empty state adjustments: hide image, bigger button" 2022-04-21 21:48:07 +00:00
Bartosz Dziewoński f411f1c342 highlighter: Set the location hash for new topics on desktop as well
The old section=new wikitext editor does this, and I'd rather support
the same behavior on desktop and mobile than different ones.
Follow-up to 89a1efc9d8.

Change-Id: I5371f932680638ee159f2f713bbca44bba5675aa
2022-04-21 22:36:35 +02:00
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