Commit graph

1604 commits

Author SHA1 Message Date
Adam Wight bda6215309 Migrate to package files: ext.templateDataGenerator.data
Bug: T260343
Change-Id: Ifd171b40de704bff8c063da46b711a384238a0f5
2020-12-04 19:41:30 +01:00
jenkins-bot d2e46c5d27 Merge "Migrate to package files: ext.templateDataGenerator.editPage" 2020-12-04 17:41:48 +00:00
jenkins-bot 0ad3562e4b Merge "Migrate from jsduck to jsdoc" 2020-12-04 17:09:34 +00:00
Adam Wight 479a5a4f12 Migrate to package files: ext.templateDataGenerator.editPage
This is trivial, only I'm splitting into its own patch to bisect a
test failure.

Bug: T260343
Change-Id: Ia6d581a0278b21cbfdcfdad0d6193fb965f35814
2020-12-04 17:00:37 +00:00
Adam Wight 1ff3ddc105 Lint with "commonsjs" rules
This will allow us to migrate to ResourceLoader "package files"
modules.

Bug: T260343
Change-Id: Id4c0a018ea6f3d9a54d468fc3e6c35bfdf5ce1dd
2020-12-04 16:39:00 +00:00
Translation updater bot 44d2957dfa Localisation updates from https://translatewiki.net.
Change-Id: I715274ef1716c702fb266a8ff25936793a4f78d0
2020-12-04 08:34:09 +01:00
Translation updater bot eb72f33c94 Localisation updates from https://translatewiki.net.
Change-Id: I6531668dc7b50ef7b0188da274f5c86d05a54e26
2020-12-03 08:33:18 +01:00
Translation updater bot 1d11a24bfb Localisation updates from https://translatewiki.net.
Change-Id: I225089809b2948f640e393d6d7b12ad17016c440
2020-12-02 08:33:11 +01:00
Adam Wight 1010e6fb78 Migrate from jsduck to jsdoc
Bug: T138401
Change-Id: Iae74fdcae5e8c2541416d8cec8de8221cfc282ef
2020-11-30 21:56:30 +01:00
Translation updater bot 61f61d66d3 Localisation updates from https://translatewiki.net.
Change-Id: I7f37f85492702bfcf6b94bbe601c896ccf7238de
2020-11-30 08:47:55 +01:00
Translation updater bot 00a5f419b6 Localisation updates from https://translatewiki.net.
Change-Id: I4bd8a872f006592197197066da3b9bd3245a9368
2020-11-26 08:28:32 +01:00
libraryupgrader 49fc569c12 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: Ibc5e81ae5199cdce8aaff6cea82badc3ddbb6ae1
2020-11-22 10:56:06 +00:00
libraryupgrader e7b3394edd build: Updating mediawiki/mediawiki-phan-config to 0.10.4
Change-Id: I084cbc85f5be3ceca71c3dac35e0c9fdd7379c9b
2020-11-20 19:45:54 +00:00
Translation updater bot 061a420aad Localisation updates from https://translatewiki.net.
Change-Id: I9d7093ec9ec7810219c860eb4293938594ef58d5
2020-11-19 09:10:40 +01:00
daniel 4478384155 Revert "Add logging for parser cache misses."
We got the info we wanted, the statistics gathering is now just
causing extra ParserCache lookups.

This reverts commit dd81de53d7.
This reverts commit 9a85a1b67e.

Bug: T266200
Change-Id: I830797e287118fbde07e0e22e1304b30ee9f67e5
2020-11-17 21:07:03 +00:00
Translation updater bot e36f217ba6 Localisation updates from https://translatewiki.net.
Change-Id: Ifc49b1980a52b27a5e34f221d98672a540f699d9
2020-11-16 08:38:08 +01:00
Translation updater bot aef3afb2ef Localisation updates from https://translatewiki.net.
Change-Id: Ie4183bd01f7f8b36a56690f7fad4d7257ce3b871
2020-11-13 08:31:05 +01:00
Translation updater bot a0c06962c0 Localisation updates from https://translatewiki.net.
Change-Id: Ic8ce2606952d7c4b83bafbf18342040d71da605e
2020-11-12 08:22:43 +01:00
Translation updater bot c235be7791 Localisation updates from https://translatewiki.net.
Change-Id: I623c0464f18c39519fef95eab042aa5d2283f2a7
2020-11-11 08:36:55 +01:00
Translation updater bot 473e138b6f Localisation updates from https://translatewiki.net.
Change-Id: I9c136796ddf2b44b3173d4b410bace1ee908fd23
2020-11-10 08:42:43 +01:00
Cindy Cicalese 45907dc7d4 Make extension data JSON-serializable #2 - write JSON.
Switching ParserCache to JSON serialization requires
extensions to stop writing non-JSON-serializable objects
into ParserOutput::setExtensionData.

This should be deployed at least 1 train after dependencies.

Bug: T266252
Change-Id: I24dfbcff47b6a317d9928fda8c70da64f2d6bc82
2020-11-09 19:48:47 +00:00
Translation updater bot b9f334f8b9 Localisation updates from https://translatewiki.net.
Change-Id: I566587b60d2310bfff45b075d35b920abd2c09a4
2020-11-09 08:35:50 +01:00
Translation updater bot f6999aff96 Localisation updates from https://translatewiki.net.
Change-Id: I5dfc85fe818e8515bf71cd5bdc32486416a2b61b
2020-11-06 08:34:44 +01:00
jenkins-bot 4a2a36409a Merge "Change the value of 'template-doc-param-type-wiki-page-name' from "Page" to "Page name"" 2020-11-05 14:49:52 +00:00
libraryupgrader 2d6c576b16 build: Updating mediawiki/mediawiki-codesniffer to 33.0.0
Additional changes:
* Dropped .inc files from .phpcs.xml (T200956).

Change-Id: Ib6fc0608d7f7aedc792e5b86e0ffdafa42680759
2020-11-04 13:50:00 +00:00
jenkins-bot 5b011b7829 Merge "Apply bucketing to query sizes stats" 2020-11-04 00:07:38 +00:00
daniel dd81de53d7 Apply bucketing to query sizes stats
Change-Id: I921e5bec971fac1303b26322bb0898016c251bea
2020-11-03 20:31:01 +01:00
Translation updater bot ab824ebb7c Localisation updates from https://translatewiki.net.
Change-Id: Ie6cfed275c326ce3a85a18867737712a0cffe952
2020-11-03 08:45:13 +01:00
daniel 9a85a1b67e Add logging for parser cache misses.
This should help us decide whether it would be OK to
rely on the ParserCache to store parsed TemplateData.

This patch should be reverted once we have collected
the desired data.

Bug: T266200
Change-Id: I0631806145d46e4a5e7c177797b8fdfe7a152076
2020-11-02 22:18:38 +01:00
Translation updater bot aa9f53d0e4 Localisation updates from https://translatewiki.net.
Change-Id: I5bb8efaabf0c4ee9fc05c98fd21e962379b2d41c
2020-11-02 08:53:56 +01:00
jenkins-bot 5edb1fd72a Merge "Make extension data JSON-serializable #1 - forward-compat." 2020-10-30 17:56:20 +00:00
Cindy Cicalese b10862a333 Make extension data JSON-serializable #1 - forward-compat.
Transitioning of ParserCache to JSON serialization will add
a requirement that all the extension data is JSON-serializable.

This is the first step in transition - making it forward-compatible.

Bug: T266252
Change-Id: If1c9d9bb5b0039df80a9d9b30c247206d8844c0a
2020-10-30 12:33:20 -04:00
Translation updater bot b760f5db69 Localisation updates from https://translatewiki.net.
Change-Id: I6a5a562c6b4b19924f1ec371e71f33e637cadf56
2020-10-26 08:32:16 +01:00
Translation updater bot cfb65f8d98 Localisation updates from https://translatewiki.net.
Change-Id: If2b838ba59a451b6c49c0c97d87c0262c18a0a7b
2020-10-21 08:27:57 +02:00
Translation updater bot e2618abdc4 Localisation updates from https://translatewiki.net.
Change-Id: I7447ef23e46636a7b08ad179784e77e3dd097e02
2020-10-16 08:29:54 +02:00
diwanshu885 957b52736d Change the value of 'template-doc-param-type-wiki-page-name' from "Page" to "Page name"
Bug: T250292
Change-Id: If3f2a0d6cd1d7bfa91d6a0d63b9f185f2eec770d
2020-10-13 16:44:32 +05:30
Translation updater bot 3ab53de1ab Localisation updates from https://translatewiki.net.
Change-Id: If8aecbb711132f4d38a06437e1bf91138c40dfb7
2020-10-12 08:36:09 +02:00
jenkins-bot 2a477094b9 Merge "Add progressive flags to various buttons" 2020-10-09 14:38:33 +00:00
Thiemo Kreuz c36cdcf862 Fix @covers tags in TemplateDataBlobTest
There is gzip-related code in this test, i.e. it is testing
the …Compressed… subclass as well.

Change-Id: I26c011be318427143a7d527f9f51f5c32c1e4fd3
2020-10-08 11:12:13 +02:00
jenkins-bot bb8e099e4a Merge "Remove unused "changesBooleanValue" property" 2020-10-07 17:04:52 +00:00
jenkins-bot 27e9916941 Merge "Use OutlineSelectWidget/OutlineOptionWidget for maps editing" 2020-10-07 10:06:55 +00:00
jenkins-bot 86a6865512 Merge "Fix parameter extraction from wikitext source" 2020-10-06 23:07:23 +00:00
jenkins-bot a0f98a1ea4 Merge "Also add padding to add parameter panel" 2020-10-06 23:02:38 +00:00
Marielle Volz 8a4e0ec984 Also add padding to add parameter panel
Follow up to Ica6bed595d8

Change-Id: I43d76ac256f18b69b556eadf5a53c20698cd860d
2020-10-06 09:37:09 +01:00
Ed Sanders c61049b8e3 Add progressive flags to various buttons
* Add '+' icon to "Add parameter" footer action
* Add "primary" action to button on add param page

Change-Id: Idc5f83afdbffb2336c6949fcd16a08a00e28a1a3
2020-10-06 08:26:43 +00:00
Ed Sanders 91214f0a6f Use OutlineSelectWidget/OutlineOptionWidget for maps editing
Change-Id: I90ab11c9a0941e8a487a7253d69f0a6cb1dc8dc5
2020-10-05 21:04:44 +00:00
Ed Sanders a990bcfc54 Move sub-page warning to dialog when opened
This is an important warning, and should not just be hidden.

Instead show it in the dialog as well in case the user ignored
it on the edit page.

Change-Id: If6f2d4b15157096a915186921d767a860edbc86a
2020-10-05 19:37:59 +01:00
Ed Sanders 39ba318938 Use MessageWidgets instead of LabelWidgets in Dialog
Change-Id: Ia9c34f446d4af7c2f56903ee83b6a57c4ef100dd
2020-10-05 19:37:59 +01:00
jenkins-bot e729bc7d84 Merge "Use a MessageWidget for the sub-page warning" 2020-10-05 14:48:20 +00:00
jenkins-bot e00962d7bf Merge "Remove default padding from panels, uses padded:true/false instead" 2020-10-05 14:07:29 +00:00