jenkins-bot
03986e6072
Merge "modifier.test.js: Improve test descriptions"
2022-10-12 17:23:32 +00:00
jenkins-bot
f6e271d781
Merge "Remove all hacks for old HTML in HTTP cache or parser cache"
2022-10-12 14:20:52 +00:00
jenkins-bot
dee7dbd8f6
Merge "Use FormatJson helper for outputting pretty JSON for tests"
2022-10-12 13:58:37 +00:00
Translation updater bot
3825a89294
Localisation updates from https://translatewiki.net .
...
Change-Id: I8f051b4e89639b2e143399f8ffeac0cb0d8f180d
2022-10-12 08:07:40 +02:00
Bartosz Dziewoński
465168112c
Use FormatJson helper for outputting pretty JSON for tests
...
Identical output, fewer constants and regexps.
Change-Id: I50fd536d9122ac91a7261660405219e19d974047
2022-10-12 00:52:52 +02:00
Ed Sanders
045b020ca4
modifier.test.js: Improve test descriptions
...
Exposes that the old parser tests are asserting 0 comments added.
The tests are passing becaause testUtils.getThreadContainer returns
the empty string for both actual and expected.
Change-Id: I263a258a8db5c35a6fb1fc5ce281f902fc543038
2022-10-11 16:57:46 +01:00
jenkins-bot
59f06ccebd
Merge "Use RevisionLookup methods instead of ApiParsoidTrait methods"
2022-10-11 13:58:28 +00:00
Translation updater bot
f2a16c021b
Localisation updates from https://translatewiki.net .
...
Change-Id: Idfda57c1927ed2adb06a89cd223b4974244c211f
2022-10-11 09:16:28 +02:00
Ed Sanders
2c160ddb72
CommentItem.js: Ensure timestamps are UTC
...
This will not be the case if we do a full parse in the
client on a non-UTC site.
Change-Id: I226c4f580e60114992bfc06896ef4868e6ea9124
2022-10-10 14:50:02 +01:00
Translation updater bot
66955ab733
Localisation updates from https://translatewiki.net .
...
Change-Id: Ib7ab233f0fd0021cd5403181e34b65a54033ab3b
2022-10-10 10:19:59 +02:00
Bartosz Dziewoński
f8d25be872
Remove all hacks for old HTML in HTTP cache or parser cache
...
Change-Id: I609cbbf5b26eca3a84bae91cc17cbc663925714c
2022-10-09 18:17:35 +00:00
Bartosz Dziewoński
a46af344dc
Use RevisionLookup methods instead of ApiParsoidTrait methods
...
Part of my secret plan to delete ApiParsoidTrait.
* Inject RevisionLookup into ApiVisualEditor
* Use RevisionLookup::getRevisionById instead of ApiParsoidTrait::getValidRevision
* Use RevisionLookup::getRevisionByTitle instead of ApiParsoidTrait::getLatestRevision
* Use standard MediaWiki error messages
Change-Id: I7244ee4916fb011fad5faa1d9f837e83f6ac2dc1
2022-10-09 18:17:32 +00:00
Daimona Eaytoy
50874ab4b7
Fix call to wfMessage
...
Follow-up to I8cf8b6960533718646189263acabc852ea976416, where the ...
was unintendedly removed.
Also switch to a suppression, because the type should be documented in
ParsoidClient, rather than enforced in callers. We will remove the
suppression once the documentation is updated.
Change-Id: I3ee2534959c8375d29f43e8391894f0a2002ae1c
2022-10-09 13:56:03 +02:00
libraryupgrader
154e47a7a5
build: Updating dependencies
...
composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0
npm:
* grunt: 1.5.2 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0
Change-Id: I8cf8b6960533718646189263acabc852ea976416
2022-10-09 10:55:34 +03:00
jenkins-bot
479b81a181
Merge "ImmutableRange: Add surroundContents method"
2022-10-08 21:22:09 +00:00
Translation updater bot
0e6cd67d16
Localisation updates from https://translatewiki.net .
...
Change-Id: Idc452ee945067b357ddcded88ec764fb91183545
2022-10-06 08:15:30 +02:00
Translation updater bot
dfd2e7c2b8
Localisation updates from https://translatewiki.net .
...
Change-Id: Idca0af369660a14da44c0d363e84796b64555566
2022-10-05 08:24:31 +02:00
Ed Sanders
e57cf6c60f
ImmutableRange: Add surroundContents method
...
Also adds extractContents method.
Change-Id: Ie81dab12007b4038ebaaae904a1c032f80ef43cb
2022-10-04 16:51:08 +02:00
Translation updater bot
04101abb53
Localisation updates from https://translatewiki.net .
...
Change-Id: I4a3751dce58487f4a57f462d3cb4587508c96cb7
2022-10-04 08:29:36 +02:00
Ed Sanders
0e5f4460a7
Fix styling of heading input in new topic tool
...
We accidentally set some proposed mobile styles for desktop.
Change-Id: I3d7092137708196599ccf44fed948757b9aef276
2022-10-03 17:20:10 +02:00
Translation updater bot
e57016414e
Localisation updates from https://translatewiki.net .
...
Change-Id: I8e2bb9b646431fb5db67cea2414711390c96f3ad
2022-10-03 09:45:36 +02:00
Bartosz Dziewoński
8d727dc26d
Fix reply link/button margins on RTL wikis
...
Follow-up to c232df01a4
.
Change-Id: Ie8c463108d2e0cb172d270d6205677459adbb86a
2022-10-01 21:52:32 +02:00
jenkins-bot
b4ff3c9f83
Merge "maintenance: Use standard doMaintenance boilerplate"
2022-09-30 17:29:06 +00:00
Timo Tijhof
86d47438d3
maintenance: Use standard doMaintenance boilerplate
...
Consistent with core, most WMF extensions, and boilerplate as
documented in extensions/README and elsewhere; as per T316722.
Change-Id: I02cfcb2bd3debf877d1cbf8654dff4a98dd354ad
2022-09-30 18:01:57 +02:00
Ed Sanders
c2594914f9
Don't re-color :visited links that act as buttons
...
Bug: T319019
Change-Id: I26820229820768390827e79ec09c86eeed424531
2022-09-30 13:40:26 +01:00
Translation updater bot
68b6a3db3d
Localisation updates from https://translatewiki.net .
...
Change-Id: I89ffd6b0f7d820744f794c285d1ec0f36aa2e524
2022-09-30 08:53:35 +02:00
Ed Sanders
f9d8b7afd5
Reduce padding around reply button slightly to improve vertical alignment
...
Change-Id: Ia420f1d6bf1038bfe803c62aba636f046d74bb29
2022-09-29 14:42:11 +01:00
jenkins-bot
0bf1b9e6a1
Merge "Add config to separate out visualenhancements on mobile"
2022-09-29 10:57:27 +00:00
jenkins-bot
0510c84175
Merge "Fix double <div class="mw-parser-output"> after saving"
2022-09-29 07:40:55 +00:00
Translation updater bot
34cab2db62
Localisation updates from https://translatewiki.net .
...
Change-Id: I3eda1b2bc04a8e4a45c088993739884bdd62647b
2022-09-29 08:27:14 +02:00
Bartosz Dziewoński
4d1722d1e6
Fix double <div class="mw-parser-output"> after saving
...
Follow-up to d00fa80ff4
. .html()
replaces the inner HTML, .replaceWith() replaces the outer HTML.
Change-Id: I8da2d24d439acc5e83ef1f42959fefef27bbea71
2022-09-29 01:26:33 +02:00
David Lynch
d5161bf086
Add config to separate out visualenhancements on mobile
...
Follow-up to d0126ce6de
which made them
default-on for all mobile. These two taken together mean that the
mobile visual enhancement features now *only* depend on this config,
rather than on whether the individual features are enabled on desktop.
Bug: T318871
Change-Id: If767753e6d33f19bbc540d4e74273e478198388c
2022-09-28 17:12:48 -05:00
jenkins-bot
f910e54802
Merge "Empty state banner: Improve selector for hiding top border"
2022-09-28 16:30:45 +00:00
Ed Sanders
79d4879b3a
Empty state banner: Improve selector for hiding top border
...
Pages can be empty (blanked) without outputting the noarticletext
class, so just suppress the top border if the banner is the first
child of the document.
Change-Id: I808160a7f73a9a976d25e77f4bd47727a57b70c0
2022-09-28 17:04:42 +01:00
jenkins-bot
f4f83bfb2f
Merge "Show mf-section-0 in preview"
2022-09-28 15:45:29 +00:00
jenkins-bot
8a2e02e8e1
Merge "Suppress top border when section follows <h1>"
2022-09-28 15:40:07 +00:00
jenkins-bot
3436684b2c
Merge "Only hold on to a Config instead of ConfigFactory when injecting"
2022-09-28 14:22:46 +00:00
jenkins-bot
d0126ce6de
Merge "Visual enhancement features are now part of the mobile set"
2022-09-28 14:16:02 +00:00
Ed Sanders
df96154538
Show mf-section-0 in preview
...
Bug: T318758
Change-Id: I12039696bfe0f06e21b28ed32fdfc23442033805
2022-09-28 14:38:20 +01:00
Translation updater bot
56725cb098
Localisation updates from https://translatewiki.net .
...
Change-Id: Iee45ac860d96e71d0382196c47cb15bc1a1a90ca
2022-09-28 08:21:13 +02:00
jenkins-bot
99c772d4ee
Merge "Add mw.track call when comment setup fails"
2022-09-27 22:32:08 +00:00
David Lynch
3a42623fef
Visual enhancement features are now part of the mobile set
...
Bug: T318302
Change-Id: I494e4dd6d2133d110499420ffc57f45a29999748
2022-09-27 16:09:05 -05:00
jenkins-bot
5a5ad9f8df
Merge "Always scroll "Loading..." text into view"
2022-09-27 19:16:23 +00:00
jenkins-bot
5d92f638f3
Merge "Move "Return to comment" below sticky header when present"
2022-09-27 19:16:20 +00:00
jenkins-bot
adc3344f5f
Merge "Fix TODO about ParsoidClient::getPageHtml() params"
2022-09-27 10:43:00 +00:00
Translation updater bot
7654f86129
Localisation updates from https://translatewiki.net .
...
Change-Id: I248cc9f89609664219874c56728a6b4a4a4631ba
2022-09-27 08:32:04 +02:00
Bartosz Dziewoński
0a5cded42c
Fix TODO about ParsoidClient::getPageHtml() params
...
Depends-On: Id9a450dc8b8eb3e82cf87718b96975e5a3c6180c
Change-Id: I35ce516187fb8dcde24bc35278378496f471e211
2022-09-26 22:50:07 +02:00
Translation updater bot
9ca9bd1355
Localisation updates from https://translatewiki.net .
...
Change-Id: I75fff58586f1dbb28faa22b57d2c0454a458def7
2022-09-26 08:15:04 +02:00
Ed Sanders
f6df39c11a
Always scroll "Loading..." text into view
...
If the widget has just been opened, it should already be in view,
but when we are recovering from auto-save it might not be.
Scrolling it into view lets the user know sooner that a draft is
about to be recovered.
Change-Id: I2b8232edc20e71b04a3f106107c0c7bc6333f66a
2022-09-25 13:28:14 +01:00
Ed Sanders
688cdc24ae
Move "Return to comment" below sticky header when present
...
Also ensure that when we click the button, we scroll the widget fully
into view below the sticky header.
Bug: T318474
Change-Id: I394f02912cd6ab2773552a7364691ef89a17369c
2022-09-25 13:28:12 +01:00