Commit graph

2676 commits

Author SHA1 Message Date
David Lynch acadaf7f1e Logging: platform as phone/desktop depending on whether MF is active
Change-Id: I3ecf4b56b11008dbe6d30a0a868affa028786d95
2022-08-18 14:48:29 -05:00
Ed Sanders 0e95e45e88 Add space after namespace on talk pages
Bug: T313636
Change-Id: I481e885b54a1aeb9dd69a08dc614ab5f4f94b41e
2022-08-18 16:02:27 +01:00
jenkins-bot 4e61bf238f Merge "Add Hebrew special pages aliases" 2022-08-18 08:47:38 +00:00
Translation updater bot 7fa98f82c2 Localisation updates from https://translatewiki.net.
Change-Id: I51f822125f542f3a9e2a483dae7624b2476eba29
2022-08-18 08:38:10 +02:00
Amir E. Aharoni e6decef514 Add Hebrew special pages aliases
Also change the order of language names. The usual
practice is to put the English name first. Among other
things, it helps plain text editors ensure that the line
will behave correctly with RTL language names.

Change-Id: I6b3566bb25354bfdc7cd718b110d98f077e13e31
2022-08-18 09:32:28 +03:00
jenkins-bot 9cf6fc6240 Merge "Show created/notified dates on Special:TopicSubscriptions" 2022-08-17 20:07:57 +00:00
Translation updater bot 8ce9c14677 Localisation updates from https://translatewiki.net.
Change-Id: Ib22dedb29d2534075811a48b818bfc78c59822c6
2022-08-17 08:24:15 +02:00
jenkins-bot 234a698282 Merge "Replace deprecated database stuff" 2022-08-17 03:25:45 +00:00
jenkins-bot 5d965ad9db Merge "Add config option to enable/disable permalinks backend" 2022-08-17 03:25:30 +00:00
jenkins-bot 01882fe1ce Merge "Prevent using the reply tool together with Convenient Discussions gadget" 2022-08-17 03:24:40 +00:00
jenkins-bot 0bc90709ed Merge "Add space if possible after bullet indentation" 2022-08-17 03:16:53 +00:00
Bartosz Dziewoński ee4e75cbf5 Add try…catch in failing deferred update
This code is throwing exception for as yet uncertain reasons, which
may cause other updates to not be executed (e.g. Echo notifications).
Put a try…catch around it while we investigate.

Bug: T315383
Change-Id: Ic7aba32369f69c2e8165d5d6d25687a4cb6e0be8
2022-08-17 02:18:44 +02:00
Bartosz Dziewoński e6fff19e7e Prevent using the reply tool together with Convenient Discussions gadget
Parts of the implementation copied from the Popups extension.

Bug: T298909
Change-Id: I2c42c6ff1c5d84da9333f8f74a4aec5c8fea704b
2022-08-17 01:40:43 +02:00
Bartosz Dziewoński c1442f8331 Replace deprecated database stuff
From in-person code review with Amir:
* getConnectionRef() has been deprecated in favor of getConnection()
* 'watchlist' query group no longer exists (T263127)
* Since this simplifies things, we can remove our wrapper methods

Change-Id: Ic610233b2e6d6ed68f7e1f5b31bb8996ed77f04b
2022-08-16 18:51:28 +00:00
Bartosz Dziewoński 4ffebd80f2 Add config option to enable/disable permalinks backend
From in-person code review with Amir: using tableExists() is a bad
idea, because the table might not consistently exists on all replicas.
It's better to have a config option despite the inconvenience.

Bug: T315353
Change-Id: I728759634c454c0dcbdc4603c15cab60415c7c03
2022-08-16 18:38:45 +00:00
Translation updater bot 38ff32c0e7 Localisation updates from https://translatewiki.net.
Change-Id: I4802f1cd82fd77e434edb6aae8db5226ad401f0a
2022-08-16 08:34:13 +02:00
Martin Urbanec 84a7a6540a Add Czech special page aliases
Change-Id: I2780e26ba6fb50003bed3542ca7e31212853456c
2022-08-15 10:23:52 +02:00
Translation updater bot 0791087f26 Localisation updates from https://translatewiki.net.
Change-Id: I1b34a38d0a034a602c729a1048098430d48e1ead
2022-08-15 08:26:08 +02:00
Bartosz Dziewoński 4c17819a76 Migrate usage of Database::select (and friends) to SelectQueryBuilder
Bug: T312466
Change-Id: I99d4402d796421221a1c6c56ef88b023cb495833
2022-08-13 00:32:45 +02:00
Bartosz Dziewoński d16daa3de6 Add space if possible after bullet indentation
Bug: T259864
Change-Id: Icd893e2673e346c591c8bd65ae88be2aadd23838
2022-08-12 22:33:02 +02:00
Amir E. Aharoni 2dc17a3e48 Reorder messages for translator convenience
Put discussiontools-findcomment-results-id and
discussiontools-findcomment-results-name before
discussiontools-findcomment-gotocomment, so that
translators have clearer context. The qqq of
the latter message referes to the first two,
so they should be translated earlier.

Change-Id: Ia58c43c85675b3e48c74622eee40f0bfd38cc951
2022-08-12 10:44:07 +00:00
Amir E. Aharoni 02b9bfa339 Don't enforce alphabetical order in i18n files
Bug: T315065
Change-Id: I55a4fd38d2559aa9f460e43983e085fbb1962e32
2022-08-12 13:29:39 +03:00
Translation updater bot 077d292434 Localisation updates from https://translatewiki.net.
Change-Id: Idf4f3b2f3f5af4ec1f63779e95e4c30376cee3e0
2022-08-12 08:42:56 +02:00
jenkins-bot 95fb33fb57 Merge "Store permalink data, implement Special:FindComment/GoToComment" 2022-08-11 17:11:44 +00:00
jenkins-bot 1f9645cb0b Merge "Add signature on separate line if wikitext comment ends with a list" 2022-08-11 13:46:42 +00:00
jenkins-bot 1eb59a6682 Merge "Avoid dependency on Minerva for the mobile "Add topic" button label" 2022-08-11 13:43:57 +00:00
Translation updater bot 556a3a5d40 Localisation updates from https://translatewiki.net.
Change-Id: I91003d209cfb6e076d752ac4cfd1059baa73ade6
2022-08-11 08:50:23 +02:00
Bartosz Dziewoński 0024a94ba7 Store permalink data, implement Special:FindComment/GoToComment
Depends-On: I90656cc74bb1cb1f2f3c82ad51cfb164cb8a4a4b
Bug: T296801
Change-Id: I84187b303aa10a242c872088403f808df3d1f940
2022-08-11 01:19:47 +02:00
jenkins-bot a56dead172 Merge "CommentFormatter: Set 'data-mw-comment' even when reply tool disabled" 2022-08-10 23:00:17 +00:00
jenkins-bot 4b0349a178 Merge "Initialize on live preview and real-time preview too" 2022-08-10 15:14:05 +00:00
Translation updater bot a9a0236d71 Localisation updates from https://translatewiki.net.
Change-Id: I562f5deec82a45cff7e8921309505759fc4f0423
2022-08-10 08:23:19 +02:00
jenkins-bot 91a94fe9bb Merge "Pass empty string to unused argument of pushState/replaceState" 2022-08-09 20:48:12 +00:00
jenkins-bot 89607c6e25 Merge "Implement percentDecode for finding link fragment targets" 2022-08-09 20:18:58 +00:00
Ed Sanders b3b543040b Implement percentDecode for finding link fragment targets
Relying on :target getting set means we can't use
history.pushState to change the URL without scrolling.

Should conform to https://url.spec.whatwg.org/#percent-decode

Change-Id: I4ccc3fd745884849a781a9f7fc8b00b8b689e20a
2022-08-09 20:06:28 +00:00
Ed Sanders 9f27c55f8c Pass empty string to unused argument of pushState/replaceState
Per https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState
this argument is treated as unused in all the browsers we support.

Change-Id: I515193fdafaaf1c19701bc77e590d6f66b1cf4bf
2022-08-09 13:37:57 +01:00
Translation updater bot 8e52dbfdd6 Localisation updates from https://translatewiki.net.
Change-Id: Ica8bdd209131bbf3be3394b2d0ac4382b4c5db42
2022-08-09 08:19:34 +02:00
jenkins-bot eb260cc598 Merge "Don't display the empty state if the subject page or user doesn't exist" 2022-08-08 20:54:52 +00:00
Translation updater bot 4b7b106c4c Localisation updates from https://translatewiki.net.
Change-Id: If2ed19a1227b15bafc97ff01b4a714b33c14be43
2022-08-08 08:58:27 +02:00
Bartosz Dziewoński a27765319b CommentFormatter: Set 'data-mw-comment' even when reply tool disabled
Move the code that generates these wrapper nodes and attributes
from postprocessReplyTool() (only called when reply tool is enabled)
to addDiscussionToolsInternal (always called).

This undoes some changes from 31c57d594a and 980b2c38bc.

Bug: T314707
Change-Id: I07ed210375d494047670015410430c087d67f21a
2022-08-06 14:16:37 +00:00
Bartosz Dziewoński d9ccb115e4 Don't display the empty state if the subject page or user doesn't exist
Bug: T288319
Bug: T312560
Change-Id: Ib069b2db639a699f7e28ffc24f7b196971acbe3e
2022-08-06 14:15:32 +00:00
Bartosz Dziewoński d223626585 Add signature on separate line if wikitext comment ends with a list
Bug: T263217
Change-Id: Idd15a9add798368493ae7af5270f972895470de9
2022-08-06 16:08:13 +02:00
jenkins-bot a4d9455743 Merge "logger: Also log EditAttemptStep events via Metrics Platform" 2022-08-06 05:01:19 +00:00
jenkins-bot 7ba6443a05 Merge "Clear floats above the new topic empty state" 2022-08-05 08:16:27 +00:00
Translation updater bot 9fda66dda7 Localisation updates from https://translatewiki.net.
Change-Id: I819c4608a3d19b4d3840b0c2bd2be9d10a32e94b
2022-08-05 08:33:40 +02:00
Umherirrender 0a53b4d468 EventDispatcher: Remove use of UserFactory in logAddedComments
Possible since 1828d40

Change-Id: I0cc49a101858177bd9f7e75c18003277dd97725d
2022-08-05 01:43:16 +02:00
jenkins-bot 5c862b3244 Merge "Topic container latest comment link: Escape fragment for URL" 2022-08-04 19:10:27 +00:00
Ed Sanders ce567a1eeb Topic container latest comment link: Escape fragment for URL
Bug: T314573
Change-Id: Ib6a95da5d458efebf9e54c154ce90de3f54c140e
2022-08-04 14:28:23 +01:00
Translation updater bot f7cdcffbeb Localisation updates from https://translatewiki.net.
Change-Id: I64e649a69b6b66ae469bb4bae41872a3dfd6a714
2022-08-04 08:42:36 +02:00
Bartosz Dziewoński 0c80eeb88b Fix ReplyLinksController#teardown
Follow-up to 31c57d594a. This was
causing an exception, preventing the page contents from updating after
saving changes.

Change-Id: I8c9ab51385172056be9032ec0087f64ff34b6709
2022-08-03 20:46:19 +02:00
jenkins-bot 7ee49a2138 Merge "Make comment markers inline-block to fix comment wrapping in Safari (in headings only)" 2022-08-03 14:22:51 +00:00