Commit graph

4705 commits

Author SHA1 Message Date
Ed Sanders 65d47f53b5 Fix transaction tests
Change-Id: I215c1b060d0758e669b62ba27db96ece56bff2f0
2018-02-24 19:24:11 +00:00
Thalia 900e7d6c8b Define getHashObject for reflist node
This will stop us from showing meaningless diffs (eg
setting responsive to whatever the default already was).

Logically depends on 13a3d0527f.

Change-Id: I0c6a3385d9a493c3854975607cd75d2bf8c1e990
2018-02-24 17:33:19 +00:00
jenkins-bot b2c8658079 Merge "VisualEditor: Describe reflist responsiveness changes too" 2018-02-24 12:42:14 +00:00
jenkins-bot a709ac16b9 Merge "VisualEditor: Use reflist diff i18n for reflists and ref ones for refs" 2018-02-24 11:26:38 +00:00
Translation updater bot ec083bc58a Localisation updates from https://translatewiki.net.
Change-Id: Ia43cadecaac365fba981e54b2a98cd510df8176e
2018-02-23 23:01:21 +01:00
James D. Forrester 43344b56b0 VisualEditor: Describe reflist responsiveness changes too
Bug: T160589
Change-Id: Idb590bf0f3edbe8d056f544a148323da30211467
2018-02-22 16:01:46 -08:00
James D. Forrester be1f7c0b74 VisualEditor: Use reflist diff i18n for reflists and ref ones for refs
Change-Id: Ieb3f1a30c1777f11a7334423156df4c9fdb9d79f
2018-02-22 16:00:36 -08:00
Translation updater bot 78034f1720 Localisation updates from https://translatewiki.net.
Change-Id: Ic0e6356ee8daee2ba515aa40db8b95bccf253ea3
2018-02-22 23:21:45 +01:00
C. Scott Ananian 6668c45947 Improve jsdoc
Lots of doc comment tweaks to better match JSDoc standards.  Also use
the latest version of jsdoc-wmf-theme.

Change-Id: I9bf4f22b292b9cff0ad926f31005bccc7c89cbdb
2018-02-22 14:16:58 -05:00
Translation updater bot df166f11cd Localisation updates from https://translatewiki.net.
Change-Id: Ia2249c1e26d59049149b6a3fb15da8252b471c0d
2018-02-20 22:28:45 +01:00
jenkins-bot 7edc9ea467 Merge "Avoid jQuery.parseHTML" 2018-02-20 00:49:56 +00:00
Translation updater bot ffa439be67 Localisation updates from https://translatewiki.net.
Change-Id: I1b9fa0e86e3b447cf8696c87ff88dfdb73ee58c2
2018-02-19 22:25:21 +01:00
Ed Sanders caaa3551c4 Avoid jQuery.parseHTML
Bug: T187713
Change-Id: I1fd569ba0624d8d25c5ac89d35c27b1bdc2397a7
2018-02-19 12:20:21 +00:00
Translation updater bot 762f48e560 Localisation updates from https://translatewiki.net.
Change-Id: Iba37a09d111c2b4fd4e48f2634ebdf63f53fe237
2018-02-18 22:40:13 +01:00
Translation updater bot e62c0d34e9 Localisation updates from https://translatewiki.net.
Change-Id: Ifadd4418e9c70b0aa3201745b98bb65c2ca7ac6d
2018-02-17 22:27:21 +01:00
libraryupgrader b4a59a8b82 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ifb73948ae29037fa480f57e9f18339ca32f1231a
2018-02-17 19:24:59 +00:00
Arlo Breault ab3f062098 Upgrade eslint
Then changes here were made by running `npm run eslint-fix`

Change-Id: Ifb623af610cadc4200b34b52af41c9fa29856b6b
2018-02-17 09:08:32 -05:00
C. Scott Ananian fd719e02e2 Use Promise.async/yield in lib/ext/Cite
Change-Id: I08458b0083de8d9aec9673af7f08c4b2e25112e5
2018-02-16 23:21:09 +00:00
jenkins-bot 51a831cc02 Merge "Set phan-taint-check-plugin version in composer.json" 2018-02-16 22:18:31 +00:00
Kunal Mehta a20c4b20da Set phan-taint-check-plugin version in composer.json
We cannot set this in the normal "require-dev" because the plugin
depends on exactly PHP 7.0, preventing running tests on any other PHP
version.

Instead, CI will read the version number out of the "extra" field to
figure out what version to install.

Bug: T187497
Change-Id: I2e9c1c24e3a78132e71dabd045d7e1a509c3efa5
2018-02-16 13:40:15 -08:00
Translation updater bot e6fd02c6e3 Localisation updates from https://translatewiki.net.
Change-Id: I4a8cdd03d3ae9f1e72c32251164b8793e0f8beed
2018-02-16 22:28:56 +01:00
Translation updater bot eaa6f45b67 Localisation updates from https://translatewiki.net.
Change-Id: I8413c5ce24d6a4a27184ddbb9a65cbd74ef8dec1
2018-02-15 22:47:02 +01:00
Ed Sanders f739008cbd Render reference list from originalDomElements until modified
This helps on wikis where there are no real refs because they
are template-generated, and is a performance improvement elsewhere
as re-rendering long ref lists can be slow.

Bug: T187495
Change-Id: I47a9206ff7ee61f8fd716dc7658b8bfad927f656
2018-02-15 21:20:16 +00:00
Kunal Mehta a068a3a379 Migrate to mediawiki-phan-config
Change-Id: I463500bf14e15a9127d02d5d7104ea4571dc9a30
2018-02-15 12:38:56 -08:00
libraryupgrader 0695918d6d build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I3de8920b2dc503378da63b14180caca14e1932b2
2018-02-15 09:10:31 +00:00
Translation updater bot 159394c792 Localisation updates from https://translatewiki.net.
Change-Id: Iaf070ce6157fe11d0d80ba127f11f7848e4320a5
2018-02-14 22:30:23 +01:00
jenkins-bot fef23508e8 Merge "build: Bring SVGO optimization to build step" 2018-02-14 18:47:09 +00:00
Translation updater bot 0a0d3ec0bf Localisation updates from https://translatewiki.net.
Change-Id: I079955f488099545bd4211897a6fbfa9f0d38d89
2018-02-13 22:25:18 +01:00
Ed Sanders 8e5ae11be0 Create first unit test for reference diffs
Depends-On: Ia34b535c34aeed933164a18a0be76d7c0ac28bc6
Depends-On: Ic70bd3e8ba090c2d174164fd1ecebdf6f2225254
Change-Id: Ib8b485663dea6fcc50c0197451d0a553e5d89c27
2018-02-13 19:22:58 +00:00
Volker E e3007e9484 build: Bring SVGO optimization to build step
Enabling SVGO automation with 'grunt-svgmin' and conservative
plugin settings to build step, among those:
- enable removeRasterImages and sortAttrs,
- disable cleanupIDs, removeDesc, removeTitle, removeViewBox &
  removeXMLProcInst and
- make use of pretty and multipass options.

Also updating SVGs accordingly.

Bug: T185596
Change-Id: Iec947431b3549e9f1fa1eaba58340aef96c0647b
2018-02-12 10:05:27 -08:00
Translation updater bot 0c8d05839a Localisation updates from https://translatewiki.net.
Change-Id: I08ad2fdf28da52a0f8a8f5cc8e57822a397ec2eb
2018-02-12 09:23:32 +01:00
Translation updater bot 7d9ffec6b5 Localisation updates from https://translatewiki.net.
Change-Id: I2396e7c064efc8cc81dfad8716ab4c5da5310e7f
2018-02-11 10:42:00 +01:00
Translation updater bot 3c0d0449e2 Localisation updates from https://translatewiki.net.
Change-Id: Ie767cff86a26feac5efe0bfe25b694944d776100
2018-02-10 09:15:11 +01:00
C. Scott Ananian 8713e6cb55 Replace .bind(this) and var self = this; with arrow functions.
Arrow functions don't redefine `this`; they are supported in node >= 4.

http://node.green/#ES2015-functions-arrow-functions

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions

Change-Id: I03790eaa790b00194d137eef397371d63f242ac1
2018-02-09 14:56:48 -05:00
Translation updater bot e1a2d06d94 Localisation updates from https://translatewiki.net.
Change-Id: I336e3ea2920edb3158ea007ac4e3af65516ab1f0
2018-02-09 09:41:06 +01:00
jenkins-bot 7554c3688b Merge "Treat template-generated reference lists as real ones" 2018-02-08 17:58:07 +00:00
Ed Sanders 495d9420f0 Treat template-generated reference lists as real ones
This will allow them to auto-update, and be used in the
visual diff.

We record a templateGenerated attribute to prevent them
being edited, and to ensure they roundtrip back to
templates.

Bug: T52769
Change-Id: I4460d2c98166581e942e35921b20091990f5f6c7
2018-02-07 10:48:57 +00:00
jenkins-bot 33c46cbd17 Merge "Focus references list dialog group input" 2018-02-06 22:22:11 +00:00
jenkins-bot 84c423ac0c Merge "Render ref list from CE node when converterting for clipboard" 2018-02-06 22:19:42 +00:00
Translation updater bot 83df2f4436 Localisation updates from https://translatewiki.net.
Change-Id: I763f675e46e69bf48513146df864382fdcb62b1b
2018-02-06 22:35:22 +01:00
Thalia f2bbd5231b Focus references list dialog group input
Bug: T186640
Change-Id: I0c3bea3885c05ba2034cbe26626277640e7b5509
2018-02-06 20:58:27 +00:00
Ed Sanders f1d1cf38f5 Render ref list from CE node when converterting for clipboard
Bug: T186407
Depends-On: Iee635eaf42e3780da4e46e3c0f12417aa331655b
Depends-On: I1500f42dc0bf761f495e25c2d3d047157292df7d
Change-Id: Ia3b2549eb246fc0af56446a7d6a32ec0f54f4099
2018-02-06 16:47:07 +00:00
jenkins-bot 9ecb7af8b4 Merge "build: Update linters" 2018-02-05 01:08:37 +00:00
Translation updater bot 9a6fd5eee7 Localisation updates from https://translatewiki.net.
Change-Id: I5594686fd7d10fb2ac7590d464e0c084bdea44ad
2018-02-04 22:43:26 +01:00
Ed Sanders 2992edc996 build: Update linters
Change-Id: I473dec2bb64ce2242eaf7bbb4cc42ac767716ae0
2018-02-04 21:22:04 +00:00
Bodhisattwa e00576f24a Removed deprecated position statements from resource loader module
Bug: T184257
Change-Id: I3aa850a4c492f6c927a32f12652cc319bf22ea92
2018-02-02 19:44:31 +00:00
Translation updater bot 5bd2890a72 Localisation updates from https://translatewiki.net.
Change-Id: I40557602a5e20bf8338ee10e48443fb3c335b8da
2018-02-01 22:29:59 +01:00
Arlo Breault c60d8f6078 Rethink responsive references wrappers
Emit them earlier (before post-processing) so that attributes don't need
to be migrated.

Bug: T181408
Change-Id: I2b5c7ff552b3322be74f79a81936c41d58fecabc
2018-02-01 17:53:30 +00:00
Translation updater bot 127f285272 Localisation updates from https://translatewiki.net.
Change-Id: I7bf8db0cf79ca0dec5250b703e907d8dc5fc48af
2018-01-31 22:19:53 +01:00
Translation updater bot 48560adb8d Localisation updates from https://translatewiki.net.
Change-Id: Ie91c0df9c17a15d3447475bf5aabec5a6be717d5
2018-01-30 22:16:29 +01:00