Commit graph

15471 commits

Author SHA1 Message Date
Ed Sanders 970cca735d Suppress slugs between floated images
Logically depends on Idb4a58fa616 in core.

Bug: T107745
Depends-On: Idb4a58fa616dedb29d42bdf659a7497451f8eb6c
Change-Id: I206bf1a15cbac487b0d937a1b0447e0b9113156e
2019-03-21 11:33:27 +00:00
Translation updater bot 7e3e7e9c5a Localisation updates from https://translatewiki.net.
Change-Id: I660e306b25946b528ce9e40c4f66ff62fb4834d6
2019-03-20 22:27:35 +01:00
Translation updater bot f6d082926b Localisation updates from https://translatewiki.net.
Change-Id: Ida951876a80d41457d44689ed382d238d3af5765
2019-03-19 22:17:11 +01:00
jenkins-bot 074973f01d Merge "Remove special handling for category and file pages" 2019-03-19 19:24:13 +00:00
James D. Forrester 6f6d80416a .gitmodules: Update gerrit URI syntax, deprecated ages ago, now unsupported
Bug: T218694
Change-Id: I61a5e68e74176f9f25bddf154eb100b224a018f5
2019-03-19 16:49:03 +00:00
jenkins-bot 2101a0f661 Merge "Directly call action=query&prop=langlinks from JS rather than PHP wrapper" 2019-03-19 14:32:21 +00:00
jenkins-bot e93c127e5c Merge "ApiVisualEditor: Fix PHP warning caused by unexpected API metadata" 2019-03-18 22:30:35 +00:00
Bartosz Dziewoński a5c5257e71 Directly call action=query&prop=langlinks from JS rather than PHP wrapper
When this code was written in 2013 (1a5bdd5bd2),
the langlinks API did not have a way to return the language names (autonyms).
This has been added in 2014 (4ba3a9aea96ee21c035c69999be23580e23f4e0a).

Change-Id: I70edb846d94b1108b079caf5915532234190da8f
2019-03-18 23:27:44 +01:00
Translation updater bot d0d7cc8745 Localisation updates from https://translatewiki.net.
Change-Id: I3374f163e15c8aa263eace13ffbe331992a17d9f
2019-03-18 23:08:06 +01:00
Bartosz Dziewoński c0ab5133eb ApiVisualEditor: Fix PHP warning caused by unexpected API metadata
Bug: T218464
Change-Id: I272ca718932cb9cd57d121c9f564c64e11f9deff
2019-03-18 23:01:09 +01:00
Ed Sanders f3b7a6d4c8 Update VE core submodule to master (a61616907)
New changes:
360cc0a48 ve.ui.FragmentInspector: Add test case for collapsed selection inside a word that is partially linked
8369d69ef Update OOUI to v0.31.0
293215d32 Always give inline slugs an src
7f78e9502 ContentEditableNode: Disable spellcheck when read-only
8bb1eb598 Scroll 60px past toolbar on iOS too to avoid context menu clash
5221db7a0 Hide the caret (text cursor) when read-only
d66826a0d Set Chrome inline slugs to 0px width instead of adding src

Bug: T202723
Bug: T217510
Bug: T217740
Bug: T218331
Change-Id: I2e961f2b753e68793518eb4bcfbb7b3e8b5c8347
2019-03-18 20:53:46 +00:00
Translation updater bot daba809646 Localisation updates from https://translatewiki.net.
Change-Id: I97bf413440429a50d4d9fcec7e190d503dc8c4a7
2019-03-17 22:14:27 +01:00
Translation updater bot a6688dd9dc Localisation updates from https://translatewiki.net.
Change-Id: I56baad3df8728023d3304d9ddf5a7a3c04114973
2019-03-15 22:37:08 +01:00
Translation updater bot 2ca6dc4b16 Localisation updates from https://translatewiki.net.
Change-Id: I1a707baf22839ed19b18df8ad781d5867becfc41
2019-03-14 22:52:17 +01:00
Translation updater bot f0b719cb89 Localisation updates from https://translatewiki.net.
Change-Id: I41e1b0ad5a21ec80d676ecaf4d33b27de67dfd29
2019-03-12 22:29:36 +01:00
Umherirrender de8b4b5d29 Use php null coalesce operator ??
Change-Id: I756fa99084cbb86357ac840b3338d296863eecc4
2019-03-12 21:27:47 +01:00
Ed Sanders 21ade64903 Update VE core submodule to master (8f10e06af)
New changes:
7c3584a4f Add test coverage for FragmentInspectors
78104cf8f Refactor AnnotationInspector for readability
d1b8ed35a Localisation updates from https://translatewiki.net.
682d83545 Follow-up Iefaaa2a7e70: Fix replace mode to clear existing annotations
b9d750dd8 Add more inspector tests
c099abbfc Make CommentAnnotations multiline

Bug: T217957
Change-Id: I381794c1af755cc7e4aea520aca20c6cbfc75dd2
2019-03-11 17:17:44 +00:00
Translation updater bot 037670c884 Localisation updates from https://translatewiki.net.
Change-Id: Id0c7f99773f190954d527b3d1e2a2f8c74e0c861
2019-03-10 22:27:59 +01:00
jenkins-bot 73063b4f8c Merge "Fix section param in historical diffs" 2019-03-09 01:14:40 +00:00
jenkins-bot a7f2bfc344 Merge "ve.init.mw.ArticleTargetLoader: Better document pageName parameters" 2019-03-08 23:28:51 +00:00
Bartosz Dziewoński 7acbc4d44c ve.init.mw.ArticleTargetLoader: Better document pageName parameters
Bug: T217826
Change-Id: If136b7b9dc747a75062f88f8decc1128938fee9f
2019-03-08 22:46:10 +01:00
Translation updater bot 891a03b400 Localisation updates from https://translatewiki.net.
Change-Id: Ib5310ae8551c7edb52fcc8373f8fdc0a6f2d0869
2019-03-08 22:29:38 +01:00
jenkins-bot f501a5238b Merge "Fix return type of ApiVisualEditorEdit::saveWikitext" 2019-03-08 20:50:04 +00:00
James D. Forrester b5d433df21 Update VE core submodule to master (da38da984)
New changes:
e2a8e4f0d Fix AnnotationInspector read-only support
4f27ec68c Localisation updates from https://translatewiki.net.
cdbe0321b Update OOUI to v0.30.4
da38da984 Follow-up I74d1dbc6: Use isNew instead of isEditing

Bug: T217454
Change-Id: I4eee93150591b934c342017fbd58688d5e4cae16
2019-03-08 16:00:10 +00:00
Translation updater bot c2e57532e4 Localisation updates from https://translatewiki.net.
Change-Id: I8992271c6abbf90c2a123b026a06231c5f1e8bfc
2019-03-07 22:41:09 +01:00
Ed Sanders 2e33841b5a Fix section param in historical diffs
Passing section=undefined resulted in no <section> tags being
unwrapped, which broke the historical diff. Ensure 'null' is
used instead for whole documents.

Bug: T217752
Change-Id: Iec33e6ab83bfbd011df9dc05f4daccc26b1df8b5
2019-03-07 12:01:44 +00:00
jenkins-bot 085f21792b Merge "rebaser: pushState when calling showForm" 2019-03-06 12:13:02 +00:00
Translation updater bot 9b66e337b9 Localisation updates from https://translatewiki.net.
Change-Id: I74ed5d2d3ce6daa0719326785f320fbf6a780380
2019-03-05 22:43:00 +01:00
Translation updater bot 9445ffe80c Localisation updates from https://translatewiki.net.
Change-Id: I58146345f729b744a3054d92ab1ffa7a53bbae9f
2019-03-04 22:16:25 +01:00
jenkins-bot 476ffbba68 Merge "Use DerivativeContext in ApiVisualEditorEdit" 2019-03-04 19:09:19 +00:00
Umherirrender c9a3bf9fa5 Use DerivativeContext in ApiVisualEditorEdit
Using DerivativeContext also makes the code easier to read.
getContext() returns an IContextSource, in this interface has no
setRequest() method and this can fail for some kinds of IContextSource.
$view is a ContextSource, which implements setContext().
This also allows us pass in a new context with the right request object,
and also to set the title so we don't have different titles
on $view and the main context.

Change-Id: Ia575cd6163defeb423a542e342034cac5eb6108c
2019-03-04 18:36:47 +00:00
jenkins-bot 5aec469952 Merge "rebaser: Fix export dialog title" 2019-03-04 14:49:46 +00:00
jenkins-bot fefc7351a6 Merge "MWTransclusionNode: Comment strange matchTagNames values" 2019-03-04 14:49:43 +00:00
Ed Sanders b3a35790c1 rebaser: Fix export dialog title
Change-Id: Ib76adbdb8b6547e42968f73cc196d7b8817e25f0
2019-03-04 14:26:39 +00:00
Ed Sanders b0b8194faf rebaser: pushState when calling showForm
Change-Id: Id650acbcc4d0ba699fa1264acfd8ab6249315806
2019-03-04 13:25:26 +00:00
jenkins-bot f3cb757811 Merge "rebaser: Bind special tab click to showForm" 2019-03-04 04:44:26 +00:00
Reedy 2fb0ed0269 Use ExtensionRegistry rather than class_exists
Change-Id: I6e8fb5e5f3a9ef5b8ba4787c43ee1216ea03bd7e
2019-03-02 23:29:09 +00:00
Umherirrender a07ad01594 Use ::class for class name resolution
Available since php5.5

Change-Id: I9392155193275d20a82bde8eb7964d466e190f6b
2019-03-02 23:46:12 +01:00
Translation updater bot 995ec0d78b Localisation updates from https://translatewiki.net.
Change-Id: Icb60c2437b009b5aa249dc15eeff653b7ea98ba5
2019-03-02 22:42:50 +01:00
Umherirrender 8c1eda388e Fix return type of ApiVisualEditorEdit::saveWikitext
Change-Id: I523d8097b39d80fc7082c64009b49b36f8a296a7
2019-03-02 18:04:14 +00:00
jenkins-bot 266a2bf036 Merge "ApiVisualEditor: Separate out templatesUsed from metadata" 2019-03-02 01:49:06 +00:00
jenkins-bot b704f73418 Merge "Update VE core submodule to master (226ff19e5)" 2019-03-01 22:09:29 +00:00
Ed Sanders 9aee6bb5d1 MWTransclusionNode: Comment strange matchTagNames values
Change-Id: Ica207be94e5cc888c4454989d2fd6e9b5579a8ea
2019-03-01 16:16:20 +00:00
Translation updater bot 4417a03043 Localisation updates from https://translatewiki.net.
Change-Id: Ica9cab46151e7bd35e500defd56510a48fa8d98e
2019-02-28 22:25:23 +01:00
Ed Sanders e18bdf3f49 Update VE core submodule to master (226ff19e5)
New changes:
5bb361510 Use cursor:pointer for ctrl+click on links
9ef54ef3e Suppress branch slug hover animation when dragging
67f182f0b Remove -moz-user-select:none from hack and buttonElement
011787624 Don't draw selection highlight inside block slug after selecting across it
930b9cd63 Build source maps for ve dist files
7faede30e Upgrade DOMPurify 1.0.2 -> 1.0.10
088cc494d rebaser: Log user events at 'trace' level
a329241ac Fix missing rename of displayName -> name
0cdb328b7 Remove double connection hack
226ff19e5 Fix check in paintAuthor

Bug: T214976
Bug: T216879
Bug: T217047
Change-Id: I2b3cca331892d119e2e5f0cda4a35dd91111d9ac
2019-02-28 20:54:47 +00:00
Ed Sanders 6f60b780ff rebaser: Bind special tab click to showForm
Change-Id: I3207c50b2515356833c19c7d46c69af4918dfa58
2019-02-28 19:20:14 +00:00
jenkins-bot ba5589f801 Merge "ve.init.mw.DesktopArticleTarget: Remove some unnecessary toolbar setup code" 2019-02-28 13:19:30 +00:00
jenkins-bot d17d9ae768 Merge "Allow page title heading to be selected while editor is active" 2019-02-27 12:50:21 +00:00
jenkins-bot 3ccbc96fa7 Merge "When rendering categories, hide/show catlinks as needed" 2019-02-26 19:52:37 +00:00
David Lynch b1863f4b25 When rendering categories, hide/show catlinks as needed
Catlinks is hidden via a class when there are no non-hidden categories on the
page. We thus need to toggle that class depending on the categories
added/removed from the page.

Bug: T213528
Change-Id: I4067c5721c28041542b9ef2dbc796fbc41b1afe8
2019-02-26 11:26:27 -06:00