Commit graph

1449 commits

Author SHA1 Message Date
James D. Forrester a644018c57 extension.json: Fix name of QUnitTestModule
Change-Id: I0d94c300001d89ad1155e59f5734dcb05c4ce272
2020-05-11 14:43:36 -07:00
James D. Forrester edf85c08e7 Use QUnitTestModule instead of deprecated ResourceLoaderTestModules
Bug: T232875
Change-Id: I5612a9be65f4d4adf4912645856540dbb04d2b34
2020-05-11 19:45:10 +00:00
Translation updater bot 7d0946c885 Localisation updates from https://translatewiki.net.
Change-Id: I50b113318267394d7c7f7ce469c7bb4854901e7b
2020-05-11 08:38:58 +02:00
Translation updater bot 83de25d7c3 Localisation updates from https://translatewiki.net.
Change-Id: Iddf07c82d145f301286efbd4399750c12ee4a1ef
2020-05-07 08:35:43 +02:00
Translation updater bot d2060ced40 Localisation updates from https://translatewiki.net.
Change-Id: Ia3f5858e3b2bf0728a41b7348e6d3fe37876ee8c
2020-05-06 08:31:59 +02:00
Translation updater bot 2d3c94782d Localisation updates from https://translatewiki.net.
Change-Id: Ia9e99e91739abdb07f915b5553309d668e38c404
2020-05-05 08:31:21 +02:00
Translation updater bot 5bbddc9ae9 Localisation updates from https://translatewiki.net.
Change-Id: I23f4e3d66782fab7972b9e549443ddea3bf3a43b
2020-04-29 08:37:18 +02:00
Translation updater bot 3170df466f Localisation updates from https://translatewiki.net.
Change-Id: I0a2a4b39f92c1f68825b1dbf0de8f6cb07666bef
2020-04-27 09:04:05 +02:00
libraryupgrader a217ede2fe build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: Iefc2135c456c7b637173bfc2f1dd3207dd34dd89
2020-04-22 20:26:30 +00:00
Translation updater bot 555af0716f Localisation updates from https://translatewiki.net.
Change-Id: Ib13672c67e1b4cc3469047d810b7f8fa7f2542f2
2020-04-20 08:43:07 +02:00
libraryupgrader ebb9d8f773 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Id09ef704eef28802ba672256c2bba756f8eea340
2020-04-19 20:24:31 +00:00
Translation updater bot 5ac9bfee52 Localisation updates from https://translatewiki.net.
Change-Id: I6aad9c965cd58035fefa00bd2f9f2bd1f3180220
2020-04-16 09:34:08 +02:00
Translation updater bot 4b1c91d8d6 Localisation updates from https://translatewiki.net.
Change-Id: Ifaafd54453be3dd83173b786c12331a4d7ebe39b
2020-04-14 08:25:24 +02:00
jenkins-bot 1d815cd96d Merge "Improve directionality settings for TemplateDataBlob rendering" 2020-04-10 15:49:39 +00:00
Translation updater bot cd5c85b198 Localisation updates from https://translatewiki.net.
Change-Id: I19bb5c10dc4626dcb0a18a41b46b06320271b56b
2020-04-10 09:51:54 +02:00
C. Scott Ananian e3c95c281f Improve directionality settings for TemplateDataBlob rendering
The <templatedata> extension tag wants to render itself into HTML
before an OutputPage has been set up.  Unfortunately, this meant that
we needed to hack in a call to OutputPage::setupOOUI() with default
theme and directionality, regardless of whether those were correct.

Slightly improve matters by using the directionality of the user
language object, but this codepath really needs to be rethought.

Follow up to Ie3f37b8b972dc6e89e3cd334672954d3632c1b20; see also
the discussion in T101666.

Change-Id: I6ae99ea6bd8b6ee21b8ed8b06dc4e9e324050ab7
2020-04-09 11:45:24 -07:00
Translation updater bot bb7339733f Localisation updates from https://translatewiki.net.
Change-Id: Iaff788506e8ef53e3405b43b748636b799aea2c0
2020-04-09 08:40:01 +02:00
C. Scott Ananian 4dcda73ef7 Remove deprecated Parser::enableOOUI(), take 2
This adds a missing call to OutputPage::setupOOUI(), to fix a code path
where `<templatedata>` is expanded via API call (eg, during Parsoid
rendering) and an OOUI theme has not been set up.  This hacky workaround
is pretty bogus, since the output will not have the proper user skin
or directionality, but it avoids a crash (and duplicates the previous
behavior, without using the deprecated method).

Change-Id: Ie3f37b8b972dc6e89e3cd334672954d3632c1b20
2020-04-08 16:10:33 -04:00
C. Scott Ananian 3f270b9ad7 Don't use deprecated Parser::enableOOUI() hook
Follow up to I71be19c1d735fef5b781c68ef7ba47cafc37595d.

Bug: T236809
Change-Id: Ib75f530506bfc9692137b0538f66eb5b511637f0
2020-04-08 13:47:08 -04:00
Translation updater bot 5dff3b5ba8 Localisation updates from https://translatewiki.net.
Change-Id: I747cb4a1397178495eb0c465b1331bdfc9eb5d8c
2020-04-08 09:05:16 +02:00
Translation updater bot 9cb59e33f8 Localisation updates from https://translatewiki.net.
Change-Id: Ia855e39b795440bf6e22a75fb78a518f674639ad
2020-04-07 08:50:47 +02:00
Translation updater bot 362edd338a Localisation updates from https://translatewiki.net.
Change-Id: I326d69985190c88e3ad6c4ec4b7eb6fcbc50ec5c
2020-04-06 09:02:52 +02:00
libraryupgrader ad3f44a9e0 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: If5c2fbbe1b1feb0699e3b8d7ed9ebd5ffea7ee8a
2020-04-05 10:11:09 +00:00
jenkins-bot 218621483b Merge "Disable TemplateData dialog 'apply' action until changes are made" 2020-03-31 13:43:08 +00:00
Translation updater bot 74b3d2c4b8 Localisation updates from https://translatewiki.net.
Change-Id: I000a4e1edb4ecc7f5873409e0c1811c0a7020f57
2020-03-31 08:29:22 +02:00
Thalia 8361c80307 Disable TemplateData dialog 'apply' action until changes are made
Change-Id: I890de938654ea598d3f7af2ea7f69e11188bbab4
2020-03-30 23:39:26 +01:00
jenkins-bot ff01b2ba75 Merge "Fix borders for alias pills in TemplateData editor" 2020-03-30 14:41:01 +00:00
adham-khatean 1bf9e95bb6 Fix borders for alias pills in TemplateData editor
fixing the problem of top and bottom borders for the alias pills in the
TemplateData editor are cut off, by setting the padding of the
class "tdg-templateDataParamWidget-param-aliases" to 1px

Bug: T248486
Change-Id: Ic66cda0be840fb3be966c2efa89062b7b9f117a3
2020-03-30 15:53:08 +02:00
Translation updater bot 947f97bed1 Localisation updates from https://translatewiki.net.
Change-Id: Icde08966b810ef6de1be1c343b9c41d63ca2a782
2020-03-30 09:15:16 +02:00
DannyS712 720aff85b1 PHP coding conventions: reorder doxygen tags
See https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Doxygen_tags

Change-Id: Ied27b09fd717fd469170dc842091732195b4046d
2020-03-26 15:48:33 +00:00
libraryupgrader 735e99935f build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.7.2 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: Ie4620d24509ff0be326b3b8d2773738e89b9703c
2020-03-21 07:16:09 +00:00
libraryupgrader 5831948faa build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Iaf16e4562eeae41c20f2fd0ba4f71f52d86f6bb2
2020-03-19 13:18:04 +00:00
Timo Tijhof 53f4783ffd Organise resource files in directories after their module bundles
* I've moved the one remaining file in resources/ to modules/.
  The repo had both resources/ and modules/.

* Class files are named after their class.

* Files with init logic on a page are named init.js.

* Files that only export re-usable classes for another module,
  are named index.js.

Bug: T193826
Depends-On: If661c68bea069e99cfff35711efdde7805a12851
Change-Id: Ic8975d7ba349ba50f9039545d2eb8d912ccdce26
2020-03-15 15:21:39 +00:00
Timo Tijhof 2034c95f17 build: Remove redundant arrays around "Hooks" in extension.json
Change-Id: I4111beae5504565af7c12278ce6696ab3ab3d960
2020-03-12 18:04:02 +00:00
Translation updater bot 31e213d549 Localisation updates from https://translatewiki.net.
Change-Id: I283a4afc298b348374f65ac95eed8f5623368639
2020-03-09 08:57:58 +01:00
libraryupgrader 4b925df85a build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I0ab727dff067a98093045fc6f7567194085f7998
2020-03-08 13:57:10 +00:00
Translation updater bot 64d7b9cdfa Localisation updates from https://translatewiki.net.
Change-Id: I762ef0d9524bc084eaac46a22057ed6eb50d9973
2020-03-06 08:18:43 +01:00
Translation updater bot 8187b08413 Localisation updates from https://translatewiki.net.
Change-Id: Id6cc68ebd4533b5154119310736acaa710eea44f
2020-03-05 08:39:54 +01:00
Translation updater bot b37632f7c8 Localisation updates from https://translatewiki.net.
Change-Id: I7780486088577e8497fcf2cf7ec3feb829047b32
2020-02-21 09:39:29 +01:00
libraryupgrader 0d706ec81d build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I48ef23697f84411c541c35688bcf69a192928f95
2020-02-21 03:11:50 +00:00
jenkins-bot c896e54977 Merge "build: Updating composer dependencies" 2020-02-11 18:14:58 +00:00
Translation updater bot b0f2fab539 Localisation updates from https://translatewiki.net.
Change-Id: I25367cc3af80be4f3a1a5a469a3b8c15786a9d07
2020-02-11 08:19:46 +01:00
Translation updater bot fe1a9971e7 Localisation updates from https://translatewiki.net.
Change-Id: Ia00c2d9a74725858ef3ccf993bfe6ba745a61079
2020-02-10 08:35:50 +01:00
Translation updater bot 3b768766a7 Localisation updates from https://translatewiki.net.
Change-Id: I8a8e552fd3781d9b052ae73fcddac721c0cee0a0
2020-02-07 09:58:01 +01:00
Translation updater bot 0c835cfc5c Localisation updates from https://translatewiki.net.
Change-Id: Ifc1512384cb839ae2c71baa426d6e043b7e227d3
2020-02-05 08:19:42 +01:00
Translation updater bot 0e857bccb6 Localisation updates from https://translatewiki.net.
Change-Id: I93d34b6969d7d0bdb4952fe3a802317606be016e
2020-02-03 08:28:22 +01:00
libraryupgrader e3fb9734b1 build: Updating composer dependencies
* jakub-onderka/php-console-highlighter: 0.3.2 → 0.4.0
* mediawiki/minus-x: 0.3.2 → 1.0.0
* mediawiki/mediawiki-phan-config: 0.9.0 → 0.9.1

Change-Id: Ifdb5afed1ec5114d9e25ebbd81259d77cdc33e13
2020-01-30 12:25:48 +00:00
Timo Tijhof 6f362c6d8a Minor clean up in new ParsoidFetchTemplateData hook
Follows-up 956367fb90.

* Fix typo.
* Remove <del>footgun</del><ins>dangerous return value</ins>
  from this unabortable hook.
* Document the weird PageProps workaround.
  This should be fixed in core.

Change-Id: I6b22e9c2112039e5703e6a62252f1909b15c8887
2020-01-28 19:14:12 +00:00
Translation updater bot d56c5f41c5 Localisation updates from https://translatewiki.net.
Change-Id: I8b2bea132f69e31955e3d5cffb6bf7fe7ee49758
2020-01-28 08:26:33 +01:00
Translation updater bot fd7fd9495b Localisation updates from https://translatewiki.net.
Change-Id: Iaa56c127cfb984752bb0966f5bb3f283a0ed140c
2020-01-23 08:35:38 +01:00