Commit graph

3719 commits

Author SHA1 Message Date
Ed Sanders cf95dbd4be Move var declarations inline
Change-Id: I824a65e72a72e5acf65c54a63299469f7acb649d
2021-11-03 16:38:31 +00:00
Adam Wight 3c02ee38b2 Clean up javascript code smells
These were discovered using SonarCloud.

Change-Id: Ie36fa248e4b395bb97b8969ece6688ec055afb55
2021-11-03 12:28:07 +00:00
Translation updater bot cb957cc565 Localisation updates from https://translatewiki.net.
Change-Id: Ie359d7a24f9bf10835464c75e97cfb33e515a1a7
2021-11-03 08:20:21 +01:00
Ed Sanders bad697bd32 Use proper method for comparing linear data
Previously we checked the elements were reference-equal
which is fragile and breaks when linear data freezing is
enabled in debug mode.

Change-Id: Ifb0ba3caf8d3e5a67c9694358cac12cc412fe723
2021-11-02 23:15:13 +00:00
Translation updater bot a0ffa6c3f9 Localisation updates from https://translatewiki.net.
Change-Id: I0441ed2deb270c9e9f7bab23269375672fe32826
2021-10-29 08:21:30 +02:00
Translation updater bot 38ba46ffed Localisation updates from https://translatewiki.net.
Change-Id: Id1fd289a871be6def14619a4e94e062d93414bfa
2021-10-28 08:27:19 +02:00
Translation updater bot ffe592653e Localisation updates from https://translatewiki.net.
Change-Id: I876d53a92164714647e9c960ce15c01a2a5971c6
2021-10-26 08:16:57 +02:00
libraryupgrader 4a615fe4e9 build: Updating mediawiki/mediawiki-codesniffer to 38.0.0
Change-Id: I26ab18b7e156c7598f50eb2b15030a132abdbb0d
2021-10-24 00:42:12 +00:00
Translation updater bot 67f8c5cd23 Localisation updates from https://translatewiki.net.
Change-Id: I9157ceb33818cacdd23cee8fd24ced0a864bbf54
2021-10-22 08:14:44 +02:00
Translation updater bot 9a94b09f0c Localisation updates from https://translatewiki.net.
Change-Id: Id4131a628619feefb12f07019c23b02565d4bd2f
2021-10-20 08:36:29 +02:00
Translation updater bot b5f979db1b Localisation updates from https://translatewiki.net.
Change-Id: I6dac2823513fee31b0252cda244e7a6d05a09c95
2021-10-18 15:19:34 +02:00
Adam Wight 53d055d1e4 Only the "show/hide options" button should be hidden
We added this line in order to make the sidebar show/hide behavior
the same as the new VisualEditor template dialog, but it should have
only affected this one button.  When additional actions are added,
such as Citoid's "change reference type" button, these should still
be available.

Bug: T293280
Change-Id: I6b2c716fff991781e36ba21b541ea2ff918cfeb3
2021-10-15 13:42:48 +02:00
C. Scott Ananian 30cfb7c05a Rename deprecated usage of ParserOutput::{get,set}Property()
Bug: T287216
Depends-On: Ie963eea5aa0f0e984ced7c4dfa0fd65d57313cfa
Change-Id: Id4581c6c45f9fc4690900a30d8172951bc461a1b
2021-10-08 10:12:05 -04:00
Translation updater bot 4c55bcbd94 Localisation updates from https://translatewiki.net.
Change-Id: I15bdf21a6913116a26f0db2d35c41bff9189b8d2
2021-10-06 09:28:06 +02:00
libraryupgrader 33e2ff79b5 build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)

Additional changes:
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I9aa26cf3664857fac671dc15718e5341798625d2
2021-10-04 13:21:21 +00:00
Translation updater bot 00c1a28db6 Localisation updates from https://translatewiki.net.
Change-Id: I1e3932d60abf27cdab341530ce2f948b9dc65f98
2021-10-04 08:55:28 +02:00
Translation updater bot ca7e992234 Localisation updates from https://translatewiki.net.
Change-Id: Id817e900b7a78973f3b3f99bbd366668d8ec3513
2021-10-01 09:29:40 +02:00
Subramanya Sastry ed59e2ac38 Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 29f8e7051529ecbb62fc52bff6726a4df8bf20c2

Change-Id: I165ee24e1b78bdf181fa45430fdec1549310c359
2021-09-30 15:00:56 -05:00
WMDE-Fisch a8ea95de72 Fix class doc block for VE action
Seems to be a copy&paste leftover.

Change-Id: Ie5c06dd0d880663a0a4f1bfeb082a106811f03e7
2021-09-30 10:13:39 +00:00
Translation updater bot 79fc5b898e Localisation updates from https://translatewiki.net.
Change-Id: Id4eae6b5d47b9657088d5766c23b09ef534462b2
2021-09-30 08:57:12 +02:00
Translation updater bot 8ad00930a0 Localisation updates from https://translatewiki.net.
Change-Id: I44760079ed1dc6e51c65ccae2454f75c7643f629
2021-09-29 09:01:33 +02:00
jenkins-bot ecf603a5fd Merge "Make citation dialog behave more like VE" 2021-09-28 09:14:05 +00:00
Translation updater bot c62d362b61 Localisation updates from https://translatewiki.net.
Change-Id: I5e52490d75ef5ad89f7ea670716009ac0015eb88
2021-09-28 08:18:31 +02:00
Thiemo Kreuz 8902cea828 Use .containsValuableData() method from transclusion model
This is even more reliable because it also considers auto-values,
for example.

Depends-On: I522b888e366f066b28983a18041a8728d11623df
Change-Id: If83b9da65be9a759a82e8512ae171f802da9f597
2021-09-27 11:19:28 +02:00
Translation updater bot 6d512c7667 Localisation updates from https://translatewiki.net.
Change-Id: I4c470c517972cbe8322cddf93d99ba1df24f689d
2021-09-27 08:34:25 +02:00
Translation updater bot 3d14044c4e Localisation updates from https://translatewiki.net.
Change-Id: Ie8333fbd6f24dfb6422229a0648788f9ddc241f8
2021-09-23 12:27:21 +02:00
Adam Wight ca2ffa4853 Make citation dialog behave more like VE
Applies new sidebar features to the Cite dialog, according to the VE
feature flags.

Bug: T291241
Change-Id: I1b7c191ae8fd1fa01808ea1e84ba72551f3d2331
2021-09-20 11:44:51 +02:00
Translation updater bot 408786d3ca Localisation updates from https://translatewiki.net.
Change-Id: I10a1fb9928638e0f554b45f850a6ec67912ca5e8
2021-09-17 08:45:09 +02:00
Translation updater bot 01acd4f775 Localisation updates from https://translatewiki.net.
Change-Id: I8ad6037c5b00e14e4a825db085752a1ff42c6968
2021-09-16 08:11:25 +02:00
Translation updater bot 0938867c6d Localisation updates from https://translatewiki.net.
Change-Id: Iff6f56cb0848ea3690131c6385e4735e4c0298a4
2021-09-14 08:32:28 +02:00
Translation updater bot c72760da66 Localisation updates from https://translatewiki.net.
Change-Id: I6a165a1d30035e3c8e00c5147d86bb34442c7dd7
2021-09-10 08:15:19 +02:00
Translation updater bot 40aa379b43 Localisation updates from https://translatewiki.net.
Change-Id: I2a537a3cb9be4d7f09889404634115e561845d56
2021-09-09 08:17:17 +02:00
libraryupgrader c4872e1e8f build: Updating composer dependencies
* mediawiki/mediawiki-phan-config: 0.10.6 → 0.11.0
* php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1

Change-Id: I89eb4438dacb2d0ab36f4986c0675eec5cb61731
2021-09-08 19:30:00 +00:00
Translation updater bot efd8590420 Localisation updates from https://translatewiki.net.
Change-Id: I38cfab8051a01449caab2253b4b3fc9ef3ff484e
2021-09-06 08:20:27 +02:00
libraryupgrader 13677c06a6 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: I0e1764c11a81c67c40428004bfd0e5ce873e8f69
2021-09-04 18:50:51 +00:00
Translation updater bot bfb49e4204 Localisation updates from https://translatewiki.net.
Change-Id: I298a4e0a11fe8f0f9f45626ae3dc06e56aec794c
2021-09-03 08:14:47 +02:00
Translation updater bot a4e65b96ba Localisation updates from https://translatewiki.net.
Change-Id: I3dbbd6824a2ca5b0449574ce95e02267b8e60c6f
2021-09-02 08:26:01 +02:00
jenkins-bot 6f2c6d4ef8 Merge "Show empty reflist message on initial load and after switching too" 2021-09-01 16:48:10 +00:00
Translation updater bot 7dae290d78 Localisation updates from https://translatewiki.net.
Change-Id: I2edb0e08ab9339b2f55513b2c0c5de03371a7e7f
2021-08-31 08:15:29 +02:00
Translation updater bot b16f0d9e68 Localisation updates from https://translatewiki.net.
Change-Id: I99a39c2d7f759d03aaa890fa1365f7deab5c0d6f
2021-08-26 08:35:40 +02:00
Bartosz Dziewoński 28a8739ce5 Show empty reflist message on initial load and after switching too
The message was only shown when a new reflist was inserted, or when
any references were changed.

Bug: T284472
Change-Id: I7c1e981c93bf7e163f9fb747aad30a24e9a497f1
2021-08-24 12:24:07 +02:00
Translation updater bot 3705438aa0 Localisation updates from https://translatewiki.net.
Change-Id: I3d7ab035b924f402c627da045790cd98c03f66d2
2021-08-23 09:03:41 +02:00
Translation updater bot 66125caae0 Localisation updates from https://translatewiki.net.
Change-Id: I633634a17f619b770828aebe952a8b4b922fbeb7
2021-08-19 08:13:13 +02:00
vladshapik 71c4bd1f98 Adjust Parser related tests to DeprecationHelper
There is the patch(I4297aea3489bb66c98c664da2332584c27793bfa) which will
add DeprecationHelper trait to Parser class in order to deprecate public
Parser::mUser. DeprecationHelper trait has appropriate magic methods
which help to use dynamic properties. In order not to mock them via
createMock(), so getMockBuilder() and onlyMethods() was used.
onlyMethods() method helps to specify methods which need to be mocked.
Now we can use dynamic properties in Parser related tests of Cite
extension.

Bug: T285713
Change-Id: Ie75c9cd66d296ce7cf15432e2093817e18004443
2021-08-17 14:14:55 +00:00
Translation updater bot ace7aff1db Localisation updates from https://translatewiki.net.
Change-Id: Id674072833a1dff7c4f15876a96109eb6c232992
2021-08-16 08:16:00 +02:00
Translation updater bot bdba8e61f7 Localisation updates from https://translatewiki.net.
Change-Id: I23d8eb3a038fe69608728244de6c0b20e1fd82d6
2021-08-12 08:09:25 +02:00
Translation updater bot 095d3bf6a9 Localisation updates from https://translatewiki.net.
Change-Id: I56527e34a9a4bf2ef75f5e26a0b075d1253d31b9
2021-08-11 08:19:06 +02:00
Translation updater bot 60b3124734 Localisation updates from https://translatewiki.net.
Change-Id: I43fbe0ee2818205c821ecb892a86e0f019e90891
2021-08-09 08:23:37 +02:00
Translation updater bot 4c6ef3c88d Localisation updates from https://translatewiki.net.
Change-Id: I5d351fce9a72cbc86af5b886c11f4db907e30fe7
2021-08-05 08:21:55 +02:00
Translation updater bot ba7bfbd2a5 Localisation updates from https://translatewiki.net.
Change-Id: Ia05fa0aa665dbf29f72480f844c62264bd56029c
2021-08-04 08:14:41 +02:00