Commit graph

625 commits

Author SHA1 Message Date
jenkins-bot fd0c0af947 Merge "Ensure the DOM returned by toDomElements doesn't change" 2018-03-05 17:14:10 +00:00
Ed Sanders 3590446c2c Fix detection of template-generated ref lists
Bug: T188898
Change-Id: I77333323d8e6a324b1655c10c94ae397aad241b3
2018-03-05 16:11:03 +00:00
Translation updater bot e563b4fb90 Localisation updates from https://translatewiki.net.
Change-Id: I8e2b57870945e66200c943824e70efe34f621640
2018-03-03 22:25:10 +01:00
Ed Sanders 1a3566b203 Ensure the DOM returned by toDomElements doesn't change
By leaving the viewNode around, it would update itself later
(due to updateDebounced in the constructor), which would
modify $reflist, even though the caller was expecting
this to be some finalised DOM sub-tree.

Change-Id: Ia89a98556af26986f8362f5b352378cc321b6345
2018-03-03 18:58:33 +00:00
Translation updater bot a4f43ad7bf Localisation updates from https://translatewiki.net.
Change-Id: I6a066316059f1e6096a288716987d6d375e89f93
2018-03-02 22:30:53 +01:00
Translation updater bot 858c5b665c Localisation updates from https://translatewiki.net.
Change-Id: I6756a8baf27a02046feb073f38b1a7db0dcd5eea
2018-02-28 22:27:14 +01:00
Ed Sanders e8dd5fed93 MWReferencesListNode: Guard against run-after-teardown
Change-Id: Icea7580d04d7093ab2b27b2d757e625d7559b94c
2018-02-28 17:35:53 +00:00
Translation updater bot b929001479 Localisation updates from https://translatewiki.net.
Change-Id: I27812a0e9beb637aa9739fea1fa899b8ba4198c4
2018-02-26 22:20:18 +01:00
jenkins-bot 1881fff06b Merge "Render reference list from originalDomElements until modified" 2018-02-26 17:22:26 +00:00
L10n-bot 9944a5210c Merge "Localisation updates from https://translatewiki.net." 2018-02-25 21:35:21 +00:00
jenkins-bot b61e827747 Merge "Define getHashObject for reflist node" 2018-02-25 21:35:21 +00:00
Translation updater bot d14535ef35 Localisation updates from https://translatewiki.net.
Change-Id: I0814629ca712438babfcc2b5b5b978c0cb9ebb0e
2018-02-25 22:33:48 +01:00
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
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
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
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
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
Ed Sanders 2992edc996 build: Update linters
Change-Id: I473dec2bb64ce2242eaf7bbb4cc42ac767716ae0
2018-02-04 21:22:04 +00:00
Translation updater bot 5bd2890a72 Localisation updates from https://translatewiki.net.
Change-Id: I40557602a5e20bf8338ee10e48443fb3c335b8da
2018-02-01 22:29:59 +01:00
Translation updater bot 48560adb8d Localisation updates from https://translatewiki.net.
Change-Id: Ie91c0df9c17a15d3447475bf5aabec5a6be717d5
2018-01-30 22:16:29 +01:00
Translation updater bot 8580d41a81 Localisation updates from https://translatewiki.net.
Change-Id: Iaf7a80f14a34389fe8f44de033e908feba6d8fe4
2018-01-29 22:19:47 +01:00
Translation updater bot 720f9dd58b Localisation updates from https://translatewiki.net.
Change-Id: Ib40d9ed41ea12e0ee1cd5ee8e65f9c55b038420e
2018-01-26 22:36:28 +01:00
Translation updater bot 1854db1134 Localisation updates from https://translatewiki.net.
Change-Id: I6d251b9ca2737ba6b52e44bbc40ca15ff7eef32b
2018-01-24 22:20:41 +01:00
Ed Sanders dd2aeb641d Remove metadata from unit tests
Metadata is being removed from VE.

Change-Id: Icc614ed7a9792b7d9475d7a804bb8eea48424043
2018-01-22 14:31:44 -08:00
Translation updater bot ccc1773239 Localisation updates from https://translatewiki.net.
Change-Id: I1577626c26f00b644c13e86da334482505994204
2018-01-22 22:18:16 +01:00
Translation updater bot b31958be24 Localisation updates from https://translatewiki.net.
Change-Id: Iad38633350c5b217e6e18a477709d076b60501e3
2018-01-20 14:42:26 +01:00
Translation updater bot 98f5e4db08 Localisation updates from https://translatewiki.net.
Change-Id: Ica501d8df31d8cd39c19b220d6c03ef650563bd6
2018-01-17 22:45:36 +01:00
Translation updater bot 26ac62b78c Localisation updates from https://translatewiki.net.
Change-Id: I7531e624c4c870bdec685b57db075ac07b23a9c0
2018-01-16 22:49:18 +01:00
Translation updater bot 1cc3aadf2e Localisation updates from https://translatewiki.net.
Change-Id: Ic8a455f8f64dc17a4005a4b7b92ee0facd74c3c1
2018-01-14 22:16:56 +01:00
zoranzoki21 288226aba5 Replace "getSelectedItem" with "findSelectedItem" for consistency
Bug: T184037
Change-Id: Ie4b191ba55cf1cf1300182e056a5a4901c18d583
2018-01-10 11:51:25 +00:00
Translation updater bot d76800c613 Localisation updates from https://translatewiki.net.
Change-Id: Iea68ad814428c186acf36da2dda8d406d875b8fa
2018-01-08 22:35:33 +01:00
Translation updater bot ae9bffe762 Localisation updates from https://translatewiki.net.
Change-Id: I38a2f7c38cb27a23703ed79bf719b1aae7da0973
2018-01-06 09:13:52 +01:00
Translation updater bot 2e46398dbf Localisation updates from https://translatewiki.net.
Change-Id: Ifcdbb9ec255d60f8452fc5f992969f8f4b9693cf
2018-01-05 09:21:30 +01:00
jenkins-bot 6b1e7e126f Merge "doc: Bump copyright year" 2018-01-03 19:18:07 +00:00
James D. Forrester 0999d771b6 doc: Bump copyright year
Also make the overly-terse statement clearer.

Change-Id: I752bb82444bf7cb41480076bace42331dc35a598
2018-01-02 17:05:50 -08:00
Ed Sanders 366d44926a MWReferenceNode: Generate 'sup' tags by default
Bug: T45094
Change-Id: I8973328095f36cce2cebbf335ee7421187eedfad
2018-01-02 15:39:08 +00:00
Ed Sanders fbcd9e41df Allow mw-ref rules apply to any element
i.e. span or sub.

Bug: T45094
Change-Id: Ib3fae04300c379727aad81b2c0c2a882d8657fe0
2018-01-02 13:59:31 +00:00
Translation updater bot 9e2c5abfa9 Localisation updates from https://translatewiki.net.
Change-Id: Ieb195f0607ab8af66207ed3c9a0e4c8ca96e4652
2017-12-23 22:26:47 +01:00
Translation updater bot f3cc7166bd Localisation updates from https://translatewiki.net.
Change-Id: I8d06dbc5532e81a616323f604f3969becd85b8a0
2017-12-18 23:06:10 +01:00
Translation updater bot a48013507b Localisation updates from https://translatewiki.net.
Change-Id: Ia22461372f68a7880c52db27021f8395dd96b06e
2017-12-14 23:12:16 +01:00
Translation updater bot 4f0df71890 Localisation updates from https://translatewiki.net.
Change-Id: I570114d1cafe29ffe5166dacdd58f070b053c7d7
2017-12-11 23:38:40 +01:00
Translation updater bot a2b65a30de Localisation updates from https://translatewiki.net.
Change-Id: I753359ad4af7ba03740a0c7f58a4adba040ee158
2017-12-07 23:07:14 +01:00
Translation updater bot ed8f558748 Localisation updates from https://translatewiki.net.
Change-Id: I8477d205bb76b95620ce2af2ab08d8b1d30ed71a
2017-12-05 09:40:07 +01:00
Translation updater bot a2519d23ab Localisation updates from https://translatewiki.net.
Change-Id: I462e67bf3adfa494e7e31b4957816657669c699f
2017-12-03 22:48:13 +01:00
Translation updater bot 450789dcbf Localisation updates from https://translatewiki.net.
Change-Id: Ife0b7f2590b97fc39d9f8f6ec4ec828ba54e0f7d
2017-12-02 22:28:27 +01:00
Translation updater bot c952385d88 Localisation updates from https://translatewiki.net.
Change-Id: I44f7f2246d94cbf0ec9b5c50888e4a643fd0d693
2017-11-26 22:30:01 +01:00
Translation updater bot dd9e18e3a4 Localisation updates from https://translatewiki.net.
Change-Id: I22036ca877d08a970fdc548bac0126a0d151df92
2017-11-15 22:18:17 +01:00
Translation updater bot aebb9b586a Localisation updates from https://translatewiki.net.
Change-Id: I0a13d8c773de66f293d4b35c83cab9a0df597b47
2017-11-14 22:20:22 +01:00
Translation updater bot 923b98d82f Localisation updates from https://translatewiki.net.
Change-Id: I6bae356d0f54569f83693018d84330ad24a10749
2017-11-11 22:31:02 +01:00
Translation updater bot ef605faf84 Localisation updates from https://translatewiki.net.
Change-Id: I6554d0a23a468c0b1b1024f7c6fb0832fc944a43
2017-11-10 22:31:32 +01:00
jenkins-bot b0bae90a29 Merge "MWReferencesList: drop autoGenerated attribute if changed" 2017-11-07 21:28:20 +00:00
David Lynch d54fbf287d MWReferencesList: drop autoGenerated attribute if changed
If the user has moved the reflist away from the end of the document, or
changed any properties on it, it shouldn't be treated as autoGenerated any
more.

Bug: T153754
Change-Id: I348601952dbfcf06bfb564e4db9cac820f3b2776
2017-11-07 11:56:08 -06:00
Translation updater bot 832261ea11 Localisation updates from https://translatewiki.net.
Change-Id: Ibb660e348f13a0df784cec0358e6980e23a7e02a
2017-11-06 22:46:36 +01:00
Volker E 2b446d7bca Unify SVG markup
Align SVG markup across Foundation products by
- unifying XML declaration,
- removing unnecessary groups and ids where applicable and
- unifying whitespace.

Bug: T178867
Change-Id: I8df6cb46d85a972b9f4319565dca89fd31629cf7
2017-11-04 19:04:30 -07:00
Translation updater bot bf27c21cde Localisation updates from https://translatewiki.net.
Change-Id: Iccb6859a62d9ead72922e0a11b40363af6bf76b5
2017-11-04 22:34:38 +01:00
Translation updater bot 2665e0dcb4 Localisation updates from https://translatewiki.net.
Change-Id: I0a5ba29b4ed1e4bb380255d4a18523f49d89acb8
2017-11-03 22:23:13 +01:00
Volker E 223662791c Align colors to WikimediaUI palette ones
Bug: T179608
Change-Id: Ie37b39b17d2e183c091d2e85dc729d75adf555d5
2017-11-02 20:17:19 +00:00
Translation updater bot 4818acfe54 Localisation updates from https://translatewiki.net.
Change-Id: I2d07b52c4b4b211fae52e05037421bf6167e806a
2017-10-31 22:22:09 +01:00
Translation updater bot 57f3628f71 Localisation updates from https://translatewiki.net.
Change-Id: I2e6d2218b62378dfb30ed9465c52fbd2336c9012
2017-10-30 22:29:20 +01:00
Translation updater bot 499091f420 Localisation updates from https://translatewiki.net.
Change-Id: I4d6fe919d1718cdeaadb1956d834ed2ef07f3fce
2017-10-29 22:39:03 +01:00
Translation updater bot f67b38b7f7 Localisation updates from https://translatewiki.net.
Change-Id: Ifce4cbf83d46584eb5145c9273c62d27c25ab9cb
2017-10-27 22:17:55 +02:00
Translation updater bot 3c281d1ac5 Localisation updates from https://translatewiki.net.
Change-Id: I3e9128ac86ace474723efbb9b1a136648ac7c666
2017-10-19 23:03:23 +02:00
Translation updater bot 90b10d1e36 Localisation updates from https://translatewiki.net.
Change-Id: Iefc9fed3e665f0c3fba68213f0591348e31dbbf1
2017-10-18 22:24:33 +02:00
Translation updater bot 85098ea373 Localisation updates from https://translatewiki.net.
Change-Id: I2e1ce79f3da6fa586a20587710d180cb7a930055
2017-10-17 22:39:20 +02:00
Translation updater bot 3556fec94f Localisation updates from https://translatewiki.net.
Change-Id: I420dfeece7703c3379ffe632dbf4621f696b25da
2017-10-15 22:34:55 +02:00
Translation updater bot 3fd8344f00 Localisation updates from https://translatewiki.net.
Change-Id: If947e3bfcabadac41bc6275b9d5405044e226011
2017-10-13 22:32:20 +02:00
Translation updater bot 7ba81b0ede Localisation updates from https://translatewiki.net.
Change-Id: I273ba905bb1b4f5ff02e95bac054af7ab60b6495
2017-10-09 22:43:01 +02:00
Translation updater bot ed3fed14ab Localisation updates from https://translatewiki.net.
Change-Id: I63c6dceaa5cf0ade85b70c15e8284c54308ed03a
2017-10-05 22:32:10 +02:00
Translation updater bot 547b2e9e78 Localisation updates from https://translatewiki.net.
Change-Id: Ieac60c5c3fa65a81e61b30a7b605f11c3c7fd1ef
2017-10-04 22:32:26 +02:00
Translation updater bot 08b6694c22 Localisation updates from https://translatewiki.net.
Change-Id: I3655fcd03416eef02bd17d746c299eb3e92b2727
2017-10-02 22:44:18 +02:00
Translation updater bot 2adbc6f2e2 Localisation updates from https://translatewiki.net.
Change-Id: I1843579c8072b38511bbac363f37f82a371b95b8
2017-10-01 22:21:56 +02:00
L10n-bot 71b3710bbc Merge "Localisation updates from https://translatewiki.net." 2017-09-26 20:31:58 +00:00
Translation updater bot e8fbfe9baa Localisation updates from https://translatewiki.net.
Change-Id: I93701a44726b7d433421e5da0eaa5f3160909b4c
2017-09-26 22:31:25 +02:00
James D. Forrester 9764bbb04e Replace constructive with progressive UI flag
Change-Id: I0edfb7ad13b12a0695f6cdc4afc9afcc82265183
2017-09-26 15:35:55 -04:00
Translation updater bot bf1d4dffe4 Localisation updates from https://translatewiki.net.
Change-Id: Ie93e1a70a87d1c9f9a2520b8016524ba66ca59d0
2017-09-25 22:28:18 +02:00
Translation updater bot 8b4e488cce Localisation updates from https://translatewiki.net.
Change-Id: Ia0ab8b92fc7931ccb9bd0ffdeff88b99395dc09d
2017-09-24 22:33:10 +02:00
Translation updater bot 2d217a91d1 Localisation updates from https://translatewiki.net.
Change-Id: I38697dcf69eaf508b61f79e42a76472c93a5aff6
2017-09-23 22:30:22 +02:00
Translation updater bot 62dbdc58bd Localisation updates from https://translatewiki.net.
Change-Id: I555280994b17696a397eab35a021661ebd7c0cf9
2017-09-22 22:48:13 +02:00
Translation updater bot 3cad9ceb3c Localisation updates from https://translatewiki.net.
Change-Id: I902e23bac23797d14e458dd04eb72faac6bd041c
2017-09-21 22:33:56 +02:00
Translation updater bot 20c240037d Localisation updates from https://translatewiki.net.
Change-Id: I4bccbafcd7a4a184e074dbed81204b62f0cfb0cf
2017-09-20 22:40:20 +02:00
jenkins-bot e2ebd2352c Merge "Follow-up I1e0ae39: Set isResponsive on new ref lists" 2017-09-19 22:00:01 +00:00
Translation updater bot 065cc6a87a Localisation updates from https://translatewiki.net.
Change-Id: I3095f0d6be996c742fc3bbe372fce6f8cb32c2b6
2017-09-19 22:46:55 +02:00
Ed Sanders aad7227850 Follow-up I1e0ae39: Set isResponsive on new ref lists
Change-Id: Icd51637b28b44963eddd5d43323dbda329c6a2fc
2017-09-19 21:17:52 +01:00
Ed Sanders a3a4bd945b VE: Support 'responsive' attribute
Bug: T53260
Change-Id: I1e0ae39e8c30653b7ba0f537723a4bcd79ac3162
2017-09-19 17:03:39 +01:00
Ed Sanders a024a7d2c6 Debounce reference list updates
Ideally update wouldn't be called multiple times
for simple transactions, but this should prevent
unnecessary updates if that does happen.

Bug: T176066
Change-Id: I1e7a21c19cee7d50ca160749f243c57f2fb08bab
2017-09-18 14:08:48 +00:00
Translation updater bot 7f7206adda Localisation updates from https://translatewiki.net.
Change-Id: I5bacc17aed2867efb41b240f0db18e7de6ec3d2e
2017-09-17 22:20:15 +02:00
Translation updater bot bfc7616240 Localisation updates from https://translatewiki.net.
Change-Id: I9af82ed85fa586dd248678c42ec2c96ca5190bf0
2017-09-15 22:26:40 +02:00
Translation updater bot 0bc5bd11e0 Localisation updates from https://translatewiki.net.
Change-Id: I77f312b1f5c6f87b2bf36ecab83f5254b0de9bcb
2017-09-14 23:10:40 +02:00
Translation updater bot 6ee990a69d Localisation updates from https://translatewiki.net.
Change-Id: Ifa656e06e7b6ea20538e6d1b3a18cce814409ace
2017-09-13 22:33:12 +02:00
Translation updater bot 1fe05b9f4e Localisation updates from https://translatewiki.net.
Change-Id: I2e1a5693aeebae87a6e33d5337c4c1c145c5ab3b
2017-09-12 22:27:53 +02:00
Translation updater bot 40000ba823 Localisation updates from https://translatewiki.net.
Change-Id: I61553cec28c5a9d667069e714d128e659f1bbfb3
2017-09-10 22:20:53 +02:00
Translation updater bot 4e58934c70 Localisation updates from https://translatewiki.net.
Change-Id: I594d359f38d8cc726252baff1595d7b6a0ac8dbf
2017-09-09 22:26:52 +02:00
Translation updater bot 42cdf7c5de Localisation updates from https://translatewiki.net.
Change-Id: I32a49721a083732a5b4c355607bfdc1d031dec0a
2017-09-08 23:55:16 +02:00
Translation updater bot 7aa9ba8c85 Localisation updates from https://translatewiki.net.
Change-Id: I1203eb042d5ba6c98b386638ef5ba0c9f87739db
2017-09-07 23:17:47 +02:00
Translation updater bot 88f2174dbe Localisation updates from https://translatewiki.net.
Change-Id: I687759dbfc9e4d0af8cff2cc74fdcbf6624f4bb7
2017-09-06 22:37:22 +02:00
Translation updater bot 83f3ac5487 Localisation updates from https://translatewiki.net.
Change-Id: I6a5fb8f2096993d012d1ae731a9d82b35648b9f3
2017-09-05 22:40:22 +02:00
jenkins-bot 8b51182b13 Merge "VisualDiff: Show less information about ref nodes" 2017-09-05 13:27:38 +00:00
Thalia ed8b563add VisualDiff: Show less information about ref nodes
If a ref node is highlighted as changed because its index
has changed (e.g. because an earlier reference was inserted
or removed), describe this more elegantly.

Bug: T170235
Bug: T171377
Change-Id: I2513bb82099a92529516e4e217e61a2d0a2dd43b
2017-09-05 14:01:39 +01:00
Translation updater bot 78da064f38 Localisation updates from https://translatewiki.net.
Change-Id: I8ab67267d8ee04c315ad13cb3edb1464d0afe966
2017-09-04 22:26:54 +02:00
Translation updater bot ec431a92e7 Localisation updates from https://translatewiki.net.
Change-Id: I402cfd9516cf56f6491a66888fd3bb8e0ec24165
2017-09-03 08:50:48 +02:00
jenkins-bot dbdd7706e9 Merge "Add 'references' class to reflist node" 2017-08-28 16:55:49 +00:00
Ed Sanders cec36fed6e Add 'references' class to reflist node
On en.wiki and others, this is the class that has
the 90% font size.

Change-Id: I23aaeefb2c42643be7c0daef99cdf89132b93308
2017-08-28 17:07:52 +01:00
Translation updater bot bb5d9d4e50 Localisation updates from https://translatewiki.net.
Change-Id: Iff32aa6a20fc8fda675e5c8b40db2317420197f6
2017-08-28 11:57:33 +02:00
Translation updater bot a7bfa46f17 Localisation updates from https://translatewiki.net.
Change-Id: I5a276bfd6811d94aacdc504faf953f41b6b20398
2017-08-23 09:03:50 +02:00
Translation updater bot c7623f6c09 Localisation updates from https://translatewiki.net.
Change-Id: I8cedccae0b0f0cf86ec444b8e6644665589958c1
2017-08-22 08:40:29 +02:00
jenkins-bot 306c5eba74 Merge "ce.MWReferencesListNode: wait for content before destroying temporary view node" 2017-08-21 15:47:33 +00:00
Translation updater bot c04825e958 Localisation updates from https://translatewiki.net.
Change-Id: I8a46615690b6a63bd0d7203ba6b9648adcc51a19
2017-08-19 08:48:59 +02:00
David Lynch 05ffafc2e4 ce.MWReferencesListNode: wait for content before destroying temporary view node
Probably as fallout from the jQuery 3 update and associated promise-async
changes, `viewNode.destroy()` in the reflist preview caused problems when
adding a new reference with the generated content nodes which were actually
having to make an API call for their contents. New functions for waiting for
content generation to finish were added to core, and will defer the
destruction of the placeholder view until after it's done rendering.

Bug: T168932
Change-Id: I700bff9979a3356626aa311bfdf030da686f5878
Depends-On: Ic12973c0b46af50e0f1933137282a142f32e7de2
2017-08-16 11:47:47 -05:00
Translation updater bot fd7df1b12b Localisation updates from https://translatewiki.net.
Change-Id: I98038875feb23523bb891ca66e9d0e1fb952999f
2017-08-14 08:57:58 +02:00
David Chan 2efa23e5b5 Fix expected remove data to match actual remove data exactly
Change-Id: I0fb294265fc41015da842f7505bdedb39db7b91a
2017-08-13 11:41:30 -04:00
Translation updater bot eababab85d Localisation updates from https://translatewiki.net.
Change-Id: Icc41778dbfe94cba9f9f015b6b0189b543e44697
2017-08-08 22:40:21 +02:00
Translation updater bot f334bfc246 Localisation updates from https://translatewiki.net.
Change-Id: I0275564829d3762970479792a407daeeb20389b8
2017-08-03 22:45:16 +02:00
Translation updater bot 3b904a0cdd Localisation updates from https://translatewiki.net.
Change-Id: I2bcc19d8bb82c2727640b2acda7810b9c913363f
2017-07-31 22:38:47 +02:00
Translation updater bot 3f98c2dce3 Localisation updates from https://translatewiki.net.
Change-Id: If80ecbffa1da0d8bee0b80cf34afd36cffb1840a
2017-07-28 22:23:21 +02:00
Translation updater bot ce9c22ed05 Localisation updates from https://translatewiki.net.
Change-Id: I4f93a8f6b292c1709fb02dbb3f138f7b2adb8601
2017-07-26 22:27:07 +02:00
James D. Forrester bee8160fd8 tests: Use new QUnit 2 module hook names
Replacing QUnit.setup()/QUnit.teardown() with the already-available-
in-qunit-1.x QUnit.beforeEach()/QUnit.afterEach() methods.

Bug: T170873
Change-Id: I5bfca33c1d4d920d54c2c54b483be78c61b6d0d7
2017-07-25 23:46:33 +00:00
Translation updater bot 9730a26735 Localisation updates from https://translatewiki.net.
Change-Id: I3c7b5bba7d1ec4769059fe2a43a9461d090a2b41
2017-07-24 22:50:30 +02:00
Translation updater bot 1382660496 Localisation updates from https://translatewiki.net.
Change-Id: I9d114fb581fa82836faa459cb77cbf525a139b3a
2017-07-22 22:30:05 +02:00
Translation updater bot d581b2117b Localisation updates from https://translatewiki.net.
Change-Id: I3cd8f0e01dfa45cb172f7e0ecfea626ec03fd8c8
2017-07-21 22:29:37 +02:00
Translation updater bot 8606addf2a Localisation updates from https://translatewiki.net.
Change-Id: Ie8ed68c62d4be27726381822d4e962a471ca4d22
2017-07-20 22:37:19 +02:00
Translation updater bot 15e3d2f52f Localisation updates from https://translatewiki.net.
Change-Id: I553f2ec456da7f94e8a17d8af97196ffa1eaf6b1
2017-07-19 22:27:03 +02:00
Umherirrender 085f28a969 Run stylelint also for less file
File was added with I6f9b85cd6cfdb055692b1f537d569c158900f7c9

Change-Id: I0ec5400422c5f8dc9f38c64dc3051a512fe20afe
2017-07-18 19:44:31 +00:00
Ed Sanders 302ba7e111 build: Upgrade grunt-eslint from 19.0.0 to 20.0.0, and stylelint
Change-Id: I79a64db9ac8b41dd66e72ee0309851c966b8295f
2017-07-18 13:03:56 +01:00
Translation updater bot 64028291ec Localisation updates from https://translatewiki.net.
Change-Id: I57d3e641f34f0099277c015eae54ea0d25b687b7
2017-07-14 22:27:07 +02:00
Translation updater bot 3680f9e14d Localisation updates from https://translatewiki.net.
Change-Id: Ifcfad3c4849f97061e75e3e21d467fdd738ff3df
2017-07-12 22:55:58 +02:00
jenkins-bot 8c4ca272c4 Merge "Reduce column-width to 25em for Minerva skin" 2017-07-11 12:05:48 +00:00
Translation updater bot 520abe5370 Localisation updates from https://translatewiki.net.
Change-Id: Id33853b244a72f06e9352857f3746c3d409714cd
2017-07-05 22:20:47 +02:00
Translation updater bot f9e8154f7f Localisation updates from https://translatewiki.net.
Change-Id: Iabb0e1b15543718bdac292c6f509383cda6655c8
2017-07-04 22:26:11 +02:00
Translation updater bot 66ce478b08 Localisation updates from https://translatewiki.net.
Change-Id: I411da931decd6274e328590b7757e06780ef2c2e
2017-07-02 22:30:11 +02:00
Translation updater bot f7cb114df7 Localisation updates from https://translatewiki.net.
Change-Id: If26e61b00f2263ca4bdbae140d615984ecdd82c0
2017-06-30 23:13:11 +02:00
Translation updater bot 312deb5aed Localisation updates from https://translatewiki.net.
Change-Id: I852c5efb2ab56f40557a317dd352754d5cab812e
2017-06-28 22:42:59 +02:00
Translation updater bot 65230fbe9d Localisation updates from https://translatewiki.net.
Change-Id: I44bdceff6755a8b1c96027ee9f48ab7f21f246d3
2017-06-27 22:18:54 +02:00
Translation updater bot 13220b23aa Localisation updates from https://translatewiki.net.
Change-Id: I9a06a6e4b82d995e426d3446770fb9f78eb52958
2017-06-26 22:42:51 +02:00
jenkins-bot 8b3ca486a6 Merge "Visual diff: Show correct reference indices in diff" 2017-06-26 19:35:32 +00:00
Thalia 1a5d90b4e3 Visual diff: Show correct reference indices in diff
Bug: T162819
Change-Id: I7eec4ee12a24ff99388cc0c95a24d50f321511f9
2017-06-26 19:19:03 +00:00
Translation updater bot bc76363702 Localisation updates from https://translatewiki.net.
Change-Id: Icfab306df57e62e400cec141dcb55048762c09ff
2017-06-23 22:27:26 +02:00
Translation updater bot 4a89a8c673 Localisation updates from https://translatewiki.net.
Change-Id: Idb5546fecd638f5682e29d68753a2bd345182ab4
2017-06-22 22:45:47 +02:00
Translation updater bot d78488e355 Localisation updates from https://translatewiki.net.
Change-Id: Ib4b92cccb44b631c1cd5775bb0d6868207709b59
2017-06-21 22:36:41 +02:00
Translation updater bot 5b9230e3c1 Localisation updates from https://translatewiki.net.
Change-Id: Ie0651f5eafc1d02d44566ee6f95ab7e23f1ab49d
2017-06-20 22:36:08 +02:00
jenkins-bot 66dabf8821 Merge "VisualEditor: Add a placeholder to MWReferenceDialog to make it less awful when empty" 2017-06-20 19:19:03 +00:00
James D. Forrester 347f21d11e VisualEditor: Add a placeholder to MWReferenceDialog to make it less awful when empty
Change-Id: I086d7243127ee411ea043bf29f4d4a5ae5d657a0
2017-06-17 01:21:48 +00:00
jdlrobson bb9720edff Reduce column-width to 25em for Minerva skin
Current Minerva skin is purposely restricted to 55.8em
This means references will never be split into 2 columns as 30em*2=60em.
Dropping it to 25em would mean the CSS applies here and no more than 2
columns would ever be used to display references.

Bug: T160497
Change-Id: I6f9b85cd6cfdb055692b1f537d569c158900f7c9
2017-06-16 11:17:35 -07:00
Translation updater bot 5aebd50674 Localisation updates from https://translatewiki.net.
Change-Id: Ib67684b3421ad0afdf1d2acf0a313c1b0e406967
2017-06-13 22:23:27 +02:00
jenkins-bot d0ac407b34 Merge "Reduce column width from 35em to 30em" 2017-06-13 16:15:35 +00:00
Translation updater bot eba77bef5d Localisation updates from https://translatewiki.net.
Change-Id: Id820cd4e357d5bd8797c752ec3a5ba37fcc6b38c
2017-06-11 22:17:27 +02:00
Translation updater bot 0520b23ca5 Localisation updates from https://translatewiki.net.
Change-Id: I278c90344684e8cd03ed059e47cac36aca2af55b
2017-06-06 22:24:57 +02:00
Translation updater bot 8139d5f089 Localisation updates from https://translatewiki.net.
Change-Id: I864ac24ac5f16806bcb42ab7980913668e30128a
2017-06-05 22:53:17 +02:00
Translation updater bot 345e08d31f Localisation updates from https://translatewiki.net.
Change-Id: Ic19badbe3f7db5ecad6ef5a1b1455ad181a50eed
2017-06-03 22:26:55 +02:00
Translation updater bot b618538281 Localisation updates from https://translatewiki.net.
Change-Id: I1e7bf6694b64fe1e1d5e17b575990a77fa60b647
2017-06-02 22:26:19 +02:00
Translation updater bot 40b4900f94 Localisation updates from https://translatewiki.net.
Change-Id: Id4c2c1ed34b7c1cd4e4518d6517a7394f572b1df
2017-06-01 22:51:42 +02:00
Translation updater bot 6fe38195d8 Localisation updates from https://translatewiki.net.
Change-Id: If3b7e3e4f3eb75bb2f816a3ca7352886cbe4fd1e
2017-05-28 22:15:50 +02:00
Translation updater bot 42ca8d6d8a Localisation updates from https://translatewiki.net.
Change-Id: I8f0191c8a357abec512f46c9318d92943e54764d
2017-05-26 22:26:57 +02:00
Translation updater bot cf5d3bea55 Localisation updates from https://translatewiki.net.
Change-Id: I1add477618550418d8c4a8973ad8001664501871
2017-05-25 22:31:05 +02:00
Translation updater bot b9bba49b31 Localisation updates from https://translatewiki.net.
Change-Id: I25db26cd2c82ae461d90ae8992d30337a6669cac
2017-05-24 22:39:57 +02:00
Translation updater bot 8ae6ec2c27 Localisation updates from https://translatewiki.net.
Change-Id: I15e95bbe81abdf213b80584392bfefc03a69b65b
2017-05-23 22:43:31 +02:00
Translation updater bot 831786a556 Localisation updates from https://translatewiki.net.
Change-Id: If1701146b330f0596c2d329f3f3aed4b6f7d5c8c
2017-05-21 22:34:46 +02:00
Jforrester 9c25cd288f Merge "Revert "Update ve.ui.MWWikitextStringTransferHandler.test results for <p> wrapping"" 2017-05-21 14:33:03 +00:00
Jforrester 978b098025 Revert "Update ve.ui.MWWikitextStringTransferHandler.test results for <p> wrapping"
This reverts commit ca45349b84.

Change-Id: If4ca5fdb57fbddd0eb89aa8adf4c47a0c005e023
2017-05-21 14:09:06 +00:00
Translation updater bot da75ae0e4a Localisation updates from https://translatewiki.net.
Change-Id: Ia36ed0f7e287c0ac538ba39e85ad6c3a5e248f63
2017-05-20 22:27:51 +02:00
James D. Forrester 9a17d9342b Describe group changes for references and references lists
Bug: T160589
Change-Id: Ifccafdf08704f67027dae2703ff2ded809fb6ab7
2017-05-20 14:26:58 +00:00
James D. Forrester ca45349b84 Update ve.ui.MWWikitextStringTransferHandler.test results for <p> wrapping
Change-Id: I782d13187e30d9a871b9805ee28e8a43eae6c61e
Depends-On: Ibd21e6a78c3958db1c0ec8f0317c4c07f3fa5735
2017-05-19 19:33:11 +02:00
Nemo bis 832f787641 Revert "Localisation updates from https://translatewiki.net."
Mistaken addition of English strings as Hindi messages.
https://translatewiki.net/wiki/Thread:User_talk:Sfic/Import_of_English_strings_to_Hindi

This reverts commit 29557f0102.

Change-Id: Ib11b72582ba6d884e5eb2f12f7ef051e31bf1337
2017-05-19 09:05:23 +00:00
Translation updater bot 29557f0102 Localisation updates from https://translatewiki.net.
Change-Id: I6ea5c8c70158379dc6533057d2afa9bf8140798d
2017-05-18 22:32:01 +02:00
Translation updater bot 29aca3bd67 Localisation updates from https://translatewiki.net.
Change-Id: I824e7d73e0aa88f9bb95a046c14d21946c8bf28b
2017-05-14 22:20:41 +02:00
Translation updater bot ec8d2a5e27 Localisation updates from https://translatewiki.net.
Change-Id: Ib5dfc905016be914ae1ad793ab7c7f03b66c8f01
2017-05-13 22:22:20 +02:00
Translation updater bot 0cf2a0dbc6 Localisation updates from https://translatewiki.net.
Change-Id: I7669aeaed29941f1adde9627e56885aa08ec7357
2017-05-12 22:51:42 +02:00
Translation updater bot a47bf238b9 Localisation updates from https://translatewiki.net.
Change-Id: Ie99b5faf188959f0e1db191b3305fe840e80293c
2017-05-11 23:04:39 +02:00
James D. Forrester 490e193f7f Reduce column width from 35em to 30em
Bug: T161788
Change-Id: I9c8e0479187ff92af5207145f52bb73519cecf29
2017-05-11 12:56:34 -07:00
Translation updater bot 2ec3dbd58f Localisation updates from https://translatewiki.net.
Change-Id: Ic4e5d45af78141ae47d525cc6d2542371b82eb06
2017-05-09 22:44:07 +02:00
Translation updater bot 3566d06de0 Localisation updates from https://translatewiki.net.
Change-Id: I5c5d9e7a5cbafd790c816a385a27bb7f3307ea88
2017-05-08 22:37:42 +02:00
Ed Sanders 1dcdeae9f6 build: Update eslint to 0.4.0 and make pass
Change-Id: I9f4508345ca6dadf617e8ed0e1dd11d28fa01c79
2017-05-04 21:09:05 +00:00
Ed Sanders db1e5a5907 Remove separate stylelint config for VE
Change-Id: I94fbce9b572a08eba2c1c2290f6777fe2f465e01
2017-04-28 17:31:20 +01:00
Ed Sanders d937925367 QUnit: Remove all code for counting tests
Change-Id: Iff2ea4f957cd835ca489b0c189d1511c0409f71f
2017-04-28 16:49:43 +01:00
jenkins-bot e5c5886287 Merge "doc: Bump copyright year notice, 'team' name" 2017-04-20 23:24:51 +00:00
David Lynch 4841b7496c MWReferenceNode: Don't try to remove from the internal list if it's not added
Recent changes to setRoot in ve core (719f8c667) cause unroot to occur at a
point we weren't expecting, when adding a new reference.

Bug: T163267
Change-Id: If02ea08bb8b6db3be41d51ab44ce2a74cfe07914
2017-04-20 18:18:19 +01:00
Ed Sanders 1fe0fb2e70 Only remove from internal list if unroot from correct document
Bug: T163267
Change-Id: I11ff56fbd437e46aab516a50235f8077eea0af5b
2017-04-20 18:18:02 +01:00
James D. Forrester 0d20873fa6 doc: Bump copyright year notice, 'team' name
Change-Id: Ia090c417a1aa716b255613199b5e49616bf0517a
2017-04-20 16:50:43 +00:00
Ed Sanders 5b477ce3a1 Bring in wikitext paste tests from ve-mw
Depends-On: Ibea6994a208e4b0b1022896eb31dd2f36f0fd6c6
Change-Id: I244570c39e2f3595137c02e62cb91ba8eeab8a4a
2017-04-20 16:27:50 +00:00
Translation updater bot 60dcf86ce7 Localisation updates from https://translatewiki.net.
Change-Id: I4e31515309db654bf6754b8d735c4faae62045df
2017-04-19 22:52:29 +02:00
Translation updater bot 314e8a64a7 Localisation updates from https://translatewiki.net.
Change-Id: I0826ca3b6892070725b05eee357852c124b9fe65
2017-04-12 22:27:34 +02:00
Translation updater bot 2aadf5b824 Localisation updates from https://translatewiki.net.
Change-Id: I36b9af4b47144da75a4c0a66148a0dbb71f72e3a
2017-04-11 22:46:23 +02:00
L10n-bot 359ab85824 Merge "Localisation updates from https://translatewiki.net." 2017-04-10 20:44:44 +00:00
Translation updater bot 2eb7c318c8 Localisation updates from https://translatewiki.net.
Change-Id: I94a421c41c8b6c9180317f21a4ac1e196531012c
2017-04-10 22:44:35 +02:00
Ed Sanders a6460a3025 VisualDiff: Ignore changes to originalMw
This can happen when switching editors.

Change-Id: Iec86efcdf5488918e53d69a0217d1ec4e3bb7f88
2017-04-10 21:18:26 +01:00
James D. Forrester 11769a5196 stylelint: Drop old 'no-unsupported-browser-features' rule
Unsupported now.

Change-Id: I176c1f446ee2196327f6a4135090d666dc3dd1cc
2017-04-10 08:58:33 -07:00
Translation updater bot 76d3e0e57a Localisation updates from https://translatewiki.net.
Change-Id: Iee455167d41de5314d101c7257a547518b8934dc
2017-04-09 22:39:38 +02:00
jenkins-bot 149d6ed3b4 Merge "Send better HTML to the clipboard" 2017-03-20 17:02:28 +00:00
Ed Sanders b58db89aac build: Update stylelint to 0.4.1
Change-Id: Ia7d685d9e10468d2303c68dc88fee8811251ffcb
2017-03-20 14:37:33 +00:00
Ed Sanders 61a624584b Send better HTML to the clipboard
Change-Id: Id8539697e6b30fd98e672452eda9b9c792c3c366
2017-03-20 13:42:03 +00:00
Timo Tijhof 04c3ad0107 Implement responsive columns for reference lists
This is based on the popular 'count' parameter from Template:Reflist on
English Wikipedia, which has also been adopted by many other wikis.

That template's 'count' parameter allows maximum flexibility on a per-
page basis. This was important because the template can't know how many
references the list will contain. Users typically manually add (and
later, increment) the 'count' parameter when the list exceeds a certain
threshold.

The template currently sets an exact column count (via the CSS3
property `column-count`).

This patch improves on that by instead using the closely related CSS3
`column-width` property. This automatically derives the column count
based on the available space in the browser window. It will thus create
two or three columns on a typical desktop screen, and two or no columns
on a mobile device.

The specified width is the minimum width of a column. This ensures that
the list is not split when rendered on a narrow screen or mobile device.

It also hooks into the raw list before parsing and adds the class only
when the list will contain more than a certain number of items. This
prevents very short lists from being split into multiple columns.

Templates like Template:Reflist on English Wikipedia currently are not
able to set inline styles on the list element directly, which is why
they set it on a `<div>` wrapping the `<references />` output. Because
of this, the feature of the Cite extension must not be enabled at the
same time, as that would result in both the template's wrapper and the
references list being split. The end result would involve sitations with
three columns split in four sub-columns, creating a complicated mess of
nine intermixed columns.

To provide a smooth migration for wikis, this feature can be disabled by
default using `$wgCiteResponsiveReferences = false`. Each individual
template createing reference list can then be migrated, by removing the
wrapper column styles and instead settting the new "responsive"
attribute, like so: `<references responsive />`.

Once any conflicting templates have been migrated, the default for the
wiki can be swapped by setting `$wgCiteResponsiveReferences = true`.

If wikis wish for some templates to keep their custom column splitting
behaviour, templates can also opt-out by setting `responsive="0"`, which
will make sure that it will keep behaving the current way even after the
feature becomes enabled by default for the wiki.

In summary, when disabled by default, pages can opt into this system
with `<references responsive />`. When enabled by default, pages can opt
out of the system with `<references responsive=0 />`.

* Deprecate cite_references_prefix/cite_references_suffix.

  This message is rarely used and opens up compatibility hazards.
  It was already removed by Parsoid, but the PHP implementation
  still had it. It's typically used to add inline styles to the
  wrapper which is more appropiately done in Common.css (or
  obsoleted as part of the skin or Cite extenion itself nowadays
  depending on what style in question).

  It was also a HTML-style message with separated open and close
  segments, which is an anti-pattern in itself.

* Declare module target explicitly and include mobile. The absence of
  this stylesheet caused subtle BiDi/RTL bugs on mobile.

Bug: T33597
Change-Id: Ia535f9b722e825e71e792b36356febc3bd444387
2017-03-07 22:42:47 +00:00
Translation updater bot 6a0017a356 Localisation updates from https://translatewiki.net.
Change-Id: I0d29ce305e3b1d495598b9ec190f22bd2dd3127f
2017-02-28 22:52:10 +01:00
Translation updater bot 174a93a4b0 Localisation updates from https://translatewiki.net.
Change-Id: Id99b330d2098e0fc7f05fb92a836d9948bc756a4
2017-02-19 22:24:14 +01:00
Translation updater bot 204b6a7621 Localisation updates from https://translatewiki.net.
Change-Id: Iebe54825250d094a8c6e6c4d2406ff87a1a6b2a0
2017-02-16 22:37:55 +01:00
Translation updater bot cf9b2c9633 Localisation updates from https://translatewiki.net.
Change-Id: Id0249fc01a38184b96f658fe934c5126f639e1dc
2017-02-10 22:19:15 +01:00
Translation updater bot e129c05dba Localisation updates from https://translatewiki.net.
Change-Id: I2edb80594630318bfe5c7683735f052a6d67d266
2017-02-07 22:39:48 +01:00
Translation updater bot 6d169dca22 Localisation updates from https://translatewiki.net.
Change-Id: I7076b3aec1866308c7f51f59f51b6a4482ffe111
2017-02-06 22:26:49 +01:00
Translation updater bot 72b07873f3 Localisation updates from https://translatewiki.net.
Change-Id: I7fd6090b003545d150775092ac8453e062773e83
2017-01-28 22:31:08 +01:00
Translation updater bot b4441fe5ca Localisation updates from https://translatewiki.net.
Change-Id: Ib7a67a8359810da9775fd5775e7d5b5cb9403106
2017-01-23 22:24:26 +01:00
Translation updater bot 417d4b3285 Localisation updates from https://translatewiki.net.
Change-Id: Icbdce3f9a4ec9cfcc3dbd0d66054ecf79eabeb1e
2017-01-21 22:20:06 +01:00
Translation updater bot f18107effc Localisation updates from https://translatewiki.net.
Change-Id: I291de1659ce54a9675f693ae74c9124ed8520d65
2017-01-20 09:20:38 +01:00
Translation updater bot e7a2c9c1f9 Localisation updates from https://translatewiki.net.
Change-Id: I095d6fb59a1bed01640503940c4c8f1bcdf48e35
2017-01-04 22:30:04 +01:00
Translation updater bot ae20c91abf Localisation updates from https://translatewiki.net.
Change-Id: I9dfd1d34aed73e88e63094ae450e6640bf66676f
2016-12-28 10:45:06 +01:00
Translation updater bot 8a7820e865 Localisation updates from https://translatewiki.net.
Change-Id: I00e77ce7ddadbb53c613b8647ec211b122a4239a
2016-12-18 22:12:24 +01:00
Translation updater bot b9843c74fa Localisation updates from https://translatewiki.net.
Change-Id: Ie577da1b742c285e1d6b9f40fe9c2446854a95ec
2016-12-12 22:21:24 +01:00
Ed Sanders 4ff0db7100 Force word break in context preview for long links
Bug: T152680
Change-Id: I50c547703d86def747655567a76702e9bc6610e7
2016-12-08 13:11:18 +00:00
Ed Sanders 099b8f8153 Use canonical ve.dm.TransactionBuilder.static.newFrom* methods
Change-Id: I9ce6860e19e833b576f7b9fb239b96de394b667c
2016-11-30 19:06:13 +00:00
jenkins-bot 964e8644dc Merge "Re-use target widgets" 2016-11-29 20:50:04 +00:00
Ed Sanders ee40877e83 Re-use target widgets
Depends-On: I5ed0591048a17e84077bde5490e05c0467d0394a
Depends-On: I5decb918f398704d4b6c108a16fbc1cc073ef077
Change-Id: Icba13d84e10cf18a6c68e26448b2efe93b8c42b8
2016-11-29 19:50:09 +00:00
Translation updater bot 5b71049da9 Localisation updates from https://translatewiki.net.
Change-Id: Ie5336b0a57050bd7f19a6a7202e3b5e74daf7f59
2016-11-25 22:48:28 +01:00
Translation updater bot 2e027352c4 Localisation updates from https://translatewiki.net.
Change-Id: I90c7105100b3ed48eaebdb524802512136899de8
2016-11-18 22:13:52 +01:00
Ed Sanders ec1cf7c029 Update ComboBoxInputWidget API
Bug: T150555
Change-Id: I29ce9a806cdadf02798fa23de993fcca6ab476f6
2016-11-15 17:28:49 +00:00
Ed Sanders 04fca616e9 eslint: Re-enable wrap-iife and partially enable dot-notation
Change-Id: I8f5e8d7b4547337943ec6df8ffb3d8db9f466217
2016-11-15 12:59:21 +00:00
Translation updater bot a2d58ca043 Localisation updates from https://translatewiki.net.
Change-Id: I01414094f9a3cf85dabb787c022568835a564238
2016-11-13 22:40:47 +01:00
Ed Sanders 43f56c81a8 Fix MWReferenceGroupInputWidget and uses
Now it is an actual input widget, remove references
to .input property.

Bug: T150491
Change-Id: I826a2cb5ecf98d0e35ccab804f2aa90bbff7ada2
2016-11-10 23:23:58 +00:00
James D. Forrester c9c10d2998 MWReferenceGroupInput: It's ComboBoxInputWidget, not ComboBoxWidget
Change-Id: I7d16ab96363f13fc12df0ef17d5e7dcec6321bd9
2016-11-09 11:29:52 -08:00
jenkins-bot 5654987b74 Merge "Re-use internalList when building index" 2016-11-07 16:28:45 +00:00
Translation updater bot 2c33f274ee Localisation updates from https://translatewiki.net.
Change-Id: Ic3b7b5b81ef23712d9a559b10d648c29063899d5
2016-11-05 22:52:42 +01:00
Ed Sanders 753d87b072 Re-use internalList when building index
Calling #getItemNode on the un-initalised internalList caused
a tree rebuild of the sub-document.

On a page with 200 references this cuts the time it takes to
render the re-use list from ~2000ms to ~1000ms.

Bug: T134975
Change-Id: I696a965e88338e1bec2a14f61dab158c56728f2e
2016-11-05 18:05:59 +00:00
David Lynch 36c2f42226 Give cite dialog a keyboard shortcut: meta-shift-k
Very similar to the link shortcut, on logic that they're similar actions.

Bug: T148302
Change-Id: I540a9fb5c61f796bebd8558557936898d5f9b8a0
2016-11-03 11:34:49 -05:00
Ed Sanders 4c0e837dad Use stricter test for originalDomElementsIndex
Change-Id: I43a0f639fa50fb2bbe9f935dd141d595571d8e24
2016-11-02 12:51:10 +00:00
Ed Sanders a42c656c53 build: Replace jscs+jshint with eslint
Change-Id: Ibcfab289a6dd4dcac853aa2e5338516994067cd5
2016-11-02 12:50:48 +00:00
Ed Sanders f4240f13f9 Use 'super' to call parent methods
Change-Id: Iba051a1e84b2ea805d0b3795933587c735ec0d88
2016-11-02 12:43:14 +00:00
Translation updater bot d548b8fbda Localisation updates from https://translatewiki.net.
Change-Id: Ib7eaa8d5219c9b498e6dd27e626d89508a495d6a
2016-10-20 23:45:45 +02:00
Translation updater bot 14ba2c05e2 Localisation updates from https://translatewiki.net.
Change-Id: Iafcd62f1cdd89c754274fa0f63f6c4e165f146c2
2016-10-19 23:23:52 +02:00
Translation updater bot 3ac0219e4d Localisation updates from https://translatewiki.net.
Change-Id: Ic21b0e2c92a7fe54f9ef4eab93d1d092abdbff6d
2016-10-18 22:33:11 +02:00
Translation updater bot dda2f7b145 Localisation updates from https://translatewiki.net.
Change-Id: I001657856abb9638b55f5848a11bf3df357a6d69
2016-10-16 22:39:20 +02:00
Translation updater bot 8cb1144177 Localisation updates from https://translatewiki.net.
Change-Id: Ifd1091cff7f4a6ad9bae32314536e21a009bdbc2
2016-10-15 22:58:41 +02:00
Translation updater bot ced303370e Localisation updates from https://translatewiki.net.
Change-Id: I7e246f5a17f71a1d054db9c91bf5e67b5e740f57
2016-10-10 22:25:51 +02:00
Translation updater bot dbc98ab1f1 Localisation updates from https://translatewiki.net.
Change-Id: I1ef8d968104aaf3e6b70cd4698b60e4ff2cfcba1
2016-10-02 10:35:47 +02:00
Translation updater bot c11d591f5d Localisation updates from https://translatewiki.net.
Change-Id: I74cb5f446d8e164215912cef092e02f221b2e130
2016-09-27 22:34:49 +02:00
Translation updater bot 31d7324c5b Localisation updates from https://translatewiki.net.
Change-Id: Ib5a1c4df6c5b509fbf06b8f26807fcc70820742c
2016-09-24 22:39:23 +02:00
Translation updater bot 593497b54c Localisation updates from https://translatewiki.net.
Change-Id: Ie630ebc299812057c2ed160fc60e590fc71ed253
2016-09-23 22:32:05 +02:00
Translation updater bot f16390b461 Localisation updates from https://translatewiki.net.
Change-Id: I22969a9d0d2d55efd72729f53458978390b06814
2016-09-13 22:48:20 +02:00
Translation updater bot 77a231d093 Localisation updates from https://translatewiki.net.
Change-Id: I0fe83045bce551e49deaf964b29c7db395734a08
2016-09-07 22:40:48 +02:00
Translation updater bot 60f15932b5 Localisation updates from https://translatewiki.net.
Change-Id: I01ffe8703feab6bd62b9a6df173865633cd8de5c
2016-09-01 23:22:55 +02:00
Translation updater bot d7e953f33d Localisation updates from https://translatewiki.net.
Change-Id: I530ca1d7d622d629c5f077a76f82600a0d97a7c4
2016-08-27 23:22:42 +02:00
Ed Sanders fc4788d51b Move originalDomElements to IV store and use new hash
Depends-On: I8a71c1a40ec35108d0a9a388da6f75632f8dc53c
Depends-On: I0fbb6324eede94558426178cbdad6b5daf0f8318
Change-Id: I32c9b5f984fcf96e3354841ecfcd444149e8f159
2016-08-24 18:14:47 +00:00
Translation updater bot 8944130bbe Localisation updates from https://translatewiki.net.
Change-Id: I8435a8ab48459e22a649a12a266d2d4ba5f9b419
2016-08-16 22:40:38 +02:00
Translation updater bot eadf04da50 Localisation updates from https://translatewiki.net.
Change-Id: Id79b07ebc475ee873f631adbb8c2f2f5ce8a9c68
2016-08-12 23:09:32 +02:00
Translation updater bot e7c423750f Localisation updates from https://translatewiki.net.
Change-Id: I11edddc5dd5a435a4507145cf4d2343175e51d7a
2016-08-11 23:51:17 +02:00
Translation updater bot 1e2ccae422 Localisation updates from https://translatewiki.net.
Change-Id: I1be4555f5b36aad1d22571be7004a71c7b158f95
2016-08-09 22:28:56 +02:00
David Chan fc70622405 Hide text without confusing Chromium's cursoring
Bug: T123608
Change-Id: I8c16277d877111180fd0f1cd39175fc85e3e0579
2016-08-04 15:47:48 -07:00
Translation updater bot bc80e8cd1a Localisation updates from https://translatewiki.net.
Change-Id: I31fb70c0b978b29f345cdf8e1394ba8e6212c1e1
2016-07-31 22:21:42 +02:00
Translation updater bot d7fac2c8fc Localisation updates from https://translatewiki.net.
Change-Id: I4916181c910ed9ee444f496888c6be7e574d5b09
2016-07-30 22:23:16 +02:00
Translation updater bot 247f1c8aed Localisation updates from https://translatewiki.net.
Change-Id: I37a084270866c9fb7297cb4d581026178cb785df
2016-07-21 22:53:45 +02:00
Translation updater bot 6ea51d1f5d Localisation updates from https://translatewiki.net.
Change-Id: I679ed6b69045f7bf0b6893208e80c99f3b93d46b
2016-07-17 22:27:19 +02:00
Translation updater bot 568beaf64b Localisation updates from https://translatewiki.net.
Change-Id: I06b574c44e60050b68f797e1984b1b489f7e02b5
2016-07-16 22:55:17 +02:00
Translation updater bot 1c48e08746 Merge "Localisation updates from https://translatewiki.net." 2016-07-12 20:54:14 +00:00
jenkins-bot 11295fe6a9 Merge "Use 'demote' only to move cite tools to insert group" 2016-07-12 20:51:59 +00:00
Translation updater bot aa42845677 Localisation updates from https://translatewiki.net.
Change-Id: I314f5a1bd95c1468215b1d399459d91494b21509
2016-07-12 22:47:00 +02:00
Ed Sanders 5f4b86a9be Use 'demote' only to move cite tools to insert group
Leave include as '*' as changing it to an array currently breaks
the wildcard functionality.

Also rewrite the hack slightly so it only modifies the list,
rather than overwriting it.

Bug: T139727
Change-Id: I041bad6346a4f39e967dca8cc610100463be0ded
2016-07-11 18:32:00 +00:00
Translation updater bot 7b4527e697 Localisation updates from https://translatewiki.net.
Change-Id: I085f44f19e2ad96cc747ba07dd471f91088d5185
2016-07-10 22:18:39 +02:00
Translation updater bot 81e2b44237 Localisation updates from https://translatewiki.net.
Change-Id: Ia776dda01b67496ef1ef31c63e3574bea7776f30
2016-07-09 22:52:23 +02:00
Translation updater bot 85b34579cf Localisation updates from https://translatewiki.net.
Change-Id: I2720f561d8fa97100a11f7d07ea820bf8d66c3e5
2016-07-08 23:07:34 +02:00
Translation updater bot aff280552e Localisation updates from https://translatewiki.net.
Change-Id: I032c82f5bb9468d9cfd07074a1f2bd121feeb3a1
2016-07-04 22:29:41 +02:00
Translation updater bot 9a4909b8ea Localisation updates from https://translatewiki.net.
Change-Id: I112e2138ed46f5aa40e7ba353d5ff6f981634a02
2016-07-03 22:37:46 +02:00
Translation updater bot 70fbdb91b7 Localisation updates from https://translatewiki.net.
Change-Id: I44ae01373c956ef091d21ea85b4b2fb0381e5229
2016-07-02 22:50:32 +02:00
Translation updater bot 72f10b4149 Localisation updates from https://translatewiki.net.
Change-Id: I29befc53eb910fd306d93806f80f88e84260d0f2
2016-07-01 23:17:54 +02:00
Ed Sanders 1505000fe5 Use target widget factory method
Change-Id: I107afbb4f7e8ae97bdb27f3b5f7acd357dada414
2016-06-29 17:14:43 +01:00
Alex Monk 724d890541 Make it possible to send VE cite toolbar items to the 'insert' (other) group
To be merged with Ifd688ae6

Bug: T133727
Change-Id: Ic87f996f2a95ffe89999384c48f11745f251db0e
2016-06-29 13:36:14 +01:00
Alex Monk e284811889 Follow-up I454380c3: Update/fix some things I missed
Per Krinkle's comment

Change-Id: I527a694116939d0303a06556eb479201852e227d
2016-06-28 23:01:20 +01:00
Translation updater bot 804899c53c Localisation updates from https://translatewiki.net.
Change-Id: I32760ce0bf6a2b766baccf92d6612f219dc2361d
2016-06-27 23:02:27 +02:00
Translation updater bot 78afade8ec Localisation updates from https://translatewiki.net.
Change-Id: I69e2265e4fdfd1a611ec8039cdaa79b5c5620984
2016-06-26 14:13:42 +02:00
Translation updater bot 81210678cf Localisation updates from https://translatewiki.net.
Change-Id: I764d701484ce8202e1bead2a739e203f0a34e06e
2016-06-25 14:50:15 +02:00
Alex Monk 24f2d64edd Make visualeditor-cite-tool-definition.json always exist, rename to cite-tool-definition.json
Bug: T138573
Change-Id: I454380c392feea55483d00d4b7eec45bce04ff53
2016-06-25 00:37:20 +01:00
Ed Sanders 58ecfc64b1 Trim search queries in VE's reference search widget
Bug: T138278
Change-Id: I044fa6b8b5049e5520f0e1b4993eebab8498bd55
2016-06-21 13:17:53 +01:00
Translation updater bot 6c0d29d928 Localisation updates from https://translatewiki.net.
Change-Id: I5fa8c2d223fb7f9b7bfa68ec1074848ba30dac45
2016-06-19 22:41:47 +02:00
Translation updater bot 2b6c4343d8 Localisation updates from https://translatewiki.net.
Change-Id: I655437410b4148a4d6e73813b2702bc3da12bbc8
2016-06-10 22:13:47 +02:00
Translation updater bot e58e6a5b6c Localisation updates from https://translatewiki.net.
Change-Id: I54d0f2137406c0d5fc40b5f1f3ae1fb7b4606e72
2016-05-31 22:41:08 +02:00
jenkins-bot 12854f5625 Merge "Use commandRegistry from current surface, not target" 2016-05-30 21:57:52 +00:00
Ed Sanders 96922a2aa0 Use commandRegistry from current surface, not target
This shouldn't make a difference for any current implementations
but in the future different surfaces my have different commands.

Change-Id: I383a4a76cda142107da2f8aa1c6a90c4307e3b97
2016-05-30 22:36:45 +01:00
Ed Sanders 7d9693d090 Use cloneWithData
Change-Id: Ibab88f333cd39aabc73a579e1b05fc9b830b6d86
2016-05-30 22:34:15 +01:00