Commit graph

11616 commits

Author SHA1 Message Date
jenkins-bot ab312407f7 Merge "Simplify GlobalBlocking code" 2016-04-25 22:39:21 +00:00
Alex Monk 6b7551112d Use correct case to access ve.ui.MWCategoryItemWidget.prototype.sortKey property
Otherwise we just record undefined as the original sort key and never
allow blank sort keys.

Bug: T92632
Change-Id: I7f37a8a33c54186ec6f0f74e374c591d5428b119
2016-04-25 23:18:09 +01:00
Bartosz Dziewoński 2ff4195772 Simplify GlobalBlocking code
Depends-On: I2893b9e24173d21fe518c360f6c6add363cc7b23
Change-Id: I242e5daaeda4e981099228ffa860b274a9794127
2016-04-25 23:55:22 +02:00
Translation updater bot 0c71085d52 Localisation updates from https://translatewiki.net.
Change-Id: Ib768ec5b86b9db81ec6730948e7384f831900091
2016-04-25 22:49:44 +02:00
jenkins-bot fd5e61582e Merge "Remove IE9 from blacklist, but don't add to whitelist (yet)" 2016-04-25 19:14:34 +00:00
David Lynch 8bb1399c97 Select the label properly when converting LinkNode to LinkAnnotation
We were selecting outside the annotation, when converting a LinkNode to a
LinkAnnotation. This meant that typing would overwrite the annotation as well
as the label. Speculatively, this is probably a side-effect of recent changes
to how nails and cursor offsets interact.

Bug: T121448
Change-Id: Ib2274bc5857294c5b691b3c3567b135d68bfa596
Depends-On: I3954c7f8f8e5870b13a8f6c4f0e86fb3b20b3cd3
2016-04-25 11:56:39 -05:00
Ed Sanders 61d5ae3d5d Don't expand link selections when opening with '[[' sequence
This mimics what would happen if you were actually typing wikitext.

Bug: T133516
Change-Id: I737313e6aaa5e4517c9f7f18faa5570a31395e03
Depends-On: If8ab31a7eacb4d8fa6d9787b7ac9872be0de04e7
2016-04-25 08:48:53 -07:00
James D. Forrester f060555f66 Update VE core submodule to master (8b527eb)
New changes:
e91934c ce.Surface: Convenience function for selecting node contents
713c09c ve.ce.SectionNode.css: Convert spaces to tabs
ff4ed2c Use custom mime type clipboard data when Firefox >= 48
84b787b Give Chimera's layout for when then are the only thing in a branch
d85598a Simplify clipboard to only store last-copied slice
dda9863 Only move selection to pasteTarget if it is non-native
7b85870 Separate clipboard API support from custom mime type support
46deb10 Remove unnecessary temporary variables
8492168 Allow the link inspector to open without expanding the selection

Change-Id: I1926e88b89aef23f5a0f2c6e28c874549e4b9e18
2016-04-25 08:40:53 -07:00
Translation updater bot 7f9ab36d6a Localisation updates from https://translatewiki.net.
Change-Id: I082b61486f45d155f10df7645c72c32089e2e2a3
2016-04-24 22:37:58 +02:00
Translation updater bot 247a96ab1f Localisation updates from https://translatewiki.net.
Change-Id: Iba208728fdee4e84e230a001e8137d7b6ace2fb0
2016-04-22 22:25:23 +02:00
jenkins-bot a825845ad5 Merge "Move monobook global overlay styles to generic DesktopTarget" 2016-04-22 16:37:55 +00:00
jenkins-bot ddb37b3921 Merge "Add method that runs after activation, for overriding" 2016-04-22 16:30:42 +00:00
Ed Sanders 6efd583ff7 Add method that runs after activation, for overriding
Change-Id: I046583e61f328baddb0c09eaff122e991c85f992
2016-04-22 17:17:56 +01:00
Ed Sanders 9898b7ea2c Move monobook global overlay styles to generic DesktopTarget
Fixes the font size in non-article desktop targets,
e.g. Flow.

Change-Id: I8f7e0af5061ef5dda2564b62e9b94e606ca77799
2016-04-22 12:42:52 +01:00
jenkins-bot faed98a7c6 Merge "Create MW targets using a factory" 2016-04-21 22:25:37 +00:00
Translation updater bot a18be53e3d Localisation updates from https://translatewiki.net.
Change-Id: Ifa769984c966bdc6bdcaa5f98168d1828fe67b97
2016-04-21 23:00:09 +02:00
Ed Sanders 7a007e2874 Create MW targets using a factory
Move the existing static property 'name' to 'trackingName'
to make way for a real registry index.

Change-Id: Iab0d5be611ece7038234551c4847b07517b4348d
2016-04-21 21:06:39 +01:00
jenkins-bot d83a089a50 Merge "Update VE core submodule to master (bf91965)" 2016-04-21 19:29:25 +00:00
jenkins-bot 637fae8903 Merge "Do not call saveSettings() on anon users" 2016-04-21 16:02:29 +00:00
Aaron Schulz 2c877414c3 Do not call saveSettings() on anon users
Also actually check wfReadOnly().

Change-Id: I83e78532c66039e9764e70246bd6597a2bf4e60f
2016-04-21 08:28:27 -07:00
jenkins-bot 4b4c52c334 Merge "Use Array.prototype.indexOf in support check" 2016-04-21 15:27:20 +00:00
Ed Sanders 7576810b28 Use Array.prototype.indexOf in support check
The SupportCheck method asserts that the method is available so use it
instead of the confusingly named jQuery version.

Change-Id: I2105384cc4f6f2ec1cdb24a7bf3b0f4cce7672d3
2016-04-21 12:41:13 +01:00
Alex Monk 0bbe2e38ee Add a popup after switching into VE from WTE
Bug: T131066
Change-Id: I2294da7d09dfbacb9187aba5e6e703511cec3c9f
2016-04-20 18:46:00 -07:00
James D. Forrester 0bfad0e203 Update VE core submodule to master (bf91965)
New changes:
443bb73 Restore OOUI PNGs for IE9
7970a6e Remove feature check for classList
8a40565 Fix getNodeClientRectFromRange to work better with nails
6657dc8 Update OOjs UI to v0.16.6
436b74a Fix pasting in IE<=10
53ca31f Fix node drop in IE9
01e0256 Remove comment about testing 'beforepaste', not required
f7f5d71 Debounce selection change events to avoid nested model changes

Change-Id: Idf3bbaa066ed857e392b91b99afa222e6f168ed5
2016-04-20 16:50:09 -07:00
Translation updater bot ad436e29ff Localisation updates from https://translatewiki.net.
Change-Id: Ib7b2fce6436cb6d4407f08724cd396e9553033de
2016-04-20 23:15:50 +02:00
Ed Sanders 4479633159 Remove IE9 from blacklist, but don't add to whitelist (yet)
This puts IE9 on the greylist, meaning it will open but with
a warning.

Bug: T133094
Depends-On: I817b286e16b7923dd4dd456467466a0128805da1
Change-Id: I55fcbd1b7c4a82e11d61d3b93b4fdb7e992fba1d
2016-04-20 00:10:26 +00:00
jenkins-bot 0f60df5d9e Merge "Defer before restoring scroll position, and allow 0" 2016-04-20 00:01:14 +00:00
Ed Sanders a6aa6daa28 Defer before restoring scroll position, and allow 0
Bug: T131791
Change-Id: Id48b913effe5313c193ce62b19faf5655278ff6d
2016-04-19 21:42:09 +01:00
Translation updater bot 7a8434da55 Merge "Localisation updates from https://translatewiki.net." 2016-04-19 20:30:29 +00:00
Translation updater bot 411b2e5421 Localisation updates from https://translatewiki.net.
Change-Id: I76cac451fdc00f764ecf03a074436322323cf2de
2016-04-19 22:24:01 +02:00
Alex Monk 1e04640d02 Depend on postEdit code which we use after saving
Usually this gets loaded by MW core's Article::view, but that never gets run if
we loaded on action=edit

Bug: T132825
Change-Id: I1511bea947c976cea87d92efcb2e756dc7f7c55a
2016-04-19 19:12:15 +01:00
jenkins-bot 55bd71d164 Merge "Update VE core submodule to master (d6c6a85)" 2016-04-19 01:52:47 +00:00
James D. Forrester 5308a47e96 build: Bump various devDependencies to latest
grunt                  0.4.5  →  1.0.1
 grunt-cli             0.1.13  →  1.2.0
 grunt-banana-checker   0.4.0  →  0.5.0

Change-Id: Idcd66807d03c85005ca97f5563251e814d15813b
2016-04-19 01:37:25 +00:00
James D. Forrester be1809c35d Update VE core submodule to master (d6c6a85)
New changes:
c48d7cc Add support for placing a toolbar dialog in the side margin
ee7e14b FindAndReplaceDialog#renderFragments: Protect against null surface
fc61463 Fix dm.Surface#getHistory to not return undone items
f1dff2f Introduce ve.Range#overlapsRange method
f608958 Introduce dm.Surface#getModifiedRanges
db114ed Move debugging data-url GIFs to a debug only file
1dd8194 Update RangeFix to 0.2.0
706ff4e Add 'Support: [browser]' to browser hack comments
4f52afc Inline slugs: Limit Firefox hack to versions <38
bf73326 Add classList polyfill for IE9
59d78aa Fix access of iframe-created document in IE9
a886ae1 Hide borders on linked images in IE9
5293974 Fix double-click to edit table cells in IE9
a49a02f Add some more Support: comments

Depends-On: I9c5cea3e8df1fae001d4d98c0782a04dec803776
Change-Id: I460368f509a213464e57bb95f2d726305ef608de
2016-04-18 18:34:20 -07:00
Translation updater bot c8359c9c5d Localisation updates from https://translatewiki.net.
Change-Id: Iee3d68d581c1392ef45cfcd2710c36d83cf95043
2016-04-18 22:23:58 +02:00
jenkins-bot ce4995b50c Merge "Restore original WebRequest after we're finished messing with FlaggedRevs on save" 2016-04-18 07:54:53 +00:00
Translation updater bot ddbafee1e4 Localisation updates from https://translatewiki.net.
Change-Id: If9d3d7ff71b15c2ff3519ee9bf59154be6d99417
2016-04-17 22:20:31 +02:00
jenkins-bot d4f9a85f27 Merge "Set mw.libs.ve.EditingTabDialog.static.message instead of passing it to setup data" 2016-04-17 17:49:28 +00:00
jenkins-bot 227de9cfef Merge "Close VE SET dialog when we deactivate" 2016-04-17 17:43:01 +00:00
jenkins-bot 299027e528 Merge "Don't select edit tab when VE is opened while user has prefer-wt pref" 2016-04-17 17:39:56 +00:00
jenkins-bot 25fb8ce692 Merge "Only style originalContent when VE is active" 2016-04-17 17:31:05 +00:00
jenkins-bot e357f19f6b Merge "EducationPopup: Give pulsating blue dot an initial opacity of 0" 2016-04-17 17:28:03 +00:00
jenkins-bot 09ed9130e0 Merge "Replace transitionend event with setTimeout" 2016-04-17 17:24:30 +00:00
Translation updater bot 7c18e19eaf Localisation updates from https://translatewiki.net.
Change-Id: I379df9b3b27dfc8b007da7710faf02b71502ae04
2016-04-16 23:16:25 +02:00
Alex Monk 83ce0c3db3 Restore original WebRequest after we're finished messing with FlaggedRevs on save
Also mess with title so it actually appears to work again

Bug: T131633
Change-Id: I36229807d15f93879f8699a015d105815047eb6c
2016-04-16 13:25:35 +01:00
Translation updater bot 3f33dd5309 Localisation updates from https://translatewiki.net.
Change-Id: I52858a699489c4fa8d2ef09963f9e57a0cce8a7f
2016-04-15 22:21:49 +02:00
Alex Monk 4ccc1ad5af Don't select edit tab when VE is opened while user has prefer-wt pref
You can still open VE with prefer-wt mode by going to veaction=edit, and
T116406 proposes making it accessible with a keyboard shortcut as well.

Change-Id: Ifc25b5147a96a200ac3a7de465d5cdf67e2e255b
2016-04-15 02:37:46 +01:00
Alex Monk 89ed0ccbf5 Only style originalContent when VE is active
Otherwise there is a white block above the resulting content after save

Change-Id: If9239556ed5b1038aa86e4ba161da2abfd9e6bf2
2016-04-15 02:26:44 +01:00
Translation updater bot 3a05797ea5 Localisation updates from https://translatewiki.net.
Change-Id: I3f0b46e53c0dd708d744452925e274a3ad024445
2016-04-14 22:38:43 +02:00
Ed Sanders 4d40a9df80 EducationPopup: Give pulsating blue dot an initial opacity of 0
This makes it degrade to a small dot instead of a huge dot in
browsers which don't support animation (IE9).

Change-Id: Ia457b3caf35ff0ffe7287b2b1e395860d5dbd7d0
2016-04-14 16:22:04 +01:00