Commit graph

2859 commits

Author SHA1 Message Date
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
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
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
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 8c2714747b Localisation updates from https://translatewiki.net.
Change-Id: Ib152a81179627fb372a3a9e9f1d5f2cf7ff9e401
2018-01-18 22:49:14 +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
Translation updater bot f91c069d31 Localisation updates from https://translatewiki.net.
Change-Id: I40cd12e67beca3ca2c0fef0d57f1c2d7868fdf83
2018-01-11 23:44:36 +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
Kunal Mehta 5483046f25 Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: I77bf3f7910b083ff8a09ebc4c556ab60f500803a
2018-01-04 02:54:51 -08:00
jenkins-bot 6b1e7e126f Merge "doc: Bump copyright year" 2018-01-03 19:18:07 +00:00
Kunal Mehta 1e6ff5c2fc Address PhanUndeclaredClassMethod warning
Don't use the \Database alias, use the namespaced version when calling
Database::getCacheSetOptions.

And document why the remaining issue is suppressed.

Change-Id: I80a102f2e82efedcfa999d8e714bfe049263ffeb
2018-01-03 16:34:01 +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