jenkins-bot
90e1a3fbb6
Merge "Move placeholder heading level (99) to a constant"
2022-06-15 15:48:36 +00:00
Translation updater bot
7b1a5129cc
Localisation updates from https://translatewiki.net .
...
Change-Id: Ibc66a40e8dbfa4d04c9ed1fca66187a9b9eb4d88
2022-06-15 08:41:20 +02:00
Ed Sanders
1f002f812f
Convert more self:: to static::
...
These are from patches that were already in progress before
we did the first run of conversions.
Change-Id: Id883e693a518130cfcc80bfd0f2874cbd9593446
2022-06-14 22:53:00 +01:00
Ed Sanders
0ad9b4c6b2
Move placeholder heading level (99) to a constant
...
Change the HeadingItem constructor to take a 'null' headingLevel
and store this internally with the constant. Change the JSON
serializer to convert this back to null.
Change-Id: I27508eed75d94b99c5189548919309f8da7deb75
2022-06-14 22:51:49 +01:00
Translation updater bot
5da21d1b82
Localisation updates from https://translatewiki.net .
...
Change-Id: I6017df2176682f4693c4dca3e8845d6afd18465e
2022-06-14 08:48:02 +02:00
Translation updater bot
3800ab27e3
Localisation updates from https://translatewiki.net .
...
Change-Id: Ie474e844dacf4a7909cb43b29fcbb294675ac7db
2022-06-13 08:27:56 +02:00
jenkins-bot
901d822765
Merge "Clarify subject placeholder wording"
2022-06-11 22:44:31 +00:00
Ed Sanders
c2535e26dc
MemoryStorage: Setup this.data before calling parent constructor
...
The parent constructor may trigger read/writes in the future
so this.data should always exist as early as possible.
Change-Id: I79a795a26c4ce1381d2a0b15329f7df1d6ab77ca
2022-06-10 15:10:01 +01:00
Translation updater bot
e8b16f67b1
Localisation updates from https://translatewiki.net .
...
Change-Id: I1ef4c49042b48914a2abfe01c33dcc2969fded47
2022-06-10 08:49:31 +02:00
jenkins-bot
cb17181fa4
Merge "Prefer late static binding over self::"
2022-06-09 16:29:48 +00:00
Ed Sanders
af54bae2ec
Prefer late static binding over self::
...
While in many cases the class will never be sub-classed, it's easier
just to always use static:: and not worry about predicting which
classes might have problems in the future.
Change-Id: I23072a1701b5acf62bb3379a877de97627d8fcf3
2022-06-09 15:12:48 +01:00
Translation updater bot
bd07028c47
Localisation updates from https://translatewiki.net .
...
Change-Id: I7073ccaa7227e285bf33f05e06c2ab066933418f
2022-06-09 08:16:30 +02:00
jenkins-bot
636ff45a75
Merge "TagHooks: Make static method for obtaining DiscussionTools tags"
2022-06-08 11:18:42 +00:00
Sam Smith
e31f8e6681
logger: Also log EditAttemptStep events via Metrics Platform
...
The EditAttemptStep instrument is a candidate for migration to the
Metrics Platform [0]. The first step of the migration is to log events
both using the Event Platform (i.e. via mw.eventLog.submit()) and using
the Metrics Platform Client (i.e. via mw.eventLog.dispatch()).
The Metrics Platform Client can mix in additional information -
so-called context attribute [1] - based on the stream configuration. The
majority of the default values mixed into each event via the
mw.eventLog.Schema defaults mechanism are already known to the Metrics
Platform Client.
Note well that the Metrics Platform Client will not log an event without
one or more streams being configured to receive that event. Therefore,
this change is a NOP.
An example stream configuration is given in [2].
[0] https://wikitech.wikimedia.org/wiki/Metrics_Platform
[1] https://gerrit.wikimedia.org/g/mediawiki/libs/metrics-platform/+/aed6738b845/js/src/StreamConfig.d.ts#31
[2] https://phabricator.wikimedia.org/T309013#7953227
Bug: T309013
Change-Id: Ic88225111132b440657aab85c34b36a642a7e602
2022-06-08 11:31:28 +01:00
Translation updater bot
277c5200e9
Localisation updates from https://translatewiki.net .
...
Change-Id: I737cdc50a7050395e1929e5de0ae9842785474e1
2022-06-08 08:26:56 +02:00
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