Commit graph

3614 commits

Author SHA1 Message Date
Translation updater bot d075d71c97 Localisation updates from https://translatewiki.net.
Change-Id: Ifa3ada1e759347b3a5489a63bcbfa3174f6afc73
2022-04-01 08:26:17 +02:00
Translation updater bot a44cd7b49d Localisation updates from https://translatewiki.net.
Change-Id: Ia0d79d5034a2d7cb4d8c82ac91e5261bcd009a5b
2022-03-31 08:35:32 +02:00
Translation updater bot dd39133478 Localisation updates from https://translatewiki.net.
Change-Id: I23022e9d6c6dd63370fcec6297229618ef0f8120
2022-03-28 08:20:29 +02:00
Translation updater bot e67d53611e Localisation updates from https://translatewiki.net.
Change-Id: Ic70268a26a93082664119cce14f6ee45d093adc2
2022-03-24 08:33:59 +01:00
Translation updater bot c5fb76bf0f Localisation updates from https://translatewiki.net.
Change-Id: If04ea9e3b354150e832207d3a6f0d02082d25f3a
2022-03-23 08:25:07 +01:00
Translation updater bot 08eed806bb Localisation updates from https://translatewiki.net.
Change-Id: I56e38ba969a8634d8ac871975a86ae421020886e
2022-03-17 08:36:47 +01:00
Translation updater bot 2d0c1d174e Localisation updates from https://translatewiki.net.
Change-Id: I191df51fc31dfdfbd0d48e077473e26839f0ff8c
2022-03-16 08:07:22 +01:00
Translation updater bot ac96942bd7 Localisation updates from https://translatewiki.net.
Change-Id: I58b11a3ee64ce165a5e3c15e892c5115989366a7
2022-03-14 08:13:39 +01:00
Translation updater bot 212a1349ec Localisation updates from https://translatewiki.net.
Change-Id: I3f8729b6c5d2ad9fa78c69f7416e19a1b2e2db72
2022-03-11 08:32:09 +01:00
Translation updater bot e21c73340b Localisation updates from https://translatewiki.net.
Change-Id: Ief32bb0c6f42b830aac2a0875b67df314a2f3c03
2022-03-09 08:09:12 +01:00
Translation updater bot b40d2e206a Localisation updates from https://translatewiki.net.
Change-Id: I1f4968152d4815fdacbcd345c3df54021831ac5a
2022-03-08 09:01:24 +01:00
Translation updater bot a726fc9342 Localisation updates from https://translatewiki.net.
Change-Id: Ib5995878855b5c43a5ce5e45504c18dfb449e179
2022-03-07 08:10:35 +01:00
Ed Sanders 0eb0893c96 tests: Use ve.test.utils.newMwEnvironment()
Depends-On: Ib20c1f5277c5d5a99f5117c82b7cbdeab75d3279
Change-Id: Id5ff5d126f3946621ed36c5f79b5f58624931d16
2022-03-04 13:52:06 +00:00
jenkins-bot b87de38d59 Merge "build: Update linters" 2022-03-04 08:49:01 +00:00
Translation updater bot a669555da2 Localisation updates from https://translatewiki.net.
Change-Id: I5266910998599b15e2d79dcc246f87bb1df5de49
2022-03-04 08:29:00 +01:00
Ed Sanders a68b8f01b7 build: Update linters
Change-Id: Ifbb1346f854e15efa3389fddc1b338b6444f613f
2022-03-03 23:52:33 +00:00
Translation updater bot 02d73115d6 Localisation updates from https://translatewiki.net.
Change-Id: If90e8f3ef6f3b35ad1ab748a608011d5b1e4dfde
2022-02-25 09:42:55 +01:00
Translation updater bot 06ce2ae2dc Localisation updates from https://translatewiki.net.
Change-Id: Idcf2dd9fbe7abeaadc07a16ac174c8c4c6f6fd6a
2022-02-24 08:48:44 +01:00
jenkins-bot 720adbdafc Merge "Remove hack that hides ref errors unnecessarily" 2022-02-21 18:35:31 +00:00
Translation updater bot 719ccae094 Localisation updates from https://translatewiki.net.
Change-Id: Ifca7f9afda167f6f702629af82e976ee15983284
2022-02-21 08:15:21 +01:00
Translation updater bot bc6eb2d680 Localisation updates from https://translatewiki.net.
Change-Id: Ic72e9519b4c54b6df486faf31a5f97e21d209387
2022-02-17 08:11:32 +01:00
Bartosz Dziewoński 25d474b866 Remove hack that hides ref errors unnecessarily
It was originally added in I661493ab2f in 2013, to hide errors that
would appear when templates containing re-uses of references were
previewed separately from the rest of the page.

It has been made unnecessary when VisualEditor was changed to render
wikitext fragments (such as previewing templates) using Parsoid rather
than legacy parser, in 2014: I8a61d2fab8.

However it wasn't removed then, and then Ide82c96db4 changed the
selector and made it more difficult to understand its purpose (and
caused T301845, seven years later), and then Iba0f25b3eb / I39936ed83d
moved it to this repo in 2016, and then everyone forgot about it.

Bug: T53141
Bug: T301845
Change-Id: I7ac5ed6544575877fe1b6f09951e58b35df9648d
2022-02-16 06:14:01 +00:00
Translation updater bot e241bcc287 Localisation updates from https://translatewiki.net.
Change-Id: If6ec86237901dc3db874e1e5184e6d74c1a86de4
2022-02-15 08:17:03 +01:00
Translation updater bot 1b3a3fd935 Localisation updates from https://translatewiki.net.
Change-Id: I148df56d598baaf9e90f8996e98ea2b6fb297b2a
2022-02-14 08:13:48 +01:00
Translation updater bot 3a2052b1a1 Localisation updates from https://translatewiki.net.
Change-Id: I5ba2ebe7bb797e500045d7fa4a25a230724bc061
2022-02-11 08:41:03 +01:00
Translation updater bot 2cd4617c75 Localisation updates from https://translatewiki.net.
Change-Id: Ie1141d915cc432b769fcc067e6a797826f4f7200
2022-02-08 08:28:20 +01:00
Translation updater bot 9a5a6c2b83 Localisation updates from https://translatewiki.net.
Change-Id: I5ff709042228508bcf5c0687feb04dab9b2ce775
2022-02-07 08:21:45 +01:00
libraryupgrader 9e2e49555c build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* mocha: 9.1.3 → 9.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.6 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g

Additional changes:
* Set `name` in package.json.
* eslint: Added `wikimedia/mediawiki` profile (T262222).

Change-Id: I4eaa22a563fc9c8b1d6536608b0d1937950f136e
2022-02-06 07:44:34 +00:00
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