Commit graph

16088 commits

Author SHA1 Message Date
Bartosz Dziewoński 180eb91f3f Increase selector specificity for .ve-ce-focusableNode-invisibleIcon
Otherwise our width/height rules are overridden by OOUI styles.

Change-Id: I2bbf81231615e6fcfd95573f5f590b5101e66bdf
2018-02-21 22:30:45 +01:00
Bartosz Dziewoński a5e2f60d7e ve.ce.MWGalleryNode: Ensure we always have a focusable element
For galleries with 0 items, this would previously return an empty
jQuery collection, which caused funny rendering issues later.

Bug: T75230
Change-Id: Ia68e4f1b74b5ec494fa3d86f0b792f69eadb02fb
2018-02-21 22:22:49 +01:00
Bartosz Dziewoński 3d422bac2a ve.ui.MWGalleryDialog: Handle galleries with 0 items
We still don't allow inserting such galleries, but we can handle them
in existing content.

Bug: T75230
Change-Id: I5d7350f00871ac295b0ebc00a633b44570347d85
2018-02-21 22:11:41 +01:00
jenkins-bot dd94837192 Merge "MWTemplateTitleInputWidget: recover gracefully if TemplateData not present" 2018-02-21 18:14:12 +00:00
David Lynch bd64b58071 MWTemplateTitleInputWidget: recover gracefully if TemplateData not present
Bug: T187917
Change-Id: Ica0c853e1a7bc908651260df115d59d1939a7939
2018-02-21 11:53:56 -06:00
James D. Forrester 59453e3824 Update VE core submodule to master (aa4aa2842)
New changes:
e4d59929c Rebaser: Generate random doc name if none provided
82093a6c2 Show reference moves in visual diff
ebe736495 Use offsetWidth/Height instead of jQuery.width()/height()
87158b496 Pass correct arguments to Node.insertBefore

Bug: T171587
Bug: T187864
Change-Id: I22f2529cd6e5826323e9ad1cafe13c64fe2029fc
2018-02-21 09:16:51 -08:00
jenkins-bot 5de7185687 Merge "Rebaser: Generate random doc name if none provided" 2018-02-21 16:37:36 +00:00
jenkins-bot 8d3e702976 Merge "Disable tempWikitextEditor for section=new on talk pages" 2018-02-21 01:29:58 +00:00
Translation updater bot f2e78128c0 Localisation updates from https://translatewiki.net.
Change-Id: I442f97f06bab9a509600b6fb12a7b6923803a44d
2018-02-20 22:29:14 +01:00
James D. Forrester 53c089973b Update VE core submodule to master (8c5b27028)
New changes:
7ddd588f5 SurfaceSynchronizer: Use palette for author colour
f7f904bfd Localisation updates from https://translatewiki.net.
cb9ff9657 Avoid jQuery.parseHTML
608d9e54a build: Lint JS inside HTML files
52a81146f Account for visually diffed element having to clientRect

Bug: T187713
Bug: T187726
Change-Id: Ie83ac5dbb156b16a6d42e44678b819e4fd14b577
2018-02-20 09:11:16 -08:00
Derk-Jan Hartman 249c52b6a4 Hide historical diff controls when UA doesn't support JS
Bug: T187780
Change-Id: If29974323ef21016edbbb66870914a6dc37e7bbb
2018-02-20 16:54:31 +00:00
jenkins-bot 8f33fc6225 Merge "Add clearfix to diff page's visual diff element" 2018-02-20 16:52:39 +00:00
jenkins-bot d040645244 Merge "Avoid jQuery.parseHTML" 2018-02-20 16:50:06 +00:00
Ed Sanders 7fe496d8ef Avoid hiding generated #toc
Bug: T187636
Change-Id: I713479616feddb01c48c9bb6dda2f9c4aaf182e0
2018-02-20 16:18:27 +00:00
Ed Sanders fcf6ea9e67 Add clearfix to diff page's visual diff element
Bug: T187687
Change-Id: I4de925964fde7b0fffc6540ba821f9a8162cffe7
2018-02-20 15:04:25 +00:00
Translation updater bot 5563816992 Localisation updates from https://translatewiki.net.
Change-Id: Ia5bcc5f6e3fbd86d79e8e59926b0191fb71c0e3b
2018-02-19 22:26:08 +01:00
Ed Sanders ee5b80aeee Avoid jQuery.parseHTML
Bug: T187713
Change-Id: Ic156d6fb670fa2f79cf3c1d5fe0c6272b53b6440
2018-02-19 15:41:20 +00:00
Translation updater bot 2c606b2918 Localisation updates from https://translatewiki.net.
Change-Id: Ib9d4a1c8ebcf64a0abc129c0e10cf99d2442ac11
2018-02-18 22:41:16 +01:00
libraryupgrader 8e3ce5a6b5 build: Updating mediawiki/minus-x to 0.3.1
Change-Id: Ib4c0df799ab4c61e66d6512ef6a658977a254916
2018-02-18 11:30:36 +00:00
Translation updater bot aa090f29e3 Localisation updates from https://translatewiki.net.
Change-Id: I3cfd52cba44047aac0fd1baa965b0d3389d53ce5
2018-02-16 22:29:36 +01:00
Ed Sanders f2e7361460 Disable tempWikitextEditor for section=new on talk pages
The temp editor doesn't know about the title input
widget yet, so disable for now.

Bug: T185633
Change-Id: I3e44dcc30ee8372080c7cd8c5fc27eb167e24fc6
2018-02-16 18:32:41 +00:00
Ed Sanders 1bef5a03ce Rebaser: Generate random doc name if none provided
Change-Id: Ib790fa5d61df7f2318cd014d5ffa60a3ab3861d3
2018-02-16 18:09:19 +00:00
jenkins-bot d21626e7bf Merge "MWSaveDialog: Another check to see if visual diff is still visible" 2018-02-16 17:15:28 +00:00
Ed Sanders 33858c6818 MWSaveDialog: Another check to see if visual diff is still visible
Bug: T187282
Change-Id: Ia29a335bf6b1bad0eeb55b54094475c7fcc18dfe
2018-02-16 15:21:12 +00:00
Translation updater bot e34c085758 Localisation updates from https://translatewiki.net.
Change-Id: Ia7cb5ce5637cbe40df90e0d0b7c0a22c67687ed9
2018-02-15 22:47:25 +01:00
James D. Forrester 037f666985 Update VE core submodule to master (31c54c36b)
New changes:
2dafbbc21 Update UnicodeJS to v0.2.1
9955059a5 Use OO.deleteProp for its intended purpose
fd41859e3 Follow-up 21a5d55b85: It's still 2018
9cbe6ea43 build: Bump devDependencies to latest
3bf97e171 Localisation updates from https://translatewiki.net.
9f5fc6a9d tests: Only call deleteProp on element objects

Change-Id: Id710f96ec5f5828c0a095cdce271b04fd307faca
2018-02-15 09:26:22 -08:00
libraryupgrader f65cb469ca build: Updating mediawiki/mediawiki-codesniffer to 16.0.0
Change-Id: I0fd950b5a64b6e4f928027e36f26eca552b93213
2018-02-15 06:41:37 +00:00
James D. Forrester dd3dddb98c Follow-up 0a7a845a4: Missed one
Change-Id: I252cb6678df9df503e07b635384a713f052a8abe
2018-02-14 14:25:07 -08:00
Translation updater bot 7391fa64c6 Localisation updates from https://translatewiki.net.
Change-Id: I6f4279284d90de49a7142e992f088bf28fa20523
2018-02-14 22:30:48 +01:00
Translation updater bot 833bbe318c Localisation updates from https://translatewiki.net.
Change-Id: I8c81d65acc27d8936b8381fddf985025336ae2f0
2018-02-13 22:25:55 +01:00
James D. Forrester 9c02554903 Update VE core submodule to master (0cc5806c7)
New changes:
b2ee8a5ca Move DiffElement test runner to utils

Change-Id: Ic70bd3e8ba090c2d174164fd1ecebdf6f2225254
2018-02-13 11:21:29 -08:00
jenkins-bot 0c05b46bff Merge "Remove IE9 workaround" 2018-02-13 17:37:29 +00:00
Ed Sanders e0b7fbe6f8 NWE preview: Avoid skin style clash
Bug: T187075
Change-Id: I6ac6eebca3bd89ce19fb64f6e95809c4d595bc8b
2018-02-13 16:22:56 +00:00
Ed Sanders 119e9ef0f6 Remove IE9 workaround
Change-Id: Ifcb1690934ece7d373c764591e00740d6f1238ee
2018-02-13 10:45:16 +00:00
Ed Sanders ec8208d125 Follow-up Idbcb76f: Only apply /includes folder fix to local path
Also use dirname(__DIR__) instead of appending ../

Change-Id: Ie88fb03617b25a675e1f4af97f8cb7c29c2fb8b3
2018-02-12 21:59:22 +00:00
jenkins-bot 79c0106b13 Merge "Don't try to insertMetas at 0,0, just at 0 now (lest we crash)" 2018-02-12 19:50:14 +00:00
jenkins-bot da1c3cd84d Merge "Update VE core submodule to master (bf555de7e)" 2018-02-12 19:50:07 +00:00
James D. Forrester b6c18b2d49 Don't try to insertMetas at 0,0, just at 0 now (lest we crash)
Bug: T187112
Change-Id: I56e39276637ea018c1ec742d833d115ee881a5d5
2018-02-12 19:32:23 +00:00
Jayprakash12345 936dbda876 Update at-ease calls in extensions
Bug: T187037
Change-Id: Ifbba289cc78eb005fa974cdb941b17335974ec78
2018-02-12 19:20:59 +00:00
James D. Forrester 93522d6650 Update VE core submodule to master (bf555de7e)
New changes:
ba0bc3c25 Show diffs for references lists in place
7b290bb1a Localisation updates from https://translatewiki.net.

Bug: T183118
Change-Id: I93113a63b6a860684b25d5787f07f7e5d0de57bd
2018-02-12 09:39:42 -08:00
jenkins-bot 727eda9161 Merge "Update VE core submodule to master (c39a4a69b)" 2018-02-12 17:38:59 +00:00
Fomafix 8079d081d0 Remove /* global confirm, alert */
The browser functions alert() and confirm() are not used.

Change-Id: I1b069937fe1548298d55a3e6616e189b72c3e8fa
2018-02-12 10:49:11 +01:00
Translation updater bot 2495944894 Localisation updates from https://translatewiki.net.
Change-Id: If7a9c7d28dbb4b9652a8472487ba3cb6ff06b11d
2018-02-12 09:23:59 +01:00
James D. Forrester 9c7029e265 Update VE core submodule to master (c39a4a69b)
New changes:
9b1231f6c Revert "Workaround missing child selector in OOUI for menuLayout"
24093e84a Update OOUI to v0.25.2
58d235f2f DiffElement: Only show left margin if moves present
6be70c88b build: Bring SVGO optimization to 'ci' step
c7e904bb4 Fix getNodeAndOffset for MetaItems
df4bc30e9 Localisation updates from https://translatewiki.net.
de29d60bb demo: Rename from deprecated OOUI method

Bug: T185544
Bug: T185596
Bug: T186109
Bug: T186636
Change-Id: Ib314bb33953f9440420e5d528202c81a37d1dd3b
2018-02-10 18:39:23 -08:00
jenkins-bot 8f3730d460 Merge "ApiVisualEditor: Update getPreloadContent's parseWikitextFragment call" 2018-02-10 17:14:43 +00:00
David Lynch 468c913cb9 ApiVisualEditor: Update getPreloadContent's parseWikitextFragment call
9770c806 missed updating this call; update it to include bodyOnly parameter.

Bug: T186884
Bug: T186934
Change-Id: I616101f6bf3bd0b3af2236207c2ac217988d1724
2018-02-10 17:07:55 +00:00
jenkins-bot b5b1a90c39 Merge "phpcs: Don't try to be smart about excluding VE, it doesn't work" 2018-02-10 09:28:46 +00:00
Translation updater bot 2de0adf2b4 Localisation updates from https://translatewiki.net.
Change-Id: I09029c366e710d8048b96fcaa39e86df7648a636
2018-02-10 09:15:31 +01:00
James D. Forrester 7bd26fb361 Follow-up fa9438e5f: Fix path to back-up data source for non-ULS installs
Bug: T186903
Change-Id: Idbcb76f54eb57b0a56b46188526858038d698627
2018-02-09 10:32:41 -08:00
Translation updater bot 18bd5442e4 Localisation updates from https://translatewiki.net.
Change-Id: Iac97337eb8d6a88b40305193abbc3e62d004f1b6
2018-02-09 09:41:19 +01:00