Commit graph

3257 commits

Author SHA1 Message Date
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
Translation updater bot f347863eab Localisation updates from https://translatewiki.net.
Change-Id: If8e268476129ad0bf04bb0803dcd8b413872c875
2020-07-21 09:10:42 +02:00
libraryupgrader d52f8cf5c2 build: Updating grunt to 1.2.1
Change-Id: I64ccb005689bd13caa12aadeca85cc3454bea318
2020-07-18 02:08:25 +00:00
libraryupgrader 063cc59e83 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Ic73890c4398c3f08946b4c9677d7e24c634ae7ba
2020-07-15 21:59:30 +00:00
C. Scott Ananian 90728bde87 Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 7321ab547b7663ba86c1cfe0bc021ff1918c0970

Change-Id: I2cc88069b19e7611f23c83ca993f9caa70f786f0
2020-07-15 11:39:46 -04:00
Translation updater bot 3f9fd850e0 Localisation updates from https://translatewiki.net.
Change-Id: I979a5dd85180836d86f00a857a7453e2fd9b3b48
2020-07-15 09:03:39 +02:00
Nikerabbit 98efd80db7 Revert "Localisation updates from https://translatewiki.net."
This reverts commit 502d410c5d.

Reason for revert: Broken export

Change-Id: I4edb1b6450b6a8f6bac5b7b0a5e31498e69483be
2020-07-13 11:28:34 +00:00
Translation updater bot 502d410c5d Localisation updates from https://translatewiki.net.
Change-Id: I195bfb4275b0fdb3829b1ee3bdea43c5b8f4ab9b
2020-07-13 08:41:10 +02:00
Translation updater bot ed112b3608 Localisation updates from https://translatewiki.net.
Change-Id: I14d1e5fb81c58b0fb538d81ced8ea17b2f9c34e1
2020-07-10 08:25:24 +02:00
libraryupgrader e0bf47fc21 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Icbf623aff71c82186be967f9b68587ddcb2fcd99
2020-07-09 03:47:47 +00:00
Translation updater bot 9b5fbae45c Localisation updates from https://translatewiki.net.
Change-Id: I2e93639a7110c6c53b7820f176ef0448dab7608c
2020-07-06 09:50:16 +02:00
Translation updater bot e0e3effa51 Localisation updates from https://translatewiki.net.
Change-Id: Ic7e5175f1c8333e8cb52be9098381adb0e970172
2020-06-26 09:19:22 +02:00
vidhi-mody 7d0c85afe6 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T253343
Change-Id: I98d452af0af248cf7221e355550ed8b7b8975aa4
2020-06-25 15:12:19 +05:30
jenkins-bot 00b2a0a4b1 Merge "Selenium: Update to WebdriverIO v5" 2020-06-25 06:43:23 +00:00
vidhi-mody 76c38c766d Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.

Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:
- `browser.element` with `$`.
- `browser.elements` with `$$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `waitForVisible()` with `waitForDisplayed()`.
- `isVisible()` with `isDisplayed()`.

Bug: T253343
Change-Id: Ia656c8bc9fa76ae80bc356dc18c821a93b8cd875
2020-06-25 01:19:38 +05:30
Translation updater bot 0de5f8ef63 Localisation updates from https://translatewiki.net.
Change-Id: I22fea7087a478dae12bc7e2fc51f3c1c15e67b4a
2020-06-23 08:50:45 +02:00
Translation updater bot 845456ecdf Localisation updates from https://translatewiki.net.
Change-Id: Ib8536062ffe7ebfa3b56125b4a72563c0054e935
2020-06-18 08:36:39 +02:00
Translation updater bot 6885f86c64 Localisation updates from https://translatewiki.net.
Change-Id: I2026093debbc3869a268e0480f30902ea7928301
2020-06-16 08:33:19 +02:00
jenkins-bot 631d5186b7 Merge "ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes" 2020-06-12 17:32:15 +00:00
Ed Sanders e66dd259e6 ve.dm.Node: blacklistedAnnotationTypes -> disallowedAnnotationTypes
Bug: T254646
Change-Id: I38f8c1a8259c2ca1ae1ea4d4ce374fc39f46f676
Depends-On: I8e23231bf4ff4022a85b4dfe214184fbb3543fce
2020-06-12 10:13:19 +00:00
Translation updater bot 112f1466b6 Localisation updates from https://translatewiki.net.
Change-Id: I84b5aba3d58f2f9c7952ea2776ed5dffeab8b95f
2020-06-11 09:01:07 +02:00
jenkins-bot 40e123fb35 Merge "build: Update devDependencies" 2020-06-09 11:16:00 +00:00
Ed Sanders a93b3c5185 Remove unused test constant
Change-Id: I1ee23cd4f6ba5a6851d4717f303d2b880da338cd
2020-06-09 11:29:34 +01:00
Ed Sanders 85a4e23008 build: Update devDependencies
Change-Id: I38b506d6e058f639e0e7d95c3e60616dbef5af10
2020-06-09 11:29:03 +01:00
Translation updater bot c7dbd173b3 Localisation updates from https://translatewiki.net.
Change-Id: I94b82d72727660edd4c9ac34f2566a5edce71ce5
2020-06-08 08:49:16 +02:00
libraryupgrader 406e871074 build: Updating mediawiki/minus-x to 1.1.0
Change-Id: Iaec553f11b2ccbd389d63e2a6d6e878d9ac40ee7
2020-06-08 05:54:15 +00:00
libraryupgrader 0dc25f2c5b build: Updating mediawiki/mediawiki-phan-config to 0.10.2
Additional changes:
* Removed phan-taint-check-plugin from extra, now inherited from mediawiki-phan-config.

Change-Id: I280ee7f72faecad666cb088be9950f9a5250c9c9
2020-06-02 10:51:05 +00:00
Translation updater bot ab2b0aff53 Localisation updates from https://translatewiki.net.
Change-Id: I66afc562eafdb21917139d8eecdeb333010c7401
2020-06-01 09:56:43 +02:00
libraryupgrader aaf5285571 build: Updating composer dependencies
* 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: I9048d6c1c3af412109b67b78d431f4aab7c3060c
2020-05-31 00:39:30 +00:00
jenkins-bot ec71504b8d Merge "Sync unicode-bidi property for <sup> tags between Parsoid & core impls" 2020-05-29 21:00:33 +00:00
libraryupgrader c68575b73b build: Updating mediawiki/mediawiki-codesniffer to 31.0.0
Additional changes:
* Replaced "jakub-onderka" packages with "php-parallel-lint".

Change-Id: I62affe86473b9911f925c0f4147a0369ac00d221
2020-05-29 09:50:02 +00:00
Translation updater bot 9371bede25 Localisation updates from https://translatewiki.net.
Change-Id: Id36226ae038408de202d669ba2aaff6c9e83fdae
2020-05-29 08:31:56 +02:00
Translation updater bot 29ed9fe25e Localisation updates from https://translatewiki.net.
Change-Id: I70d4fdaceb03b45d1112e590df549dcc09ad80fe
2020-05-28 08:38:32 +02:00
Bartosz Dziewoński 1975cb3dcb Do not add thousands separators when formatting reference numbers
Bug: T253743
Change-Id: I8c4de963277895d7751d6bfe3c34ca6097ebe606
2020-05-28 00:08:44 +02:00
Translation updater bot 47b3d8fb1a Localisation updates from https://translatewiki.net.
Change-Id: I62a231242b630d67bc604d2ea16348ac4ae249ba
2020-05-27 08:48:09 +02:00
Translation updater bot 2632c94964 Localisation updates from https://translatewiki.net.
Change-Id: I799e997b27bc5595da5e018b6bfc79e9ab9ff703
2020-05-26 08:35:18 +02:00
Translation updater bot 929ab04257 Localisation updates from https://translatewiki.net.
Change-Id: I41294360e0737cdc8c430f0a95cb85b5f5d0d0d1
2020-05-25 08:39:02 +02:00
Subramanya Sastry 12e2bf155c Sync unicode-bidi property for <sup> tags between Parsoid & core impls
* See T251983#6159540 for a more detailed summary, but these should
  have always been in sync in the first place.

Bug: T251983
Change-Id: I92d2ec19c70c31374fabc9540678b1bb6eb2728c
2020-05-22 16:45:37 -05:00
Thiemo Kreuz 7fbd5de7f5 Merge two code paths related to follow
This patch also adds a test case that was missing before. If a
follow="…" is followed by another, normal <ref>, the internal key
(a.k.a. $this->refSequence) is not incremented. This was the case
before, just not covered by any test.

Change-Id: I102d1e67a6918017acc7e4a4663b08c828d101a6
2020-05-12 10:52:08 +02:00
jenkins-bot 53cf713cdb Merge "Add test cases for impossible follow vs. rollback edge case" 2020-05-12 02:03:35 +00:00
James D. Forrester c35d47fe0b Use QUnitTestModule instead of deprecated ResourceLoaderTestModules
CI already ensures that VisualEditor is loaded alongside Cite, so
the defensive check in the code isn't needed; ext.cite.visualEditor is
defined statically, it's just injected into the page dynamically in the
VisualEditor code handling VisualEditorPluginModules.

Bug: T232875
Change-Id: Ie5e096feca92f9c3ef13c732f3f1ae491e2b7d03
2020-05-11 20:51:24 +00:00
Translation updater bot f09db41375 Localisation updates from https://translatewiki.net.
Change-Id: I2f64579ac40ba1fe952148c487b94cd4d5b82a03
2020-05-08 09:27:51 +02:00
Subramanya Sastry eb8e07c69c Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 1e72ddefc2df8d5b38d7b370d67a87b48d8a09f7

Change-Id: Ic75ac33c92997427751d037339f7eb79027356a2
2020-05-07 12:14:19 -05:00
Translation updater bot 60528d51aa Localisation updates from https://translatewiki.net.
Change-Id: Ic0b1f2560a421368c7ffbf2d9367e048551a81e7
2020-05-07 08:33:58 +02:00
jenkins-bot fb4fddfb89 Merge "Add a newline in wikitext before autogenerated reflist" 2020-05-06 20:10:45 +00:00
Bartosz Dziewoński 3678215a77 Add a newline in wikitext before autogenerated reflist
Previously the reflist was added at the end of the last line of text,
which messes up paragraph wrapping (as seen in many test cases), and
generated invalid HTML when the last line was a list item (T148701).

(second try, previously reverted in 8c933d03c5)

Note this affects only pages where the <references /> tag is missing,
and the references section is auto-generated at the very end of the page.

Bug: T148701
Change-Id: Ib2101346434a4e317b5fc7379215b60c7020cb2b
2020-05-06 20:51:25 +02:00
Translation updater bot 49a9c0e787 Localisation updates from https://translatewiki.net.
Change-Id: Icbbaa73ed15949a3e0a46659cfa21a610c592fb9
2020-05-06 08:29:13 +02:00
Translation updater bot 7ae74d01cd Localisation updates from https://translatewiki.net.
Change-Id: Ic2f6378c88304ed8e9899eb2e68ee71de17de24c
2020-05-04 09:14:56 +02:00
Translation updater bot 0d09517071 Localisation updates from https://translatewiki.net.
Change-Id: Ie37f305997c342b3c27dd320752012b3d89c0f3e
2020-04-30 08:36:59 +02:00
Translation updater bot cb336d203c Localisation updates from https://translatewiki.net.
Change-Id: Ifa4c3dd6633468bffd316fd8407c84e88876dc13
2020-04-27 09:02:16 +02:00