James D. Forrester
d6c3df31f5
Remove various phan suppressions and fix issues
...
Change-Id: I73b535f284566a0a8876a3198b9784b47567fac6
2020-06-12 20:35:59 +01:00
Ed Sanders
7be0cc3209
Create ThreadItem classes
...
Change-Id: Id2c5324d74eccb1209ccb76768c557722c6d9400
2020-06-12 20:35:59 +01:00
jenkins-bot
b6695dae58
Merge "Strip RESTBase IDs when switching to VE"
2020-06-12 18:49:20 +00:00
jenkins-bot
02d049affe
Merge "Only re-focus the reply link when reply is abandoned"
2020-06-12 18:17:13 +00:00
jenkins-bot
f115f3ce3d
Merge "Tweak appearance of find-and-replace toolbar"
2020-06-12 18:16:48 +00:00
jenkins-bot
6eb9824e8c
Merge "Add square brackets around reply link and use lower case (when possible)"
2020-06-12 18:11:20 +00:00
Translation updater bot
1965b38a02
Localisation updates from https://translatewiki.net .
...
Change-Id: I3cbe52d574330d031ebaf331e4d301b37baf3b01
2020-06-12 08:37:41 +02:00
Ed Sanders
38d85268f0
Add user mention tool
...
Uses userAvatar for now while we wait on userAdd to be upstreamed.
Bug: T254366
Change-Id: Ifa512c518efa9740a138d3d42fc607f2840b4040
2020-06-11 20:53:49 +01:00
Ed Sanders
f2d3a00a7b
Follow-up Icb14766: Fix formatversion:2 param
...
Bug: T255083
Change-Id: I5636e8e21f45c50df31d05d535227cf909a45269
2020-06-11 18:27:30 +01:00
Ed Sanders
09857e13f1
Only re-focus the reply link when reply is abandoned
...
Bug: T252903
Change-Id: Iabac3eb2258ecd48f61e027950446f59dca68df3
2020-06-11 17:36:00 +01:00
Ed Sanders
de84a27e88
Tweak appearance of find-and-replace toolbar
...
Change-Id: Ia61e765217ee9d4c249af0a2494ba427e29a0d54
2020-06-11 16:02:37 +01:00
Ed Sanders
d6d9aec3ee
Strip RESTBase IDs when switching to VE
...
Bug: T253584
Depends-On: If5d15dd4e7e0d3704ca8d75c0a25c529b06f17fb
Change-Id: Ia310fcc873960d0d3c1b17410e33dc4f47c5c734
2020-06-11 14:06:07 +00:00
Ed Sanders
ba295c81dd
Replace 'whitelist' in documentation
...
Bug: T254646
Change-Id: Ie67b0f801dcd95142b6b2ba5793cb87fa1fb5932
2020-06-11 04:51:39 +00:00
Ed Sanders
a4d767d97c
CommentModifier.php: Remove unnecessary toLowerCase
...
We only need .toLowerCase() or strtolower() when doing
case insensitive comparisons.
Change-Id: I19caca50139a42d86ff20e1ee0224cd3deb0d092
2020-06-10 22:06:16 +01:00
Umherirrender
48e860916a
build: Add mediawiki/mediawiki-phan-config
...
Replace phan-taint-check-plugin by phan, it is now included
Change-Id: I0e682a83afd30faa8967e3c586431be4ae9a29b3
2020-06-10 22:21:07 +02:00
jenkins-bot
edba40b1b6
Merge "Always use API formatversion: 2"
2020-06-09 19:25:15 +00:00
Ed Sanders
06eab3d961
Add square brackets around reply link and use lower case (when possible)
...
Bug: T249578
Change-Id: I5846106b10dc82231250d04a1f9ff025cfc1ca30
2020-06-09 19:55:14 +01:00
Bartosz Dziewoński
745b65f254
Check the right page for lint errors by title
...
Bug: T254930
Depends-On: Ic34617e2f56d1055388ea6e8a93ff641f0342240
Change-Id: I86679ce0f641f12bd9d99e4b7baed1294103e3a2
2020-06-09 20:52:51 +02:00
Ed Sanders
efd847c7df
build: Update devDependencies
...
Change-Id: I94a455e52f2c216ccab40e360ce24fc0adc332a0
2020-06-09 19:42:05 +01:00
jenkins-bot
5907cde5e5
Merge "ReplyWidgetVisual: Disable template sequence"
2020-06-09 15:54:08 +00:00
Ed Sanders
0cfc84aa29
Always use API formatversion: 2
...
Change-Id: Icb14766488beab76e24d1fedcc4b6214c6b04d98
2020-06-09 00:32:11 +00:00
David Lynch
36cd435895
Tweak editor-switch mode label so it's consistent with the naming in VisualEditor
...
Bug: T254291
Change-Id: Iab800561f6a5e81e1e48907366e874b44924d60a
2020-06-08 17:59:05 -05:00
David Lynch
5fa7d713d8
Logging: editor_interface should be visualeditor
not visual
.
...
Also, it should switch when the editor switches.
Bug: T254291
Change-Id: I2550529f51a8417586d6f0791d958fcf4b9d4fc6
2020-06-08 17:22:35 -05:00
jenkins-bot
e4da8b10f3
Merge "Track more events for VisualEditorFeatureUse"
2020-06-08 22:12:17 +00:00
jenkins-bot
0179e00197
Merge "Hook up VisualEditorFeatureUse logging"
2020-06-08 22:12:13 +00:00
libraryupgrader
a51abc4350
build: Updating composer dependencies
...
* mediawiki/minus-x: 1.0.0 → 1.1.0
* php-parallel-lint/php-console-highlighter: 0.4.0 → 0.5.0
* php-parallel-lint/php-parallel-lint: 1.0.0 → 1.2.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".
Change-Id: I44c4bd373a575b623d5e40c7e4f9e4cab55d5299
2020-06-08 10:00:59 +00:00
Ed Sanders
c794e49df0
Increase VE dependency
...
Depends-On: I382aee3563cdcccd2f872c0f1b0ebd0feff6859c
Change-Id: I183ecd36699505ddd9a4adaacbfc216fd32b2753
2020-06-04 22:37:31 +01:00
David Lynch
c92fad4fe7
Track more events for VisualEditorFeatureUse
...
* Track editor mode switching between visual and source (plain)
* Track interactions with checkboxes
* Fix the tracking of firstChange when switching with content
Bug: T254291
Change-Id: I0e243e393b02952684f34dbbe1697633c0b2561a
2020-06-04 12:19:46 -05:00
jenkins-bot
94bbaa846f
Merge "Depend on Linter"
2020-06-04 16:46:57 +00:00
jenkins-bot
203df3aabc
Merge "Call the linter API directly if installed"
2020-06-04 16:24:36 +00:00
David Lynch
068ff29e88
Depend on Linter
...
Depends-On: I8b183d816748245722ca1a459203333614f58f32
Change-Id: If2252d54a39a9d12744ccdee08e334a211f41d46
2020-06-04 18:23:57 +02:00
David Lynch
5ccb0538fd
Hook up VisualEditorFeatureUse logging
...
Bug: T252924
Depends-On: I77b2dabc39b730bc50c67029e67fedc1f173d248
Change-Id: I0189038d09ffe023b6c06be8250b412dc06d9b81
2020-06-04 09:53:20 -05:00
Ed Sanders
e9f2bb80d1
Call the linter API directly if installed
...
If the Linter extension is not installed, just allow the page
to be edited.
Bug: T253799
Change-Id: Id3e4c9c2d48aa7ab0b270f41d33ec19184af9a48
2020-06-04 09:46:07 -05:00
Ed Sanders
70fb4a6a10
ReplyWidgetVisual: Disable template sequence
...
Any template that outputs wikitext spanning more than one line
will break. As we can't enforce that in VE, we should just disable
all templates for now. The can still be inserted in source mode,
and will be eventually supported when we have multi-line syntax.
Bug: T253667
Change-Id: I72a7e4c09f83bcfc2a9cc7ab33a3d5303ced851d
2020-06-03 19:28:21 +01:00
Ed Sanders
62c0080850
Fix whitespace handling in unwrapList
...
Update 'referenceNode' before modifying the DOM.
Bug: T254308
Change-Id: I76af898e238c1e6d3db96d3e6156e80e55c87820
2020-06-03 13:54:36 +01:00
Ed Sanders
0d14fcea6a
wt->visual: Don't unwrap template lists
...
Bug: T253150
Change-Id: I1584d9834e29c38edf4234f2f022c1c48bfd485f
2020-06-01 22:32:23 +01:00
Ed Sanders
da433037a3
Move getTranscludedFromElement to Utils
...
Change-Id: I8bdd757f949c013ba426150a192d71243fadf45d
2020-06-01 22:32:23 +01:00
jenkins-bot
576fe0ca36
Merge "Use current preference each time we open a new reply widget"
2020-06-01 19:10:59 +00:00
jenkins-bot
431ba1c87f
Merge "Make signature prefix customisable"
2020-06-01 17:18:04 +00:00
Ed Sanders
dada23e0f4
Make signature prefix customisable
...
Bug: T249861
Change-Id: I506a0c1b803275f5505fdf8ee29cc535814d7742
2020-06-01 18:55:04 +02:00
jenkins-bot
88703b8196
Merge "Tests covering fr.wp unsigned comment templates"
2020-06-01 14:59:09 +00:00
jenkins-bot
7059ad88b4
Merge "Support parsing when timestamp is wrapped in a link"
2020-06-01 14:59:07 +00:00
jenkins-bot
72579fb62f
Merge "Support replying when timestamp is template-generated"
2020-06-01 14:59:05 +00:00
jenkins-bot
7898eb4757
Merge "Work around invalid ranges in #getNativeRange"
2020-06-01 14:59:01 +00:00
Ed Sanders
03a94badfe
Use current preference each time we open a new reply widget
...
TODO: Switch already setup widgets when we re-open them.
Bug: T253888
Change-Id: I6c541f27edbfe373f62b8508381bb5182681bda4
2020-05-29 13:06:36 +01:00
Translation updater bot
cd216ec538
Localisation updates from https://translatewiki.net .
...
Change-Id: Idbd6f54539bffc88497854f3e741af08220359a6
2020-05-28 08:39:06 +02:00
Bartosz Dziewoński
43a7e82ed0
Tests covering fr.wp unsigned comment templates
...
Bug: T252058
Bug: T252059
Change-Id: Ica7426055e73562a98b99d6ea06e257df77b7493
2020-05-28 00:13:07 +02:00
Bartosz Dziewoński
79ae8a32c5
Support parsing when timestamp is wrapped in a link
...
Bug: T252059
Change-Id: Ib8952fb80503bad407e8d0fe725103a0fae12a6a
2020-05-27 22:47:17 +02:00
Bartosz Dziewoński
01b4a8f4f4
Support replying when timestamp is template-generated
...
* Move modifier#getFullyCoveredWrapper to utils
* Use that method to find the node where we start searching for
template wrappers, rather than using endContainer
Bug: T252058
Change-Id: I55de58102f3468fce01290bd413a7fdc96d322d6
2020-05-27 21:16:03 +02:00
Bartosz Dziewoński
c7575b49f6
Work around invalid ranges in #getNativeRange
...
Change-Id: I46a54654acb15fb1ef7b80495cf1be8103b7688f
2020-05-27 21:16:03 +02:00