Commit graph

14423 commits

Author SHA1 Message Date
Ed Sanders c2e16186a0 Use CE rendering for invisible templates
Bug: T170107
Change-Id: I7bce9e7b77ce22953bb0141d81871b53a4f005db
2018-05-11 17:05:03 +00:00
James D. Forrester 99a226020e Update VE core submodule to master (b8c05e38c)
New changes:
1d0130404 Move logic for creating a view node into ve.ce.NodeFactory
3db54b22a Improve behavior of newlines and non-text content elements in find-and-replace
11f9ea9d0 Create a quick 'useView' mode for PreviewElement

Bug: T94130
Bug: T184163
Bug: T188651
Change-Id: I7fc539f75a1c9d672efc139b7884ecdfdff5f301
2018-05-11 09:54:06 -07:00
jenkins-bot e8c4bf2cd3 Merge "ve.ce.MWTableNode: Compatibility with new jQuery.makeCollapsible toggle styles" 2018-05-10 21:48:24 +00:00
Translation updater bot a8251c03d6 Localisation updates from https://translatewiki.net.
Change-Id: I55267287792ded3888cf94cc317c60ed04da4beb
2018-05-10 22:21:18 +02:00
Bartosz Dziewoński deabd6bd51 ve.ce.MWTableNode: Compatibility with new jQuery.makeCollapsible toggle styles
jQuery.makeCollapsible styles now display "fake" expand/collapse
toggles. This is nice, but some bits and pieces clashed with our
styles, this fixes it.

Also ensure that the styles are loaded if the page previously had no
collapsible elements on it.

Bug: T194323
Change-Id: If8f0869e6677811147f272337da7d96286792fe0
2018-05-10 21:41:31 +02:00
jenkins-bot d099c332a9 Merge "updateSubmodule: Put list in topo (merged), not written, order" 2018-05-10 16:48:14 +00:00
jenkins-bot d3f3015a60 Merge "Restore CSS for diffslider lines" 2018-05-10 16:09:06 +00:00
James D. Forrester f3e69d80ef updateSubmodule: Put list in topo (merged), not written, order
Change-Id: Ib563468ca55993784b4372ec2c9dc7916f5b8ed8
2018-05-10 08:51:37 -07:00
James D. Forrester 8d1d0f19ed Update VE core submodule to master (07e7f8369)
New changes:
2ecae4be0 Revert "Remove icon padding from format tools in WMUI"
fd5798075 Truncate storeLengthAtHistoryLength properly
548566906 Update OOUI to v0.27.0
52048fb87 Localisation updates from https://translatewiki.net.
361d04953 Add a WMUI desktop demo

Bug: T190851
Bug: T194050
Change-Id: I08dc45f796186e216db821e43fa99517636e169d
2018-05-10 08:50:37 -07:00
Ed Sanders ae9560aacd Restore CSS for diffslider lines
Bug: T193839
Change-Id: If32a6be33f6c8c9f4413a81f561009214fa39df6
2018-05-10 16:38:50 +01:00
jenkins-bot 38e01265ac Merge "ve.init.mw.DiffPage.init: Detect extra diff header rows" 2018-05-09 23:22:19 +00:00
Translation updater bot 006b23266e Localisation updates from https://translatewiki.net.
Change-Id: I3065f8336d7789948bcd9cad1746ad09da38fdbe
2018-05-09 22:41:40 +02:00
Translation updater bot 2670e12d25 Localisation updates from https://translatewiki.net.
Change-Id: I85269f928ca7022911b15544e96354a3f64659c0
2018-05-08 22:20:48 +02:00
Bartosz Dziewoński 73a77b60ed ve.init.mw.DiffPage.init: Detect extra diff header rows
Bug: T193925
Change-Id: I117871bef0f1ecf1ce0ba9762047c926a1e723eb
2018-05-08 22:05:46 +02:00
jenkins-bot 6ad3c408b2 Merge "Add comment to htmlBlacklist item" 2018-05-08 16:10:27 +00:00
jenkins-bot 821e7ec828 Merge "Remove some no longer required CSS from switch popup" 2018-05-08 16:10:26 +00:00
Ed Sanders b5371c791f Add comment to htmlBlacklist item
Bug: T150418
Change-Id: I0c48ff6f187cde4c378e5aa193e62d107bc7919c
2018-05-07 21:49:34 +01:00
Ed Sanders 86fdda21c6 Remove some no longer required CSS from switch popup
Change-Id: Ic965c147b195b4546f8f1e7d36395c96597a159e
2018-05-07 21:35:24 +01:00
Ed Sanders 5974c59b97 Follow-up Ifdc951fdc: Don't use target when it doesn't exist
Change-Id: Idf546f7b1d2c12f59b5024f3365665214e4e5f49
2018-05-07 21:22:09 +01:00
jenkins-bot 4c005fabaf Merge "Update VE core submodule to master (c4ad0a7e3)" 2018-05-07 16:42:17 +00:00
jenkins-bot 7bca14c182 Merge "Add an 'api' parameter to ApiResponseCache" 2018-05-07 15:53:18 +00:00
jenkins-bot 5722a3c59f Merge "Remove references to global singleton inside LinkCache" 2018-05-07 15:53:01 +00:00
jenkins-bot 93c1f0d9b4 Merge "Create an MWSurface and move langChange handling there" 2018-05-07 15:52:08 +00:00
jenkins-bot 95d831c2de Merge "Create getters for localised APIs (getContentApi/getLocalApi)" 2018-05-07 15:51:45 +00:00
jenkins-bot 9a79c10fc2 Merge "Remove unused overrides in internal link annotation inspector" 2018-05-07 15:41:33 +00:00
jenkins-bot 25d2eb2848 Merge "Use ve.resolveUrl in MediaContext/Dialog" 2018-05-07 15:28:52 +00:00
James D. Forrester a503c9b949 Update VE core submodule to master (c4ad0a7e3)
New changes:
7627624e4 Localisation updates from https://translatewiki.net.
3825763e0 TreeModifier: Clone mutable linear data when inserting
8f91ecf64 Localisation updates from https://translatewiki.net.

Bug: T193062
Change-Id: I527f882fb3e40fe319014a2483974cc1e46b6b55
2018-05-07 08:20:31 -07:00
Ed Sanders b980150df4 Update link cache to use new descriptions API
Bug: T191333
Change-Id: If1e7f50208a44bda6c30ff1d6c60a085f9da74e7
2018-05-07 15:59:02 +01:00
Ed Sanders 4b00c765ff Add an 'api' parameter to ApiResponseCache
Change-Id: Ie68b70472447a4bb2c9be8ed505a91f24858059d
2018-05-07 11:53:23 +01:00
Ed Sanders 5eb89cdc51 Remove references to global singleton inside LinkCache
Use 'this' instead.

Change-Id: Ie3138f2c62ff4e4938e8ed21e79b3433d98e2737
2018-05-07 11:53:23 +01:00
Ed Sanders 8bddec44e3 Create an MWSurface and move langChange handling there
Change-Id: I8a75b5f431f454b66441fc301b90e5f28636612e
2018-05-07 11:53:23 +01:00
Translation updater bot e5c3a73e27 Localisation updates from https://translatewiki.net.
Change-Id: I3e4513e9b4de1f52ff152061ef1286d8fb62e15f
2018-05-06 22:23:05 +02:00
Translation updater bot 9b9182b3ad Localisation updates from https://translatewiki.net.
Change-Id: Iadc4cff4c5c634c4cddd67da516b21a50119a923
2018-05-05 22:15:46 +02:00
Ed Sanders 478b0bcbb9 Create getters for localised APIs (getContentApi/getLocalApi)
Pass through the current document when available, otherwise
assume the current surface's document.

Also add a getter for getPageName, so that can vary based
on the target document.

Bug: T193856
Change-Id: Ifdc951fdc6a43b924d102e3fcd7e59e52023757b
2018-05-05 14:32:55 +01:00
Ed Sanders b54f427078 Remove unused overrides in internal link annotation inspector
Removes an unused call to mw.util.getUrl.

Change-Id: I3988311b7160af628ea4ceeafcfdc3cc0a7a3774
2018-05-05 14:32:55 +01:00
Ed Sanders 3b4923fa74 Use ve.resolveUrl in MediaContext/Dialog
Change-Id: I53e28d6cec13ac77718ba3cae425c4c43c96e174
2018-05-05 14:04:15 +01:00
jenkins-bot 1f6cf4883d Merge "ve.init.mw.DesktopArticleTarget.init: Edit the latest revision when viewing a FlaggedRevs-stable one" 2018-05-05 01:03:04 +00:00
Bartosz Dziewoński 192a232410 ve.init.mw.DesktopArticleTarget.init: Edit the latest revision when viewing a FlaggedRevs-stable one
When the user is viewing the last stable revision of a page which has
newer unreviewed revisions, FlaggedRevs wants us to open the latest
(unreviewed) revision of the page for editing.

Use the JS config variable 'wgFlaggedRevsEditLatestRevision', provided
by FlaggedRevs since change I4c9804fe2c4924e28770807881379ddca4fd8b76.

Also add an extra comment about loading latest revisions in general.

Bug: T165283
Depends-On: I4c9804fe2c4924e28770807881379ddca4fd8b76
Change-Id: Ic47491e690153d0ad87ce64bfc9e7a28a06fc6e2
2018-05-04 22:04:02 +00:00
jenkins-bot 829089008f Merge "DesktopArticleTarget: track mwedit.ready even if skipping temp editor for new sections" 2018-05-04 21:59:27 +00:00
Ed Sanders ebcf1e1151 Check imageModel exists in #checkChanged
Bug: T193879
Change-Id: Ic6eda7a056e5207042b575609b9da1869e3a759e
2018-05-04 14:52:03 +01:00
Translation updater bot 972a1832cc Localisation updates from https://translatewiki.net.
Change-Id: Ib5c5b4b3416140b052a8c42958926aea6d01bf09
2018-05-03 22:21:58 +02:00
jenkins-bot 3d6d56697c Merge "Use Tool.$link.focus() for highlighting now OOUI styles :focus" 2018-05-03 15:11:01 +00:00
David Lynch 3f91a27809 DesktopArticleTarget: track mwedit.ready even if skipping temp editor for new sections
Bug: T193206
Change-Id: I78555b84bde3d5bd14b032862e5a020121fc5c2e
2018-05-02 11:35:42 -05:00
jenkins-bot 228ab9ce66 Merge "MWBlockImage: Make zoom link unclickable" 2018-05-02 16:12:01 +00:00
jenkins-bot b02c44e59c Merge "Rebaser: Add more aliases for special page" 2018-05-02 16:07:10 +00:00
Ed Sanders 1a4158f6d2 Use Tool.$link.focus() for highlighting now OOUI styles :focus
Change-Id: Ia5b4c68cb49e3954aae7de9a8907f1fb9f205e2c
2018-05-02 12:52:17 +01:00
Ed Sanders 6da4529811 Rebaser: Add more aliases for special page
Copied from i18n messages.

Change-Id: I1118fca8e409fb26fbacbffaf31f784f8ee6fd05
2018-05-02 12:02:11 +01:00
Ed Sanders e49b5628d8 MWBlockImage: Make zoom link unclickable
As it sticks out beyond the focus shield we
need to disable it manually.

Change-Id: I92baf24e6bb9294e46821311805ca0bb77f892a6
2018-05-02 11:57:33 +01:00
Translation updater bot dfbfac6ba2 Localisation updates from https://translatewiki.net.
Change-Id: Ia88bac78c9933d161cd5718e8ff1729aa5a692e1
2018-05-01 22:12:38 +02:00
Ed Sanders c059082a8f Rebase: Use i18n for subpage title
Change-Id: Ibea75035cc1af0c1c215f6038435ca9657c44984
2018-05-01 10:29:51 +01:00