Commit graph

11391 commits

Author SHA1 Message Date
Translation updater bot 7546362fa9 Localisation updates from https://translatewiki.net.
Change-Id: I7bade8021975fc1c3e2426211e6805a913f07891
2016-02-28 22:00:32 +01:00
jenkins-bot 70a9cee5f3 Merge "Update VE core submodule to master (0371bbe)" 2016-02-28 01:12:55 +00:00
jenkins-bot 03448253b3 Merge "Revert "Compress PNGs with zopflipng"" 2016-02-28 00:29:30 +00:00
Legoktm 7ebac23f86 Revert "Compress PNGs with zopflipng"
This reverts commit cbb7831938.

Change-Id: Ide4880a4a980847bb14cc5880662a4d2142581b8
2016-02-28 00:07:50 +00:00
Alex Monk ade0862db1 Give a useful message in the temporary blank edit screen
Bug: T128028
Change-Id: Ife0a9de96965a9848f362696fc403708fd344825
2016-02-27 21:42:10 +00:00
Translation updater bot e7ad07513a Localisation updates from https://translatewiki.net.
Change-Id: I88bf6d9f401bfbeab5e256a3b6169541ce8ac0eb
2016-02-27 21:59:35 +01:00
James D. Forrester ab4d3e956b Update VE core submodule to master (0371bbe)
New changes:
0371bbe [BREAKING CHANGE] Refine VisualEditorSupportCheck call and document pattern

Local changes: Use new VisualEditorSupportCheck pattern

Change-Id: I7dc0c360b54a93397180b18d88d72532e439da5c
2016-02-26 12:26:56 -08:00
Ed Sanders 34d607d546 EducationPopupTool: Use vendor prefixes for animation
Bug: T128133
Change-Id: Ic061b50e1ed68ea35ac0ccbefbcb5252f917d35f
2016-02-26 15:34:06 +00:00
Ed Sanders 8f028813e5 CategoryWidget: Update to work with new DraggableGroupElement
Change-Id: Iefac99dba0e6b8ed3eaaa1d5f1d92e402e3cf2db
2016-02-25 16:07:50 -08:00
James D. Forrester e7db4517d1 Update VE core submodule to master (8450592)
New changes:
cea967f Use upstream highlightQuery method in OOUI
07bcff1 Update OOjs UI to v0.16.0
6296fd4 Handle Enter keyPress without matching keyDown
3c2a3b4 Localisation updates from https://translatewiki.net.
c2d64c9 GeneratedContentNode: Check model existence before using
c1a350a FindAndReplace: Always focus dialog when using command
cdd9581 Follow-up I534ce003: Surface#getViewportRange: Fix typo

Change-Id: I4c61e85d43486731e0b20d3a26f23fabe7482861
2016-02-25 15:54:27 -08:00
Alex Monk ced27f348f Show welcome dialog on mobile too
Bug: T112599
Change-Id: Ie04aab468c80dabc84e1386e7529138e1101450e
2016-02-25 22:03:00 +00:00
Translation updater bot cef228ec1d Localisation updates from https://translatewiki.net.
Change-Id: I8a8e0b9b879d18d8011821e49dc8c23624652a38
2016-02-25 22:22:09 +01:00
jenkins-bot 7bef4c9a20 Merge "Warn for empty summary when edit section used" 2016-02-25 18:56:57 +00:00
Translation updater bot 48a2404923 Localisation updates from https://translatewiki.net.
Change-Id: I0a5b177af81d7f05a86b18f5089a76545b2b8860
2016-02-24 22:03:55 +01:00
jenkins-bot 222a5361ba Merge "[BrowserTest] Fix ve.init is undefined error messages in Selenium tests" 2016-02-24 17:56:57 +00:00
jenkins-bot 79d8849b49 Merge "Make surface measurable while activating" 2016-02-24 01:33:47 +00:00
Translation updater bot 4fdef459ae Localisation updates from https://translatewiki.net.
Change-Id: I32522ae9e647712d6256174fade8e0314808b739
2016-02-23 22:35:50 +01:00
Ed Sanders 229a088f34 Make surface measurable while activating
If the surface is display:none then $.width always
returns 0, which breaks features like FocusableNode's
invisible icon.

Bug: T127319
Change-Id: Ib157ffaeb56fca2bdc26868d830c4bf8feafa2a8
2016-02-23 17:05:09 +00:00
wctaiwan 5da37932a2 Warn for empty summary when edit section used
Warn the user about an empty edit summary when the "edit section"
link is used to trigger VE.

Re-does Ic7b456ca a different way.

Bug: T114857
Change-Id: I319c9c5bed47140a81eb409d490c9f82b89a49fe
2016-02-23 00:34:12 +00:00
jenkins-bot 1b7921c060 Merge "Update VE core submodule to master (2279bbb)" 2016-02-23 00:20:10 +00:00
jenkins-bot b616785927 Merge "Put jquery.uls.data dependency in the correct place" 2016-02-22 23:24:35 +00:00
Ed Sanders 63c207b183 Put jquery.uls.data dependency in the correct place
This module is (and always has been) referenced by
ve.init.mw.Platform, so ensure it is loaded before that.

Previously this was not a problem because it was inside a
function that was never run unless the language search widget
was invoked.

This probably makes a good case to not put these functions
in platform, but that is for another day.

Bug: T127736
Change-Id: I119b27a397b15628a8de5f0b32ae636bc73a8ba4
2016-02-22 22:31:30 +00:00
James D. Forrester 7d75361201 Update VE core submodule to master (2279bbb)
New changes:
bf122f6 Check node is an element before doing classList.contains
9e72ee8 Localisation updates from https://translatewiki.net.
5ebe94c Language widget: Use 'super' for parent methods
5a5adef Localisation updates from https://translatewiki.net.
6ac4f1a LanguageSearchWidget: Simplify prefix search
285a31a Localisation updates from https://translatewiki.net.
458cb58 Localisation updates from https://translatewiki.net.
8607a1a Documentation consistency
2279bbb Localisation updates from https://translatewiki.net.

Change-Id: I68c9ebccd3d482079261ab9357be46e05fa18f08
2016-02-22 13:38:51 -08:00
jenkins-bot 74b2489276 Merge "Link to file description pages in media dialog" 2016-02-22 21:07:43 +00:00
Translation updater bot ed26366723 Localisation updates from https://translatewiki.net.
Change-Id: Ib209a100469a77418cc66174d69bc6955101a7a3
2016-02-22 21:42:37 +01:00
jenkins-bot 0b8f6b576d Merge "Transclusion dialog: Simplify example/default value labels" 2016-02-22 15:48:07 +00:00
Ed Sanders 816fca78e8 Transclusion dialog: Simplify example/default value labels
'Value' comes across as a bit technical. 'e.g.' is more common
for 'example value'. Truncate 'Default value:' to just 'Default:'.

Change-Id: Ie03fb64a01846071ccdcb673439fc568b9d0de78
2016-02-22 15:40:19 +00:00
jenkins-bot 705fc76e62 Merge "MediaDialog: Use CC logo from upstream (ooui-icons-wikimedia)" 2016-02-22 06:34:05 +00:00
jenkins-bot 0f9a09be73 Merge "Make platform language functions actually work" 2016-02-22 06:34:02 +00:00
Ed Sanders 083182debd Make platform language functions actually work
Previously arguments were not getting passed through.

Change-Id: I19fbd6f8a7f32163a85dda01fa46ac56a8c78cf8
2016-02-22 00:05:05 +00:00
Translation updater bot 56e29facc9 Localisation updates from https://translatewiki.net.
Change-Id: I8f4817ee86f71cf8233069b48b5dfd842d0fadff
2016-02-21 22:30:14 +01:00
Ed Sanders deb676e73d MediaDialog: Use CC logo from upstream (ooui-icons-wikimedia)
Change-Id: I4fabf5f8d87b9b21623883203b9d6965a0ff33a0
2016-02-21 18:20:30 +00:00
Alex Monk ca5cab52af Link to file description pages in media dialog
Bug: T125227
Change-Id: I243f5479ab27ab098d41db08ff4a53195d382577
2016-02-21 03:45:37 +00:00
Ori Livneh cbb7831938 Compress PNGs with zopflipng
Zopfli is the most efficient DEFLATE compression algorithm, trading run-time
performance for file sizes that are typically 3-8% smaller than those produced
by zlib with the maximum compression setting. Its output is Deflate-compatible,
so no specialized decoder is needed.

This change was created by running zopflipng against all the PNG files in this
repository. The exact invocation was:

  git ls-files --exclude-per-directory=.gitignore -- '*.png' \|
    parallel zopflipng -m -y {} {} \;

Files which zopflipng was not able to compress more efficiently were left unmodified.

Bug: T127608
Change-Id: Id5807b1ec56320b3474878290dd05600c1e389d5
2016-02-21 00:14:58 +00:00
Translation updater bot 3fd583d1d7 Localisation updates from https://translatewiki.net.
Change-Id: I035d1386ec12fdcd6152cf25a029d9c133c7c1f9
2016-02-20 22:25:46 +01:00
Translation updater bot d300f6a1ff Localisation updates from https://translatewiki.net.
Change-Id: I826fa20c2850c5711e81863104d39453daaa40b3
2016-02-19 22:12:30 +01:00
jenkins-bot 30e6acfff2 Merge "MWMetaDialog: Fix setup of pages" 2016-02-19 19:52:55 +00:00
Ed Sanders 15a47665c8 Meta dialog: Use window action to open windows
Because abstraction.

Change-Id: I9811db4380c6cf37a73a76b97c8439f94723c5a6
2016-02-19 17:37:42 +00:00
Translation updater bot acc2347eee Localisation updates from https://translatewiki.net.
Change-Id: I7dae6beab2b97fefffa0bdc72766e553da7a4c75
2016-02-18 22:18:44 +01:00
James D. Forrester 6e6ac1656f MWPopupTool: Update Phabricator URL broken by upgrade
Change-Id: I17fc6178729e246643e999e622b84e34fc7959b3
2016-02-18 11:24:00 -08:00
Ed Sanders b70eb51491 MWMetaDialog: Fix setup of pages
Only call setup in ready process, as setup includes setting
focus. Defer fitInput call to category widget until transition
is finished so measurements are correct.

Change-Id: I49a30402cf58e36f16316e3ab04fa3349d19954e
2016-02-18 17:14:45 +00:00
Ed Sanders 704ec7ad3f MWCategoryWidget: Improve caching
For every title request, store an entry in noramlizedTitle to
avoid ever making an API request for that category again.

This prevents API requests from being fired every time a
category was moved, which in turn prevents the list from
flickering as it waits for the API request to resolve.

Also normalise the spelling of normalize to en-US/en-GB-oxendict

Bug: T127317
Change-Id: Ie26d9d60fb83981c45ff27199e38ae98e5560a28
2016-02-18 17:14:33 +00:00
Željko Filipin 60a08f925c [BrowserTest] Fix ve.init is undefined error messages in Selenium tests
All scenarios that are passing are enabled to run in Jenkins.
(The commit increases the number of passing scenarios from 2 to 18.)

Bug: T126966
Change-Id: I9789ca42717133120197c4625bb8dad4ea496aa8
2016-02-18 15:42:05 +01:00
Ed Sanders 7eeb136d94 MWCategoryWidget: Use namespace constants from config
Change-Id: I63661ce49dbb0fac62cb7dbd65c466cfdd6e57b0
2016-02-18 11:36:31 +00:00
James D. Forrester cebaacb546 Update VE core submodule to master (cdfd84e)
New changes:
c02ea46 Clarify documentation of directionality methods
43c9b6f Move initialisation browser support checking from downstream
c89be66 Localisation updates from https://translatewiki.net.
5fb7907 Follow-up c89be66: Fix build for added language 'nan'
fc74fab dm.ElementLinearData.compareElements: Add a few missed test cases

Local changes:
Use initialisation browser support checking from upstream

Depends-On: I27a8e7b4376647f01cee648de987dc3ca6a060d5
Change-Id: I3fc79422ee5e487cf5fae3929fe492f21cd2840a
2016-02-17 20:04:16 -08:00
jenkins-bot 0f2ef11ca3 Merge "build: Update mediawiki-codesniffer to 0.6.0, add "composer fix"" 2016-02-17 23:46:12 +00:00
Translation updater bot dabeb4218d Localisation updates from https://translatewiki.net.
Change-Id: Iaabe8dd045b2670aeb9fc0164fcb30f682f73b6c
2016-02-17 22:52:14 +01:00
James D. Forrester e7a3ec43bf build: Update mediawiki-codesniffer to 0.6.0, add "composer fix"
Change-Id: Ic96081539c2ae98b5b239b59ca9b0362b337e522
2016-02-17 08:18:02 -08:00
Alex Monk 83d8a7d9bb Don't remove .ve-activated after successfully activating
hideLoading always gets called after activating, not just failing

Follows-up: I13058ae1

Bug: T127184
Change-Id: I47d1892feacbfcf832aa32f689f173601b76c4ba
2016-02-17 15:36:18 +00:00
James D. Forrester f450c09e6e Update VE core submodule to master (33d090b)
New changes:
0e1f948 Localisation updates from https://translatewiki.net.
621f30e Localisation updates from https://translatewiki.net.
73c9829 FocusableNode: Bind position events later
75f2eb9 FocusableNode: Change mouseout events to mouseleave
6aeaabb Fix cache invalidation of SurfaceFragment.leafNodes
32ceee2 Share getSelectedNode logic between Surface and SurfaceFragment
a9782a0 ve.ce.Surface: Cache current selection
4fd5da1 Move model fallback for getDirectionFromSelection into method
b829a53 Move selection directionality to ve.ce.Selection
ba43c98 Replace some $.hasClass with Element.classList.contains
2beaa08 Localisation updates from https://translatewiki.net.
2ba1197 ce.TableNode#onSurfaceModelSelect: Table overlay optimisation
9d00622 Localisation updates from https://translatewiki.net.
33d090b Update OOjs UI to v0.15.4

Change-Id: Iab28b0513b075b4dfb1b207a55a0b297c3cea885
2016-02-16 18:27:53 -08:00