Commit graph

2894 commits

Author SHA1 Message Date
C. Scott Ananian 5433d46bb8 Sync up with Parsoid citeParserTests.txt
This now aligns with Parsoid commit 7d2a92f81ebbc0941e8fba2a136f5929406ea5e6

Change-Id: Ie7354c9c36f8532dfa36e5ab5a2a4c01fae65b69
2018-03-07 02:23:38 -05:00
David Chan 21e1fc5742 Follow-through rename of originalDomElementsIndex->originalDomElementsHash
Bug: T188900
Change-Id: If2b908acc634253c35b220f267bcca648f45310b
Depends-On: If60d0c637fe92f0e7afe916c064fafb17980d063
2018-03-06 21:00:35 +08:00
Translation updater bot f4a135c8e5 Localisation updates from https://translatewiki.net.
Change-Id: Ifc33d0dc6213559341ba1e94a8d9f10dd6908350
2018-03-05 22:24:24 +01:00
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
jenkins-bot a6ec270d65 Merge "Remove failed experiment $wgCiteCacheReferences" 2018-02-28 19:47:40 +00:00
Ed Sanders e8dd5fed93 MWReferencesListNode: Guard against run-after-teardown
Change-Id: Icea7580d04d7093ab2b27b2d757e625d7559b94c
2018-02-28 17:35:53 +00:00
Tim Starling db85682b63 Remove failed experiment $wgCiteCacheReferences
This was briefly enabled in WMF production in 2009 and found not to work.
As far as I know, it's been disabled since then. Retaining it requires
maintaining the complex "half-parsed serialization" feature in the core
parser, which I'm deprecating in I838d7ac7f9a218. The core feature was
added solely to support this Cite caching experiment and is not used for
anything else.

Change-Id: I446e0c46913a390dbdf7b49b84040bf47ed6c2f9
2018-02-28 21:04:42 +11: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
Jforrester 97fc112cee Merge "Fix transaction tests" 2018-02-25 21:00:05 +00:00
libraryupgrader 8f5401bab2 build: Updating mediawiki/mediawiki-codesniffer to 16.0.1
Change-Id: Ia843b9df792aa9790eb91a1fed1114f2c03a7822
2018-02-25 07:00:04 +00: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
libraryupgrader b4a59a8b82 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ifb73948ae29037fa480f57e9f18339ca32f1231a
2018-02-17 19:24:59 +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
Translation updater bot e1a2d06d94 Localisation updates from https://translatewiki.net.
Change-Id: I336e3ea2920edb3158ea007ac4e3af65516ab1f0
2018-02-09 09:41:06 +01:00