Commit graph

17596 commits

Author SHA1 Message Date
jenkins-bot 1864aa3928 Merge "Fix displaying error message when preview fails" 2021-03-20 17:36:20 +00:00
Translation updater bot 77533d23a1 Localisation updates from https://translatewiki.net.
Change-Id: If77e85eff04fe2d21352d2181f48bb3df8608ea4
2021-03-19 08:26:52 +01:00
Bartosz Dziewoński 4cb6842f86 Fix displaying error message when preview fails
Follow-up to 5f1c68945d,
I didn't realize that showPreview() expected strings.

Bug: T277696
Change-Id: I78af5786d211f724728ed81e28170d2d6be6125b
2021-03-18 13:45:07 +01:00
Translation updater bot 4a695b03f4 Localisation updates from https://translatewiki.net.
Change-Id: I554c86e7824d20c0a4ad4e8d434cf26bb4cc1c35
2021-03-17 08:26:21 +01:00
jenkins-bot 14a95ef9fc Merge "MWEditSummaryWidget: Don’t query for title" 2021-03-15 11:36:29 +00:00
jenkins-bot c29e5a8c6a Merge "MWEditSummaryWidget: Handle suppressed comments" 2021-03-15 11:36:26 +00:00
jenkins-bot 35a573f3c7 Merge "ve.dm.MWTemplateModel: Never remove empty required parameters" 2021-03-15 11:07:29 +00:00
Translation updater bot b0b35cd8ac Localisation updates from https://translatewiki.net.
Change-Id: I9b23fecb0878c4e492a47b0b470dfb73e01c3caa
2021-03-15 08:41:55 +01:00
Lucas Werkmeister b6a4e76d42 MWEditSummaryWidget: Don’t query for title
As far as I can tell, the code only uses the comment, nothing else.
Omitting the title probably won’t make the underlying database query any
cheaper, but it should at least save some network traffic.

Change-Id: Ideb66ce3a24fb4f42fe8fc22ba0e93d05724d8b6
2021-03-13 13:48:21 +01:00
Lucas Werkmeister 9d7ddcf066 MWEditSummaryWidget: Handle suppressed comments
Bug: T277368
Change-Id: I76887672a0e8b3a2047d1b1b47724f1ee513db23
2021-03-13 13:48:20 +01:00
Bartosz Dziewoński 989792ac7f ve.dm.MWTemplateModel: Never remove empty required parameters
Follow-up to d127dc48b7.

Bug: T276989
Change-Id: I042b2ce180e3af4ae6899cb7d8c7ed8246f25cb6
2021-03-12 22:50:42 +01:00
Translation updater bot 155a591820 Localisation updates from https://translatewiki.net.
Change-Id: Ib12743787ff6ca1c0bdd27d8de8215f2de154897
2021-03-12 08:47:16 +01:00
jenkins-bot 437f915e61 Merge "Update VE core submodule to master (145cf95d8)" 2021-03-11 20:27:12 +00:00
Bartosz Dziewoński d23045bb0b Update VE core submodule to master (145cf95d8)
New changes:
2cbc5f9b2 Update OOUI to v0.41.2
e4e467a6b Use wrapper paragraphs in empty branch nodes

Bug: T65356
Change-Id: I222824c53e43f587c999b6478bec52ef686fed7e
2021-03-11 16:00:01 +00:00
libraryupgrader 821fb74c1b build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I6d406d9020ce243aabc87c921ec23574267a3f78
2021-03-10 23:20:16 +00:00
Translation updater bot 7e55482d48 Localisation updates from https://translatewiki.net.
Change-Id: I2a148bec92cc1049581ef7692a74bb5487133770
2021-03-10 08:33:06 +01:00
Translation updater bot 86db8ff85f Localisation updates from https://translatewiki.net.
Change-Id: Ia31770f454e29c4e901c9e6a91830ad085a2e236
2021-03-09 08:33:42 +01:00
jenkins-bot 8c7aaba43e Merge "Reduce deep indention in MWTemplateTitleInputWidget" 2021-03-08 23:15:41 +00:00
Bartosz Dziewoński d10fe04345 Update VE core submodule to master (6c46defab)
New changes:
c34219969 Localisation updates from https://translatewiki.net.
fe8c60498 Localisation updates from https://translatewiki.net.
efe9b4763 Localisation updates from https://translatewiki.net.
eddb54e2f Localisation updates from https://translatewiki.net.
5a7ec3897 ve.ui.SpecialCharacterDialog: Keep selection when opening the dialog
ad2951726 Only apply toolbar focus hack to surfaces that clear selection on blur
55798cb1a ve.init.Target: Simplify toolbar focus hack
504d59c73 ve.ui.SpecialCharacterDialog: Hardcode the height to make it open faster
03172f86d build: Updating eslint-config-wikimedia to 0.18.2

Bug: T276164
Change-Id: If9e5f7cbc067f2335a1e237d696736f2ce06dc95
2021-03-08 23:42:13 +01:00
jenkins-bot 9232a934b4 Merge "Strip all wikilinks for initial edit summary" 2021-03-08 15:32:16 +00:00
Translation updater bot 93326a17ca Localisation updates from https://translatewiki.net.
Change-Id: Iee98bef3c09607e24c6e9c35aa37fc50655ec0b1
2021-03-08 08:47:40 +01:00
BrandonXLF 73adc9ac78 Strip all wikilinks for initial edit summary
The regex that removes the wikilinks to create the initial edit summary
should have the global flag since it was taken from preg_replace which
replaces globally implicitly.

Bug: T276722
Change-Id: I21e3cdfe752657ad37d9a6bd473a7e7dbb6e4cd6
2021-03-07 17:51:59 -05:00
Translation updater bot 013d5068c2 Localisation updates from https://translatewiki.net.
Change-Id: I81c20bc67a74c8c1885f828c763713bad3ef9548
2021-03-05 08:57:07 +01:00
libraryupgrader 738c3b3a34 build: Updating eslint-config-wikimedia to 0.18.2
Additional changes:
* Dropped .php5 and .inc files from .phpcs.xml (T200956).

Change-Id: I869e10c268d28dc059aecb11ea941c2d928e400c
2021-03-05 04:41:47 +00:00
Translation updater bot 9914f7c263 Localisation updates from https://translatewiki.net.
Change-Id: Ieeb171f71599a18b94c52442b6a0db7b43c40513
2021-03-04 08:39:47 +01:00
Thiemo Kreuz d43f13f4f8 Reduce deep indention in MWTemplateTitleInputWidget
Change-Id: Ie1bd279753dba3b96b694660977b9f44f6f0834e
2021-03-02 14:34:41 +00:00
Translation updater bot 256145cadf Localisation updates from https://translatewiki.net.
Change-Id: I8f8b2c9950ceba3975a008810dad475c15bcce5f
2021-03-02 08:51:05 +01:00
Translation updater bot 9b73bc0da8 Localisation updates from https://translatewiki.net.
Change-Id: I70b96aae24e85e3af50e2b8846e6ac9ed4c94af1
2021-03-01 08:54:12 +01:00
Daimona Eaytoy 8f65b0c2e2 Stop using deprecated methods in Language
Change-Id: Id3b7cb3bc79e6d8189d45e638d928508308bb3e8
2021-02-27 13:51:49 +00:00
jenkins-bot 8e5af5aafd Merge "Fix Parsoid HTML of broken images" 2021-02-26 19:54:52 +00:00
Translation updater bot 0853e8515b Localisation updates from https://translatewiki.net.
Change-Id: Id4f96891ec755e3e962bb1914178ed574d46356c
2021-02-26 08:58:12 +01:00
jenkins-bot 18f5e7e2f0 Merge "Fix $wgVisualEditorUseSingleEditTab compat with PostgreSQL" 2021-02-25 20:41:39 +00:00
jenkins-bot e0e57eee45 Merge "Finalize event platform migration" 2021-02-25 09:27:09 +00:00
Translation updater bot e37a632375 Localisation updates from https://translatewiki.net.
Change-Id: I2a47be5bd16a8f98b02144538c19d84532d477c0
2021-02-25 08:39:44 +01:00
Bartosz Dziewoński 5cd2899196 Update VE core submodule to master (3c56d0611)
New changes:
582ab6eda Localisation updates from https://translatewiki.net.
7eb90ef85 Make client utils a dependency of platform
2f7675785 Remove @abstract from ve.ce.View.getResolvedAttribute
ca3f685b3 ve.createDocumentFromHtml: Do not lose <style> tags in doc fragments

Bug: T273234
Change-Id: I4bced562f018bf4f28e18ca838c8218de68ee519
2021-02-24 23:04:59 +01:00
jenkins-bot 58405ccfe8 Merge "Avoid using User::IsIP" 2021-02-24 21:13:52 +00:00
jenkins-bot cb21c4a158 Merge "Parse relative hrefs on image nodes like on regular links (try 2)" 2021-02-24 17:19:44 +00:00
jenkins-bot 48b30580e5 Merge "Handle errors when fetching revisions for visual diffs" 2021-02-24 17:19:40 +00:00
Adam Wight 28cb0b27de Finalize event platform migration
Bug: T275015
Change-Id: I8ad39924bce85da4dc09be23926ad33d1529a8db
2021-02-24 17:05:10 +01:00
vladshapik 3d29dd25e9 Avoid using User::IsIP
Remove using of User::isIP since this method will be hard-deprecated. Now it is soft-deprecated

Bug: T275602
Change-Id: Ia625be523706d1e24649f7aa15679491f9598b7f
2021-02-24 17:38:04 +02:00
Translation updater bot 718d93f862 Localisation updates from https://translatewiki.net.
Change-Id: Ica3bce89c3eba7d1b077f3d1364f3c89609db320
2021-02-24 08:52:22 +01:00
Bartosz Dziewoński 932d009cd7 Fix $wgVisualEditorUseSingleEditTab compat with PostgreSQL
Bug: T270953
Change-Id: I30bd329e8c19d7b2e7ae905cead6b21b8584db5d
2021-02-24 00:31:44 +01:00
Translation updater bot 7b063be9a3 Localisation updates from https://translatewiki.net.
Change-Id: Iad77c353069156623e056feb4e3506f1cfd808b5
2021-02-23 08:50:10 +01:00
jenkins-bot decbcd663f Merge "Fetch full document when diffing wikitext sections" 2021-02-23 00:32:20 +00:00
Bartosz Dziewoński ee7c5d9d1a Handle errors when fetching revisions for visual diffs
Bug: T171937
Change-Id: Ic300b0b2995ea3f8b93af1557e06503fc8470c7c
2021-02-23 01:21:55 +01:00
Ed Sanders 80c530fb56 Fetch full document when diffing wikitext sections
The full document is required to diff the reference list correctly.

Bug: T260008
Change-Id: I8d714be30051c94a725cd2678c547f57fa0a0c5e
2021-02-22 13:46:08 +00:00
Translation updater bot a4da38dcbe Localisation updates from https://translatewiki.net.
Change-Id: I41bc686d863baa1709e6d3cca088c27b3cbf650c
2021-02-22 08:54:16 +01:00
jenkins-bot d30aaa07a0 Merge "VisualEditorDataModule: Use ResourceLoaderContext::encodeJson" 2021-02-19 04:09:51 +00:00
Ed Sanders 87ab649e9d Add mw-content-container, mw-body classes to preview
Bug: T272751
Change-Id: I96440806ec9bce28cfb1b833c8fd913ba6770903
2021-02-18 21:33:36 +00:00
jenkins-bot f58e013917 Merge "Update VE core submodule to master (422cbd755)" 2021-02-18 21:29:41 +00:00