Commit graph

2400 commits

Author SHA1 Message Date
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
Translation updater bot 532a356cd7 Localisation updates from https://translatewiki.net.
Change-Id: I00579cd45a2176981002bc4de5b9876c7157973c
2018-01-01 09:17:35 +01:00
Translation updater bot 7250915e6d Localisation updates from https://translatewiki.net.
Change-Id: I129f50ad45f713206c2669e35ac7e457cc4bfab4
2017-12-30 09:38:34 +01:00
libraryupgrader 1ca3dd57be build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: I11e6d584932dbde52fc5e5d463029270976a47df
2017-12-29 23:28:16 +00:00
Thiemo Mättig 9c8ed18938 Remove some obscure comments
A good bunch of these comments literally repeats what the code already
says.

Change-Id: I9c128f748971bf20a61a85ed57d3261d27c465f0
2017-12-29 12:21:53 -08:00
jenkins-bot ef6855d3a2 Merge "Add phan configuration for static analysis" 2017-12-29 20:06:45 +00:00
Phantom42 67ed343ecc Add phan configuration for static analysis
Bug: T179554
Change-Id: I2bfd52c08aac1aa8f34e0664e6314835f79a0324
2017-12-29 11:50:01 -08:00
Translation updater bot a4e1b0e4e5 Localisation updates from https://translatewiki.net.
Change-Id: I04cb282cb27fa7802b81860f2f92a59fa1f4b8f1
2017-12-28 09:59:04 +01:00
Translation updater bot 9e2c5abfa9 Localisation updates from https://translatewiki.net.
Change-Id: Ieb195f0607ab8af66207ed3c9a0e4c8ca96e4652
2017-12-23 22:26:47 +01:00
Umherirrender 817c8a95bd Change typehint from DatabaseBase to IDatabase
Change-Id: I34bde9717d7799406dd9a30e8f9b610da53f374c
2017-12-22 21:28:29 +01:00