Commit graph

1384 commits

Author SHA1 Message Date
Translation updater bot 7b1d0605de Localisation updates from https://translatewiki.net.
Change-Id: I5ccb211abfdd02bf703a9c00c86a659256cb62b5
2019-12-16 12:15:28 +01:00
Translation updater bot b219a159b1 Localisation updates from https://translatewiki.net.
Change-Id: I0207810ba9b2635d8bdef492742529305b3619a0
2019-12-06 09:34:43 +01:00
jenkins-bot ce1cf9a962 Merge "templateDataGenerator: Fix off-by-one error when inserting new tag" 2019-12-02 16:39:30 +00:00
Translation updater bot bedb2bd182 Localisation updates from https://translatewiki.net.
Change-Id: Ie6c6c663e6983079a856f7b26677bf795265a966
2019-12-02 09:23:53 +01:00
Bartosz Dziewoński 2b8e39a278 templateDataGenerator: Fix off-by-one error when inserting new tag
There should not be a `- 1` here. It was kept in the refactoring in
34924e0a0b, but it should have been removed.

Also simplify the entire expression to just `matches.index`, which is
equivalent and easier to understand. We already use `matches.index` above.

Bug: T239445
Change-Id: I9cbeaabd50fb595c0ff622b86ce3870285e5b7c8
2019-11-28 21:39:32 +01:00
Subramanya Sastry 956367fb90 Implement ParsoidFetchTemplateData hook for Parsoid/PHP
* This hook supports functionality that Parsoid/JS used the MW API for.

  Parsoid's html2wt code requests templatedata for titles one
  at a time currently and so this hook also supports lookups one
  title at a time.

  This initial implementation is good enough for initial Parsoid/PHP
  deployment.

* As part of later performance optimization, we should figure out if
  we want to fetch templatedata for all templates in batch mode and
  work out the details (selser doesn't touch all templates, for one).

  The hook does accept an array of titles, but it looks them up
  serially in a simple for-loop.

  Separately, we need to resolve if this is better architected as
  a lookup service vs. a hook as it is now (see discussion on gerrit).

* Tested locally on my local wiki.

Bug: T238954
Change-Id: I01fb6a9f334ca37a703be497524180f87fb8bbf7
2019-11-25 11:09:13 -06:00
Translation updater bot 06adf70c0c Localisation updates from https://translatewiki.net.
Change-Id: I92b4c328900793dddddd0ead0a4033276f304ca3
2019-11-20 09:38:38 +01:00
Translation updater bot 722df8939b Localisation updates from https://translatewiki.net.
Change-Id: Ied2ceb305d1ef59a7c0411485f0fcdd553f35e19
2019-11-11 15:33:31 +01:00
Translation updater bot 795e195944 Localisation updates from https://translatewiki.net.
Change-Id: Ida5d1dbc64c57ec73090c41860b26f727ee34275
2019-11-08 09:48:39 +01:00
Umherirrender 5b461fe29c build: Updating mediawiki/mediawiki-phan-config to 0.8.0
Bug: T235049
Change-Id: Ifb8164db659742c4747343b047c28eed8b230532
2019-11-05 16:58:58 +01:00
Translation updater bot 883d945cfd Localisation updates from https://translatewiki.net.
Change-Id: I8ca0cb1beaec5e7e64f53a0fdacbb7f8f037110b
2019-11-05 09:46:53 +01:00
Translation updater bot db717fd7f7 Localisation updates from https://translatewiki.net.
Change-Id: I4a72151421e61280979f9cf6ca99d29796f4c46d
2019-10-25 09:19:30 +02:00
Translation updater bot dad1c1568d Localisation updates from https://translatewiki.net.
Change-Id: I85f75ad9cdeb3752519bcb8243fafe3efd6b5954
2019-10-24 10:48:18 +02:00
Translation updater bot 1d78f9ae25 Localisation updates from https://translatewiki.net.
Change-Id: Ida27f37f5340eb302723c438dc30d7e6a59f6f3c
2019-10-16 20:41:59 +02:00
Translation updater bot 50c8663e56 Localisation updates from https://translatewiki.net.
Change-Id: Ica0e34f2c69ae5cc7b6b9e72e5f4da06863428f0
2019-10-16 10:41:16 +02:00
James D. Forrester c88aed986c build: Upgrade mediawiki-codesniffer to v28.0.0
Change-Id: I39190ff2056c24184f128eba71d619fc748b0ca5
2019-10-11 12:04:42 -07:00
Translation updater bot 20534a9909 Localisation updates from https://translatewiki.net.
Change-Id: I39f336ef86c48dc1454fbadb8237038da64188c4
2019-10-10 09:33:44 +02:00
Translation updater bot e6f4708308 Localisation updates from https://translatewiki.net.
Change-Id: I73fbc4f5f29b0cc73a36fbeeed3c9ac59ae45a2d
2019-10-08 09:34:28 +02:00
Translation updater bot b9ccaf626e Localisation updates from https://translatewiki.net.
Change-Id: I1847d031ec21e6314ccc0e8ce92f07cb5ce5d1bb
2019-10-01 09:26:17 +02:00
jenkins-bot 2aeec4610d Merge "Do not always store template data compressed" 2019-09-30 23:56:21 +00:00
saper ce13175017 Do not always store template data compressed
Only MySQL can handle blobs in page_props.pp_value

Bug: T203850
Change-Id: Ie20d412d89855e451d48f7656d97fb305b1c4c55
2019-09-30 14:24:39 +02:00
Translation updater bot a65247f405 Localisation updates from https://translatewiki.net.
Change-Id: I51a390458acecae98136760f2eb3bbee8633cc16
2019-09-26 09:15:18 +02:00
Translation updater bot b06fe10b3d Localisation updates from https://translatewiki.net.
Change-Id: I1675a360a33c789978d793e5110debe88471600d
2019-09-16 09:57:17 +02:00
Timo Tijhof b87d37f482 Merge 'ext.templateDataGenerator.ui.images' into 'ext.templateData.images'
Only ever used together as dependencies for module
'ext.templateDataGenerator.editTemplatePage'.
In the UI, they provide icons for the same dialog.

The 'ext.templateData.images' module is also used in one other place,
via addModuleStyles() on NS_TEMPLATE pages that use <templatedata>.

The 'template-format-block' and 'template-format-inline' icons
are used by the Parser output HTML for the documentation block.
Having one unused icon there, preloaded for editing templatedata,
seems acceptable given it's so tiny and basically was already being
paid for on page views with the mere existence of the module taking
up about as much space as the icon itself.

Change-Id: If839100feca51d67bba7151878dfddd1bcbc372b
2019-09-13 03:12:42 +01:00
Timo Tijhof 8f35430bd7 Merge 'ext.templateDataGenerator.ui' into 'ext.templateDataGenerator.editTemplatePage'
Change-Id: I3357618f95f4baeb27013b9d753a3f99cba3847e
2019-09-12 23:20:22 +01:00
Translation updater bot d0a4f2091d Localisation updates from https://translatewiki.net.
Change-Id: I18b6ebb338d51cab0dd6cd1dead6a981abcb19b9
2019-09-04 10:15:33 +02:00
Translation updater bot f6fa145de1 Localisation updates from https://translatewiki.net.
Change-Id: Ib3337fee62ec75c218270081496cf16232bc0617
2019-09-03 10:30:25 +02:00
Translation updater bot 936eb09546 Localisation updates from https://translatewiki.net.
Change-Id: I7fcf326d3a64111f7153ffe99abe49e2b317edbf
2019-09-02 10:20:46 +02:00
DannyS712 313d627774 Use Special:MyLanguage in API help links
Bug: T231269
Change-Id: I2ba71ea4f777ee72e649a8db9e211229f6584e63
2019-08-27 06:44:14 +00:00
Translation updater bot 5283470ca8 Localisation updates from https://translatewiki.net.
Change-Id: Icb1152f2f650b36921cdc4af36a9f98a7e58aa81
2019-08-25 10:32:01 +02:00
libraryupgrader c65f2c14fd build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I8ae786e349decc83d4d4011309b3ecf64e84a0ef
2019-08-23 05:56:32 +00:00
Translation updater bot b8748e8ec2 Localisation updates from https://translatewiki.net.
Change-Id: Ifa5a7cb82eafa2d05e90446472ff5598087bfca6
2019-08-20 10:27:01 +02:00
Translation updater bot 345e916beb Localisation updates from https://translatewiki.net.
Change-Id: I9ef2f983f9d734c3914553e0ab7df9614fd78fba
2019-08-14 09:16:17 +02:00
Translation updater bot 709aa0ad05 Localisation updates from https://translatewiki.net.
Change-Id: I45d554ebfd7e888fcc59335c94b58f809f60ce3b
2019-07-27 09:31:07 +02:00
libraryupgrader f273d15484 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: If689d7e537f7eb6d824af41e110c2700e5a87639
2019-07-16 02:39:04 +00:00
Ed Sanders cc8b0b5e2f Set back/close flags on dialog
Change-Id: I4a687495327b37ba96809cc927f1d9020ef797e8
2019-07-11 14:46:30 +01:00
James D. Forrester 9366ac1827 build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1
Change-Id: I4e31ec62531ffdf4147fb3dbadaef2ce1fc68569
2019-07-09 14:18:15 -07:00
Translation updater bot 560ab38ca6 Localisation updates from https://translatewiki.net.
Change-Id: I438f7a4fa57b14e6a2e189b65f53e683dc562f63
2019-07-07 22:41:35 +02:00
Translation updater bot ad4676a035 Localisation updates from https://translatewiki.net.
Change-Id: I0d2cd8f70b0d3d6a9a758b370a190086565afdfa
2019-07-03 22:46:28 +02:00
Translation updater bot 684d236602 Localisation updates from https://translatewiki.net.
Change-Id: I836ba47ac239fe543f0f80b296b5a12c74ab871d
2019-07-01 22:29:59 +02:00
Translation updater bot e4df8f0220 Localisation updates from https://translatewiki.net.
Change-Id: Ifbfe8aa1e2b5c13f295fc48fd750e1d93580ef66
2019-06-30 22:39:38 +02:00
Translation updater bot 61ebbdd068 Localisation updates from https://translatewiki.net.
Change-Id: I8f8f14d66398bffe6e76cc47d224b1cd9d3e0ae3
2019-06-24 08:39:57 +02:00
Translation updater bot a2dbbd559c Localisation updates from https://translatewiki.net.
Change-Id: I4cc5dc7b6e4531e1583e12f49081de20237e54ad
2019-06-17 22:34:17 +02:00
Fomafix 962a84ed82 Preload tablesorter styles by module 'jquery.tablesorter.styles'
This change avoids the flash of missing sorting buttons while loading,
but only with I0b446d18f47428d8c0c4aed78b75de16fe106218 in MediaWiki
core included in MediaWiki 1.33 or higher.

Depends-On: I0b446d18f47428d8c0c4aed78b75de16fe106218
Change-Id: I2c3eeb3a83822798ae0c46fcfea071df706798d7
2019-06-12 07:37:10 +02:00
Fomafix b56cba7d18 Use MediaWikiServices instead of $wgContLang
Bug: T200246
Change-Id: Ic4f08ccb50c7a92a34b6a70c7b726825ba07fd45
2019-06-12 06:40:01 +02:00
Translation updater bot 560d835a04 Localisation updates from https://translatewiki.net.
Change-Id: I16807fa5c85f18e7e9ec75dd0018e05eabe46931
2019-06-10 22:55:53 +02:00
libraryupgrader 6f8f9a7a0c build: Updating mediawiki/mediawiki-phan-config to 0.6.1
Change-Id: I073a296eeea13a18188adf31fb2b903e622d1753
2019-06-10 11:45:32 +00:00
libraryupgrader dc4a4288c7 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I2629a209a541220730ba9aee9f1436edb7a9cbce
2019-06-09 00:52:41 +00:00
James D. Forrester ecab0b8dbb build: Upgrade mediawiki/mediawiki-phan-config from 0.5.0 to 0.6.0
Change-Id: I5d1e3bde15fb951f7dc8ee7d753b090a12661e3c
2019-05-19 18:42:33 +02:00
jenkins-bot 2284a41e61 Merge "tdDialog: handle name/alias swaps" 2019-05-09 15:39:20 +00:00