Commit graph

3305 commits

Author SHA1 Message Date
Translation updater bot ef29758429 Localisation updates from https://translatewiki.net.
Change-Id: Iba7b247d31baa47de5c7bb1a1e02fa88cd420db9
2020-11-13 08:29:56 +01:00
jenkins-bot 586b9e65f7 Merge "Add "reference" class to references in VisualEditor" 2020-11-10 21:05:32 +00:00
Translation updater bot df0c1bd889 Localisation updates from https://translatewiki.net.
Change-Id: I9388c85127ad9824fcc6197d99824da9db6a6e3e
2020-11-09 08:34:17 +01:00
Bartosz Dziewoński 72f79aae3b Add "reference" class to references in VisualEditor
* Add it to CE HTML, for compatibility with site styles.
* Add it to DM HTML of newly created references only. Existing
  references just use whatever classes we got from Parsoid, to avoid
  unnecessary DOM changes and dirty diffs.

Bug: T265930
Depends-On: I61a2132f3876e2d9567d985358f51eb51c479813
Change-Id: I9d6856f03071c09617b8ae7db938135a3e30fe8e
2020-11-06 18:04:13 +00:00
libraryupgrader 00d3977424 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Change-Id: I385c3993f6fb8def81b82c35d6ef3fe510c24eef
2020-11-03 10:06:13 +00:00
Translation updater bot a1d3d21eec Localisation updates from https://translatewiki.net.
Change-Id: I964aafb8c34af5273564498967b3810a14fb333d
2020-11-03 08:43:49 +01:00
libraryupgrader 4f08772c6b build: Updating mediawiki/mediawiki-codesniffer to 32.0.0
The following sniffs are failing and were disabled:
* MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationProtected

Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).

Change-Id: Ia1461485a1a0122a5b830dc2badb542ae7ec9a1c
2020-10-29 07:00:27 +00:00
Thiemo Kreuz d44754168f Fix coverage report for ErrorReporter
The structure of this class changed a lot in If2fe5f5
(T239572). This was never reflected in the @covers tags. I
suggest to go with a trivial @covers for the entire class
and let PHPUnit figure it out. The alternative is to kind
of repeat many private implementation details, and this
doesn't feel right.

Change-Id: Ie414876489133ab9aca934c19a5e403cd339abf1
2020-10-27 09:49:56 +00:00
sskenner f0c77eb4c5 Selenium: Add selenium logs to .gitignore
Bug: T265463
Change-Id: I5fbb39b3437bc9e823d04f23f72d991b677676c5
2020-10-20 14:19:24 -04:00
Translation updater bot ba21f9438d Localisation updates from https://translatewiki.net.
Change-Id: Ice3f894e335b0bd0babd6053f379c83fc471740f
2020-10-19 08:35:07 +02:00
Translation updater bot 6c464becc9 Localisation updates from https://translatewiki.net.
Change-Id: If6d7e98b56e7d1f078d652ecfc04e4470c2f7292
2020-10-14 08:27:38 +02:00
jenkins-bot 33b6cdf0b6 Merge "Compact trivial arrays in test providers" 2020-10-13 13:39:34 +00:00
Translation updater bot 7741785df8 Localisation updates from https://translatewiki.net.
Change-Id: Ib2826d14ae7c8bb4179d838c2a7e91bc6f7371cc
2020-10-13 08:41:42 +02:00
Translation updater bot fda5b43f89 Localisation updates from https://translatewiki.net.
Change-Id: I5414dccfaa974239c3db39ee5fada87d640dc05e
2020-10-12 08:34:25 +02:00
Thiemo Kreuz 27c5632ebd Compact trivial arrays in test providers
This is meant to make the code easier to read.

Change-Id: Ib684bf64acfbac9b458d110d9ccff2d071b993be
2020-10-08 11:07:35 +02:00
Translation updater bot aef34e22ab Localisation updates from https://translatewiki.net.
Change-Id: Iad0d4ae190a5dbc5a2d831060b16ef90fa41c107
2020-10-08 08:29:36 +02:00
Translation updater bot 18b5b1488f Localisation updates from https://translatewiki.net.
Change-Id: I1f20b4d058b016c60ae7a67569d6c59fb4ae34d4
2020-10-07 08:35:14 +02:00
Translation updater bot 387cfc8fcf Localisation updates from https://translatewiki.net.
Change-Id: I823ef8e09bdb2a129fb5a4554f602d4bb2e1ec68
2020-10-05 08:41:04 +02:00
Translation updater bot aa953ae1ed Localisation updates from https://translatewiki.net.
Change-Id: Ie095393b655e3c9a9446b27a13c7ed3cfa102f92
2020-10-02 08:23:49 +02:00
Translation updater bot 697dd38e82 Localisation updates from https://translatewiki.net.
Change-Id: I6023806ff386e6cf9a1e3a7dd52756e553b7fe1b
2020-09-30 08:41:16 +02:00
Translation updater bot c12150a98c Localisation updates from https://translatewiki.net.
Change-Id: I7c25628ce266c8914947f318b4519e9e06c1a42c
2020-09-28 08:28:48 +02:00
jenkins-bot b3d83799cb Merge "Downstream images for VE EducationPopup" 2020-09-25 09:11:19 +00:00
Translation updater bot e8335bc0f1 Localisation updates from https://translatewiki.net.
Change-Id: Ide55d4d70fbe1b9cc6144063425c0429be7d1fce
2020-09-25 08:21:06 +02:00
libraryupgrader 2caefdeb92 build: Updating mediawiki/mediawiki-phan-config to 0.10.3
Additional changes:
* Dropped .php5 files from .phpcs.xml (T200956).

Change-Id: Idce735669fabb48e81146dd9be643d7cf7c65163
2020-09-24 22:05:47 +00:00
Ed Sanders 8e3bc8cb2c Match line-breaking whitespace in reference names
Bug: T263698
Change-Id: I436b0fbf1756e08fe9ff9013aff7479d5ec653f6
2020-09-24 20:29:00 +02:00
Ed Sanders 21b9cc6eb4 Downstream images for VE EducationPopup
The messages for the popup lives here, so should the image.

Change-Id: I02041246dda1b3d3ad1bcc0b014fa022e8259b62
2020-09-24 17:51:18 +01:00
Translation updater bot 8ee6c996e7 Localisation updates from https://translatewiki.net.
Change-Id: Ia3d6197723410c1d7ac052e7bea4d0fdff4ca9fd
2020-09-23 08:24:28 +02:00
Translation updater bot 146c26e78d Localisation updates from https://translatewiki.net.
Change-Id: If42063e4a26e89ee1123860179a777def6a16047
2020-09-22 08:34:02 +02:00
Translation updater bot ece0c86ff9 Localisation updates from https://translatewiki.net.
Change-Id: Ia5778b30d9f5b0132dd04b72c5888579a3d1f05c
2020-09-21 08:29:00 +02:00
jenkins-bot e5d29aa8c0 Merge "eslint: Fix and enable the 'no-shadow' rule" 2020-09-18 15:22:51 +00:00
Ed Sanders 309645a7ca eslint: Fix and enable the 'no-shadow' rule
Change-Id: I887003beaa3ee2e984b6f854b777485ca9e49049
2020-09-18 14:37:07 +00:00
Translation updater bot 3e8154e801 Localisation updates from https://translatewiki.net.
Change-Id: If47cb323efd543d96cde357f84359cd6bd5fcd70
2020-09-14 09:13:21 +02:00
libraryupgrader 085aaf49e7 build: Updating bl to 4.0.3
* https://npmjs.com/advisories/1555

Change-Id: Ia65cdd7239933482838f96865daed12113399e3c
2020-09-08 19:02:47 +00:00
Translation updater bot 45dace7113 Localisation updates from https://translatewiki.net.
Change-Id: I3b0525238f30b01bbf23e7fc549f186f239ccba2
2020-09-06 20:55:06 +02:00
libraryupgrader 36659b995f build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
  The following rules are failing and were disabled:
  * no-shadow

* grunt: 1.2.1 → 1.3.0

Change-Id: I2ee910e2940c3db520531b91329955d01f2a9076
2020-09-05 10:14:03 +00:00
Thiemo Kreuz 7ce27b432f Stop using Language::formatNum to localize separators
This is done to make the discussion in If3dcfd7 easier.

When we introduced this code we actually used it to format
entire numbers. We had to change this later to *not* localize
digits, but only separators. Language::formatNum is and always
was able to do this, so we just continued to use it.

This is discussed now.

It turns out there is only a single place left where we use
formatNum, and it does nothing but localizing the decimal
point. There is another way to do the same.

Bug: T237467
Change-Id: I89b17a9e11b3afc6c653ba7ccc6ff84c37863b66
2020-09-02 09:40:33 +02:00
Translation updater bot bc919e6d78 Localisation updates from https://translatewiki.net.
Change-Id: I0e6fcab7bbf62e392e18f665215b360d5d3f7c7f
2020-08-24 11:57:29 +02:00
C. Scott Ananian 6b813c6874 Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit d9a3e14dfcb422e95de7a79f0eb662fd43f9354f

Change-Id: Iae34d2107bfb47304819da7f7c715dec83da1a48
2020-08-18 16:54:33 -04:00
Translation updater bot 5326a844a1 Localisation updates from https://translatewiki.net.
Change-Id: I8ae62784f043909630d3d8f5772d0c2671d58ee9
2020-08-17 08:41:53 +02:00
Translation updater bot 7a3028ad56 Localisation updates from https://translatewiki.net.
Change-Id: I673a9353c36c892dd595eb6b1a050f37500863df
2020-08-13 08:39:04 +02:00
Translation updater bot 7b2c411738 Localisation updates from https://translatewiki.net.
Change-Id: I04e0a2329dbba988921beefcce166ed394d4be6a
2020-08-11 08:20:41 +02:00
Translation updater bot 418b173ba3 Localisation updates from https://translatewiki.net.
Change-Id: I745d5b735aa28f5e0e90d02cd3b1711143a63c1d
2020-08-10 09:00:17 +02:00
Translation updater bot b8cb8d3b55 Localisation updates from https://translatewiki.net.
Change-Id: I43d5721fffba1f82b3823ba0c4b0f4c962c566e0
2020-08-04 08:31:57 +02:00
Translation updater bot 94b181ed37 Localisation updates from https://translatewiki.net.
Change-Id: I05b284b771d20fa121fe55f8226fd3b8089345f4
2020-08-03 08:31:34 +02:00
C. Scott Ananian a0faedb942 Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 77db605163990ad851e3da0fb4fa7eca2081f379

Change-Id: I19ad9f1b6845e5557c2f5f87ac435db0ad87000d
2020-07-28 15:53:08 -04:00
jenkins-bot 66eab58739 Merge "Restore preview of a <references> section alone" 2020-07-28 13:19:01 +00:00
Translation updater bot 099b526f57 Localisation updates from https://translatewiki.net.
Change-Id: Idb61cddad363fdf5001393e2fde9156fab819216
2020-07-28 08:24:15 +02:00
Thiemo Kreuz 3de3bf4545 Remove unused Cite::$isPagePreview flag
This is dead code we forgot to remove in I7088f25.

Bug: T238195
Change-Id: Iff1d3668beb9d530348ec9f90124774248e59407
2020-07-23 11:46:42 +02:00
Thiemo Kreuz 41149d8072 Restore preview of a <references> section alone
We broke this feature in December 2019 because it was never covered
by any tests. Full explanation in T245376.

All the features we care about are covered by tests. If all existing
tests succeed, that should be proof enough that this patch does not
introduce any new regression.

Bug: T245376
Change-Id: I1a447884bdc507ac762d212466496b4591c18090
2020-07-21 13:19:38 +02:00
Translation updater bot f347863eab Localisation updates from https://translatewiki.net.
Change-Id: If8e268476129ad0bf04bb0803dcd8b413872c875
2020-07-21 09:10:42 +02:00