Commit graph

3528 commits

Author SHA1 Message Date
Ed Sanders c96c076a4e Follow-up I46a58f6a: Add missing test runner
Change-Id: I17438cf55959d146265f3aafa5940f7fe0de19e1
2022-06-07 16:09:04 +01:00
jenkins-bot 9dedb23512 Merge "Show createpage preference only when feature is available" 2022-06-07 12:52:09 +00:00
Bartosz Dziewoński bc77963180 Revert "Localisation updates from https://translatewiki.net."
This reverts commit 790ef19cd3.

Reason for revert: Removed some qqq messages, breaks CI testing.

Change-Id: I43d75beb775abebb263f957cd1c28dc9d84f7ec4
2022-06-07 12:39:38 +00:00
na1307 edb276e047
Show createpage preference only when feature is available
Bug: T310053
Change-Id: I13262ecbe2d2c45c0ffb8706da17bc806ab2a5b7
2022-06-07 18:59:15 +09:00
Translation updater bot 790ef19cd3 Localisation updates from https://translatewiki.net.
Change-Id: Ib6f5b118c7fc6772197df8ae303304e49092d13b
2022-06-07 10:00:44 +02:00
jenkins-bot b6abc80c35 Merge "Add preference for offering new topic tool when creating new talk pages" 2022-06-06 23:01:40 +00:00
Ed Sanders ab05e4e24f Add test coverage for ApiDiscussionToolsPageInfo::getThreadItemsHtml
Change-Id: I46a58f6a2ec5f0e1b750c67e85d27081f5fab544
2022-06-06 18:40:30 +01:00
David Lynch b4f829e5ca PageInfo threaditemshtml: include content before the first heading
Fake a placeholder heading for this, unless the first heading is already
a placeholder.

Bug: T304856
Change-Id: Icc12712f77e0c14139b289bec8cc3e0cb4834a43
2022-06-06 18:39:22 +01:00
David Lynch f668ee4989 PageInfo threaditemshtml: For empty headings, include their non-reply content
Bug: T304856
Change-Id: Ifbb7a843ce8a7d52a1b51d9fe16869e2f3ccbf1b
2022-06-06 18:37:59 +01:00
Bartosz Dziewoński e0f231b892 Add preference for offering new topic tool when creating new talk pages
Depends-On: I46a8eaf331e86de0c8c94f0f60bdc4b5be6dd83a
Bug: T297990
Change-Id: Iaf6677affe5d0b7f6047bce55c0a575286c8e676
2022-06-06 17:09:50 +00:00
Translation updater bot e192dc59d1 Localisation updates from https://translatewiki.net.
Change-Id: Ie982060c0d234a7472bca9c5f67412343a632809
2022-06-06 09:25:37 +02:00
Ed Sanders 32e306f6e1 Hide icon in anon warning below tablet width
Bug: T307709
Change-Id: I800153cabc1ba14fd249c106d57162fd0cd9dbe1
2022-06-03 16:33:26 +01:00
Kosta Harlan bf161db768
TagHooks: Make static method for obtaining DiscussionTools tags
Bug: T309839
Change-Id: I30697ca56d4aa346151c4d31850f545d32399305
2022-06-03 12:46:16 +02:00
Translation updater bot 77ce5171fb Localisation updates from https://translatewiki.net.
Change-Id: Ia5eff7dfe6e3ead92dcd06a75d838a42c19db04d
2022-06-03 08:57:30 +02:00
EpicPupper 1f9abe6278 Clarify subject placeholder wording
Bug: T297974
Change-Id: I64e19358aec7c422b9b947b6d1d9f5b4fc8412ad
2022-06-03 00:12:48 +00:00
jenkins-bot f460ce39bc Merge "Add attributes for Minerva click tracking" 2022-06-02 15:29:50 +00:00
jenkins-bot 5e6583428f Merge "Disable (instead of hiding) preferences that would have no effect" 2022-06-02 09:29:14 +00:00
Translation updater bot 71ae39010f Localisation updates from https://translatewiki.net.
Change-Id: I0c2aeb56e6cc5d3ef86fe063ed3ede225dee6a8e
2022-06-02 08:14:08 +02:00
Bartosz Dziewoński 02ced052db Disable (instead of hiding) preferences that would have no effect
Keeping them visible avoid the page shifting unpleasantly,
and makes it easier to find the option you're looking for.

Change-Id: I1e37d5d11c5a19beb799346f4e9842e836224d3a
2022-06-01 21:36:30 +02:00
Translation updater bot 57b6f2c29f Localisation updates from https://translatewiki.net.
Change-Id: I2c91e039f32e1a735a90d948624c8dda0970b536
2022-06-01 08:20:33 +02:00
Ed Sanders c8570b95f9 Fix CSS selector after upstream changes to CompletionWidget
Bug: T307712
Depends-On: Ie590eb6b6c38531b959eadc1fcd5ba108180fdc8
Change-Id: Id39e680cbea54d77f061936c8876ecf7ed28e8b2
2022-05-31 20:39:39 +00:00
jenkins-bot 2dde6572f5 Merge "ThreadItem.js: Only search CommentItem's for authors" 2022-05-31 20:22:56 +00:00
Ed Sanders 0f0e8fca9a ThreadItem.js: Only search CommentItem's for authors
If the thread contains a sub-heading, this would add
'undefined' to the list of local authors.

Change-Id: I696c56d07f30c6de2550e5f89b8cefcb3c17a259
2022-05-31 20:16:42 +00:00
Translation updater bot ef1d40f9fa Localisation updates from https://translatewiki.net.
Change-Id: I730d5caa4333ebc0a5fffb6dbab7687cf702b7da
2022-05-31 08:08:07 +02:00
Translation updater bot 98cd4d2358 Localisation updates from https://translatewiki.net.
Change-Id: I4e7d98d9a4e4532205faac9afe03375bcf336579
2022-05-30 09:22:58 +02:00
Translation updater bot ddab397652 Localisation updates from https://translatewiki.net.
Change-Id: I03421a0a3939ec1c053defc18d36ff1404035248
2022-05-27 10:25:43 +02:00
Bartosz Dziewoński 28124e7f1e Add attributes for Minerva click tracking
Bug: T295490
Change-Id: I05fa96280c8dacc801b071d22086568ee0f11d86
2022-05-27 03:55:09 +02:00
Translation updater bot f083d129e2 Localisation updates from https://translatewiki.net.
Change-Id: Iaa0560a6b9b46f70edcb46d15dd9387aa5900b93
2022-05-26 08:51:16 +02:00
Translation updater bot 31901332fb Localisation updates from https://translatewiki.net.
Change-Id: Ia35ab42cd3689c6eb79514fde69ffd08d11277b5
2022-05-25 08:31:57 +02:00
Ed Sanders 15551ac453 Enable autotopicsub by default
Bug: T297966
Depends-On: Ic898673464c66832221d5343441070b1638f6050
Change-Id: Ica8b1ffaf134f77c7110645fd69748acb0c2d668
2022-05-25 03:56:40 +02:00
jenkins-bot e89b6d84af Merge "Use new ResourceLoader namespace" 2022-05-24 23:27:52 +00:00
Tim Starling 32dd490e7f Use new ResourceLoader namespace
Extensions using Phan need to be updated simultaneously with core due
to T308443.

Bug: T308718
Depends-On: Id08a220e1d6085e2b33f3f6c9d0e3935a4204659
Change-Id: Iffd8dea36f3b52181f3f3414a761d441d230b7b8
2022-05-24 23:00:00 +00:00
Translation updater bot c8dac438be Localisation updates from https://translatewiki.net.
Change-Id: I081453f362f2ef1d923debc4bbd34fa6c8070765
2022-05-24 08:25:19 +02:00
Translation updater bot 3c0937b686 Localisation updates from https://translatewiki.net.
Change-Id: If30a7a4a1de05855e3e70faf444743d0039ff6d5
2022-05-23 08:16:41 +02:00
Bartosz Dziewoński d7209b13b9 CommentTarget: Clean up toolbar actions
When moving the edit mode switcher outside of the toolbar actions,
we apparently forgot that we can disable this feature entirely.

Also remove $overlay: true, which isn't needed after the changes
from T307849.

Change-Id: I005cf18853305edd162c613f60b1ac45f42c3093
2022-05-21 20:28:54 +00:00
libraryupgrader 41bd560880 build: Updating composer dependencies
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

Change-Id: Ie0c391bea8742bfa25f2d5e54c2a8d3e32bc00a5
2022-05-21 02:45:49 +00:00
jenkins-bot 0a0d79962c Merge "Ready A/B test code for topic subscriptions" 2022-05-20 22:17:50 +00:00
Translation updater bot dba09b5cb3 Localisation updates from https://translatewiki.net.
Change-Id: I4b6c03d5ef9a7534d6f29ef538563cd44aa7dbfa
2022-05-20 08:36:25 +02:00
Translation updater bot 98663d4ff3 Localisation updates from https://translatewiki.net.
Change-Id: Ib3b55bf42c1ccc050c3c58cd301c7062f74706f3
2022-05-19 08:19:03 +02:00
David Lynch b6f554a945 Ready A/B test code for topic subscriptions
Topic subscription test is going to be all logged in users only, no
transitory enrollment conditions, so we can remove the anonymous user
handling and DB writes.

Bug: T302515
Bug: T304030
Change-Id: I5e57bb9b7958576f3a04373748331a86f4626fb5
2022-05-19 01:09:40 -05:00
jenkins-bot e792fa0159 Merge "CommentTargetWidget: Exclude save commands" 2022-05-19 01:14:11 +00:00
Ed Sanders 1cc94f91bc CommentTargetWidget: Exclude save commands
Bug: T308709
Change-Id: Id614c8ecbdcdab237828d998fe898dcb9517ff47
2022-05-19 00:58:40 +01:00
Translation updater bot 06d7b329ad Localisation updates from https://translatewiki.net.
Change-Id: I24f60f2e4b23db0b1626ac6795a520e21a5ed9c1
2022-05-18 08:19:32 +02:00
jenkins-bot 3141a9ed18 Merge "Ignore LRM and RLM in more places in the timestamp" 2022-05-17 19:42:05 +00:00
Translation updater bot 8bcaa95b2c Localisation updates from https://translatewiki.net.
Change-Id: I3ff308df939f9710d35ad4fe6b5192f7f1af234b
2022-05-17 08:27:56 +02:00
Bartosz Dziewoński 6a59149132 Ignore LRM and RLM in more places in the timestamp
We previously ignored them before timezone indicator (e9c401e3aa),
but they can end up in other places too, e.g. after the time.

Now we ignore them after every token. This is way overkill, but it
shouldn't hurt.

Bug: T308448
Change-Id: I20f7aaa34dba23f2a2faf1be258c1aea32ab770f
2022-05-17 02:00:22 +02:00
Translation updater bot 4e4c3db892 Localisation updates from https://translatewiki.net.
Change-Id: I745a63476554e332624cba7b87cad40b68899661
2022-05-16 08:24:13 +02:00
jenkins-bot df0e84c0d1 Merge "Remove code for handling legacy HTML with data-mw-comment-name" 2022-05-15 20:20:43 +00:00
jenkins-bot 37b28fb36b Merge "Fix reply links sometimes not working after visiting action=edit&section=new with new topic tool enabled" 2022-05-15 13:45:06 +00:00
Ed Sanders bfb3c24ecc Remove code for handling legacy HTML with data-mw-comment-name
This can be merged a few weeks after the commit that introduces
it (If28e1588742), once all the HTML caches have been purged.

Change-Id: I96d2de081a23137fe11a66c8213535219ebfb230
2022-05-14 20:23:45 +00:00