Commit graph

3586 commits

Author SHA1 Message Date
Translation updater bot db4d981822 Localisation updates from https://translatewiki.net.
Change-Id: I1ea2425799f5a2423e9e837f6d33b9f5cc91ca24
2022-02-03 08:43:45 +01:00
Translation updater bot 1678a55352 Localisation updates from https://translatewiki.net.
Change-Id: Ife79d2aad37f1dd29d2f62987f5d8472872fe237
2022-02-01 08:26:46 +01:00
jenkins-bot 8e7093c865 Merge "ve-cite: Ensure references are always unique by generating originalDomElementsHash" 2022-01-31 18:58:03 +00:00
jenkins-bot e0ccd777b0 Merge "Use correct Sanitizer method for id/fragment escaping" 2022-01-27 08:12:43 +00:00
Ed Sanders 1e6968b5c0 ve-cite: Ensure references are always unique by generating originalDomElementsHash
This is a bit of an abuse of the originalDomElementsHash property.
In future we could add a 'uniqueId' attribute, but this would need
to be ignored in a few places in core.

Bug: T299378
Change-Id: I7d1eb362aeb74ba93f5225330226a95535746b92
2022-01-27 01:14:52 +00:00
Ed Sanders b677a88fcc ve-cite: Update diff tests with new ref list HTML
Depends-On: If4ca99fa4532b33f164e298b53cfa1e202035015
Change-Id: I8e45941401448b826fec37d3dba4d6b1d8e53671
2022-01-25 20:46:29 +00:00
Bartosz Dziewoński c22f35964a Update tests for the removal of doc-child-change wrappers
Depends-On: Ib29f23625de9151d50e0f3b7796b15ca9ed89133
Change-Id: I73efd3c581cbb561be3dfc9eeb3524d9f949ea83
2022-01-24 21:58:01 +01:00
jenkins-bot 596d86ec40 Merge "Add parser & unit test cases for different $wgFragmentMode's" 2022-01-24 13:15:20 +00:00
Translation updater bot 9c4a948009 Localisation updates from https://translatewiki.net.
Change-Id: I989fb2cd545a6da81cd9c5210b25d1ba68e5f835
2022-01-24 08:26:50 +01:00
Translation updater bot f2c7ac4622 Localisation updates from https://translatewiki.net.
Change-Id: I2c111266e09421c1d07ede4d99a1b3d32d2a6820
2022-01-21 08:13:44 +01:00
Ed Sanders a2c927f8b8 ve-cite: Handle ref nodes with mw:Error RDFa
Bug: T299378
Bug: T299672
Change-Id: I7bc7dfb4fb9c0c9b140b793e6e0b2d00b7fe67e0
2022-01-21 00:00:34 +00:00
Translation updater bot 76858930e2 Localisation updates from https://translatewiki.net.
Change-Id: I3449ea91fd9dc222614dcb6872693424a38ec5bd
2022-01-17 08:11:44 +01:00
C. Scott Ananian b2c1624ce0 Passing a string to ParserOutput::addModules()/addModuleStyles() is deprecated
Bug: T296123
Change-Id: Iedea960bd450474966eb60ff8dfbf31c127025b6
2022-01-11 15:23:25 -05:00
jenkins-bot 7fb11b981e Merge "VE tests: Suppress XML warnings" 2022-01-11 18:15:55 +00:00
Translation updater bot 5fa2e7ff97 Localisation updates from https://translatewiki.net.
Change-Id: I4ce8c3d08786f663c219631f0a5b8364e2d76a7a
2022-01-11 08:22:53 +01:00
Ed Sanders 0ef557a509 VE tests: Suppress XML warnings
The XML validator can't handle unescaped < in attributes
so always throws a warning.

Change-Id: Ie49e4080c049dea6eea714abdeb37f6764baaa2a
2022-01-10 14:21:44 +00:00
Translation updater bot cc6ed9e306 Localisation updates from https://translatewiki.net.
Change-Id: Id060c827a35f49994be5f36369ce95d4acd89d3d
2022-01-10 08:11:04 +01:00
Translation updater bot 5045d7ef93 Localisation updates from https://translatewiki.net.
Change-Id: If16fc8280d464b315d9e290a0b8cb8d0493b23d0
2022-01-07 08:24:40 +01:00
jenkins-bot 5802551bae Merge "Use .test() instead of .match()" 2022-01-04 22:09:31 +00:00
Thiemo Kreuz 7b30a165e4 Use correct Sanitizer method for id/fragment escaping
Note how only the HTML5 mode behavior changes, but nothing in
legacy mode.

Also note this does not 100% fix the issue. The esample with a
non-breaking space is still broken. But it's already much better
than before.

Bug: T298278
Change-Id: Idf50dad4219ff4c594a0cc15f63cb10fdac5ffb7
2022-01-03 16:23:45 +01:00
Thiemo Kreuz 83041449a7 Add parser & unit test cases for different $wgFragmentMode's
This is only to document the current status quo and make later patches
smaller and easier to review.

Bug: T298278
Change-Id: I6c78f4d3ee32de596f2b5ee081d56eaffb1cc7bd
2022-01-03 14:14:47 +01:00
Translation updater bot 7e064c34ed Localisation updates from https://translatewiki.net.
Change-Id: I090f340ce0df54f758338bcc85ad0d8524cbd5e6
2022-01-03 08:10:55 +01:00
Translation updater bot d050c6f48c Localisation updates from https://translatewiki.net.
Change-Id: I69e36c43f9efde457f3b419af36671c3f6b408f3
2021-12-31 09:41:58 +01:00
Thiemo Kreuz 7a2f271ce6 Use .test() instead of .match()
.match() returns the matches. But these are not needed here. The
boolean method is .test().

Change-Id: I9e6f13f25fb8ccc6d3e873288d1100f4a2a56b15
2021-12-29 18:24:22 +01:00
Translation updater bot c9a5442ee4 Localisation updates from https://translatewiki.net.
Change-Id: I1bd8c35a6a24c28b1c002e60eb495d04ce78c09b
2021-12-27 09:29:44 +01:00
Translation updater bot ee3f10c59d Localisation updates from https://translatewiki.net.
Change-Id: I1605066c0f84cda40fba124cf2c7f7d228aef5ca
2021-12-24 09:09:27 +01:00
Translation updater bot e6180d68fa Localisation updates from https://translatewiki.net.
Change-Id: I2b907c6460ac77b19566e7261897983ded694080
2021-12-23 08:37:48 +01:00
Ed Sanders 84489c15b3 Don't attach DOM nodes from the DM store to the main document
Bug: T298147
Change-Id: I194ff1d576547dc717c523a490083fbcf903d87c
2021-12-21 20:32:05 +00:00
Translation updater bot 378f031a00 Localisation updates from https://translatewiki.net.
Change-Id: Id8df69cf761472ac5807c16a5aead70a0e76dcee
2021-12-20 08:20:51 +01:00
Translation updater bot 32f7e6dbd6 Localisation updates from https://translatewiki.net.
Change-Id: I0579d423942ddbed2296cb72656a7b31a2e9b531
2021-12-17 08:16:52 +01:00
Translation updater bot 01df31ecef Localisation updates from https://translatewiki.net.
Change-Id: I640a4c2fc55d66789319918b3ed9c93b93623637
2021-12-14 08:42:30 +01:00
Translation updater bot 6bd726d2eb Localisation updates from https://translatewiki.net.
Change-Id: I0ce6f5fb816cc0802819a1695df30e661e5278a7
2021-12-13 08:21:12 +01:00
Translation updater bot ef7eefd089 Localisation updates from https://translatewiki.net.
Change-Id: Ib5d5b0ff458ecd6110a224821164f570c78abbc1
2021-12-10 09:19:16 +01:00
Translation updater bot b28834ebbd Localisation updates from https://translatewiki.net.
Change-Id: I6c138aab2d247c3a7dce5b1d5b3964dd9c12e524
2021-12-10 08:23:34 +01:00
Bartosz Dziewoński 90fb1eba04 ve.ui.MWReferencesListDialog: Fix exception caused by a copy-paste mistake
Follow-up to cf95dbd4be.

Bug: T297418
Change-Id: I7c3970cf5a9b3632438e96513e9e983a5527aa21
2021-12-09 20:53:50 +01:00
Timo Tijhof bee357337c ve-cite: Export citationTools as native object instead of JSON string message
* Remove the overhead of serializing and then re-parsing client-side,
  instead assign it directly as native object literal.

* Move code for array slicing to PHP.

Change-Id: Iedcc8d57d3bddd3fa32a78b4e7ecc25615d94277
2021-12-07 12:53:24 +00:00
Timo Tijhof 471e73a7db ve-cite: Remove redundant check for visualeditor-cite-tool-definition.json
The server always defines this message as `cite-tool-definition.json`
in CiteVisualEditorModule.php, including a transparent fallback that
defines it with the content of `visualeditor-cite-tool-definition.json`.

Change-Id: I27426ed1947c1665e5284e64ec1946b1abeff7d1
2021-12-07 12:53:13 +00:00
Translation updater bot db02766664 Localisation updates from https://translatewiki.net.
Change-Id: I877a7076611026b88529810919f35c888888f43e
2021-12-06 08:18:45 +01:00
Translation updater bot 58772cb7f2 Localisation updates from https://translatewiki.net.
Change-Id: I0bf67b6f987f3994d5fa3316792dbe25d6656381
2021-12-02 08:41:07 +01:00
Translation updater bot ae9e5bd470 Localisation updates from https://translatewiki.net.
Change-Id: Id67e11201f2a16f244cfa084816b3687465ca0ed
2021-12-01 08:14:23 +01:00
jenkins-bot a55f2b97cc Merge "ve-cite: Use proper method for comparing linear data (attempt 2)" 2021-11-30 22:22:35 +00:00
jenkins-bot 345766683c Merge "ve-cite: Add test for simple case of re-used reference" 2021-11-30 21:59:59 +00:00
jenkins-bot ca53985924 Merge "ve-cite: Update CSS classes in tests" 2021-11-30 21:59:57 +00:00
Translation updater bot fbeae29418 Localisation updates from https://translatewiki.net.
Change-Id: Ia2ee9707b2c23169b94081c388ca710c4afd87a8
2021-11-30 08:21:11 +01:00
Translation updater bot b8e80d9c11 Localisation updates from https://translatewiki.net.
Change-Id: Ie3e73467398dd5b684cbb006727cfbe316b70922
2021-11-29 08:11:20 +01:00
jenkins-bot 3dd36dd5a0 Merge "Localisation updates from https://translatewiki.net." 2021-11-25 08:05:31 +00:00
Translation updater bot 03138ffc2d Localisation updates from https://translatewiki.net.
Change-Id: I32e7420f96fcf417acc32a4dff02270034c282fb
2021-11-25 09:01:52 +01:00
Translation updater bot 2594ab60f8 Localisation updates from https://translatewiki.net.
Change-Id: I18ecafb1930e6abcd1f269d0ce6475c970cfb8ca
2021-11-25 08:24:01 +01:00
jenkins-bot 962f84728c Merge "Combine ext.cite.visualEditor.data into ext.cite.visualEditor" 2021-11-23 03:41:01 +00:00
Timo Tijhof fb2c7c37db Combine ext.cite.visualEditor.data into ext.cite.visualEditor
Rather than depending on a separate module with one line of generated
JS code, generate it as a prepended statement to the same module.

Should be a no-op.

Depends-On: I809951d34feb2dbd01b7ae0f4bd98dac7c3f6fe2
Change-Id: I5886bf9f82025048976b7750e8cb751681021fb4
2021-11-19 16:56:51 +00:00