Commit graph

10123 commits

Author SHA1 Message Date
Translation updater bot f3ca976c84 Localisation updates from https://translatewiki.net.
Change-Id: I3a76ab4a4683f236d43b53691ac68a0d0f8b2f14
2015-07-21 21:48:58 +02:00
jenkins-bot 9924be7acc Merge "[BrowserTest] Add prefixes to language screenshot messages" 2015-07-21 16:38:34 +00:00
Translation updater bot 164be9e07a Localisation updates from https://translatewiki.net.
Change-Id: If9029fc72338d9db0e026ba8ab8b9f4c67b8c110
2015-07-20 21:59:30 +02:00
Bartosz Dziewoński 9134ec2d73 Disallow typing newlines in the edit summary
Prevent typing newlines by pressing the 'Enter' key on the keyboard,
like in a single-line <input type=text />; and filter newlines from
pasted / IME'd text.

Also:
* Use 'classes' config rather than .$element.addClass()
* Remove no-op 'tabIndex' setting (this is the default already)

Bug: T106325
Change-Id: I42d18f51f5ca989818577d6f045f6a516bb5b121
2015-07-20 13:57:25 +02:00
Amir E. Aharoni d231bcbb19 [BrowserTest] Add prefixes to language screenshot messages
Change-Id: I96c01763d1003619e9c8b0f549a53a1956dde16a
2015-07-20 00:24:42 -05:00
Translation updater bot 307c182569 Localisation updates from https://translatewiki.net.
Change-Id: I5c53115b8a2e7b1bf50a0e948da3e574680a5322
2015-07-19 21:39:56 +02:00
Ed Sanders 8e0394da5c Support command whitelist feature
Depends on I87d8aa3 in core.

Bug: T106061
Change-Id: I694e4e5a83f281da92380a895b72611141838f42
2015-07-18 18:20:49 -05:00
James D. Forrester 4365f6fc32 Update VE core submodule to master (8abd858)
New changes:
bf38d31 Provide a command whitelist feature for targets
d6ee41f Always prevent default on commands which trigger native CE behaviour

Change-Id: Ic3423e817765e96ff2b2458f4a8f49604259abc7
2015-07-18 18:18:58 -05:00
Ed Sanders bb46c34255 Update VE core submodule to master (edaa19b)
New changes:
aab2e90 Localisation updates from https://translatewiki.net.
826055a [BREAKING CHANGE] Rename SurfaceWidget to TargetWidget

Local changes:
* [PULL THROUGH] Rename MWSurfaceWidget to MWTargetWidget

Bug: T94066
Change-Id: If578e15c1ee7effd5ca1d6073521a6c59caac255
2015-07-18 17:19:05 -05:00
Translation updater bot fb78225f76 Localisation updates from https://translatewiki.net.
Change-Id: I2e20ea382c59661ad6c387cfe0798064b61f65c2
2015-07-18 22:04:02 +02:00
Vikas S Yaligar d42e10cacb [BrowserTest] Added screenshots scenarios for links and categories
Also minor cleanup of rspec old "should" syntax, changed all occurences to
"expect" syntax.

Change-Id: I0c2dfc18d06812ed9da2f6c0056c95b7755e5afd
2015-07-18 15:39:28 +00:00
James D. Forrester 9b29549894 Update VE core submodule to master (67936f9)
New changes:
252b491 Move repeated code in FileTransferHandler
64e4748 Localisation updates from https://translatewiki.net.
e16c52f Localisation updates from https://translatewiki.net.
c6f3136 Localisation updates from https://translatewiki.net.
6117b29 Follow-up c6f31365: Fix build for added language 'dty'
3caaf55 Localisation updates from https://translatewiki.net.
67936f9 Follow-up 3caaf55d: Fix build for added language 'li'

Change-Id: I4e7e38f6fbd0085440d5fcdd8b20526e31a989be
2015-07-18 09:52:10 -05:00
James D. Forrester 81c599ef0b Follow-up 8b7b20b9: Add new i18n directory to banana testing
Change-Id: Ic8612e9646af4a3bfd8228ef9e4fa4e8162881c9
2015-07-18 09:30:01 -05:00
jenkins-bot 0e5a6aca32 Merge "Don't set browser-prefixed transition CSS classes" 2015-07-18 05:35:45 +00:00
jenkins-bot 3d6af458dd Merge "ve.init.mw.TargetLoader: Error when RESTbase load call fails" 2015-07-18 05:21:37 +00:00
Kunal Mehta 0653804151 Don't set browser-prefixed transition CSS classes
jQuery will take care of this automatically: <https://api.jquery.com/css/#css2>.

Follows up bf56f56f3e.

Change-Id: I4db46fc70a5446a9ffc9f6d4375fae3b53609ee0
2015-07-17 16:31:56 -05:00
Translation updater bot 2db8d335f8 Localisation updates from https://translatewiki.net.
Change-Id: I56ecd8fe4e6957fa9af3b0b716b0589260b994c4
2015-07-17 22:26:26 +02:00
Vikas S Yaligar 8b7b20b934 [BrowserTest] Add true internationalized content support to language screenshot
* All translations will be in tests/browser/i18n folder
* Hebrew json’s are added, which needs to be translated.

Paired with Zeljko.

Bug: T105466
Change-Id: I4ae516758fb01a41f0dcf53c7cf3e609c7601cf3
2015-07-16 14:47:56 -05:00
Translation updater bot 43eb3493a8 Localisation updates from https://translatewiki.net.
Change-Id: I68b9b35168115f8007297d4a097c22976fc2f165
2015-07-15 21:43:32 +02:00
jenkins-bot 78a629f46b Merge "i18n: Remove references to 'VisualEditor', instead say 'the visual editor'" 2015-07-15 15:35:47 +00:00
jenkins-bot 4673181b50 Merge "Update VE core submodule to master (ac3e349)" 2015-07-15 03:30:06 +00:00
Translation updater bot 89b2054b0c Localisation updates from https://translatewiki.net.
Change-Id: I48e93e1833483204d1a877143b918edfe94a7680
2015-07-14 22:03:32 +02:00
James D. Forrester 96117c6775 Update VE core submodule to master (ac3e349)
New changes:
ac3e349 Update OOjs UI to v0.12.0

Change-Id: Idc79c6e45a5f758326fe694d5b7e68b0cbf89bb7
2015-07-14 11:31:05 -07:00
jenkins-bot df979caa64 Merge "Update VE core submodule to master (032799c)" 2015-07-13 20:51:12 +00:00
Translation updater bot 16263c9a67 Localisation updates from https://translatewiki.net.
Change-Id: I8b7e871ec998cfd7fe958405e5cb1785368f04f8
2015-07-13 21:36:33 +02:00
James D. Forrester 59a6c6b91a Update VE core submodule to master (032799c)
New changes:
e72ab31 Fix cursor wobble around chimeras
d8fde8f Localisation updates from https://translatewiki.net.
3f01020 Follow-up d8fde8f: Re-fix the build by adding the new 'la' language
43ad985 Localisation updates from https://translatewiki.net.
c0c4a56 Follow-up I8debce2c2: Fix build for added language 'hu-formal'
7276e5b demos: Fix horizontal scrolling bug

Change-Id: Iee3d71e32d8603cb2fba7227c19e552a879d24ea
2015-07-13 10:24:37 -07:00
jenkins-bot c451470224 Merge "Remove listeners from deprecated search widget 'select' events" 2015-07-13 15:17:22 +00:00
jenkins-bot b7631330a8 Merge "ve.ui.MWReferenceResultWidget: Remove unused 'divider' code and styles" 2015-07-13 15:11:48 +00:00
Ed Sanders 0c1eb0cf33 Remove listeners from deprecated search widget 'select' events
Attach listeners to search *result* widget 'choose' events instead.

Also, pass reference model as 'data' to MWReferenceResultWidget, instead
of index so we don't have to do a lookup later.

Change-Id: I8a9b7ddaa70e29406726ac8463582a8bcf813128
2015-07-13 17:06:28 +02:00
Ed Sanders 5fb8d3a4d0 ve.ui.MWReferenceResultWidget: Remove unused 'divider' code and styles
Also, tweak documentation.

Change-Id: Iaf5045bd65d0d484c8810f4bbe097d6710ca6e7e
2015-07-13 17:06:27 +02:00
Translation updater bot 3991fca8ea Localisation updates from https://translatewiki.net.
Change-Id: I0244f2550f52200365d17c181f3af1a0f127a8b3
2015-07-12 21:52:24 +02:00
Translation updater bot 2653374352 Localisation updates from https://translatewiki.net.
Change-Id: Icabe5b8d0612d0f0d3ba67043285c88fac733b4f
2015-07-11 22:08:20 +02:00
Alex Monk 7653dec439 ve.init.mw.TargetLoader: Error when RESTbase load call fails
No retry right now, but we should at least stop failing silently. Doing this
in a window.alert() for now, as OOUI isn't available at this part of the
page load just yet (that will be coming soon).

Bug: T97041
Change-Id: Iacb195667215ee69d3991e4c41651ab6042243c5
2015-07-10 18:13:37 -07:00
jenkins-bot b4cef1cf01 Merge "Never use original data optimisation when in clipboard mode" 2015-07-10 19:49:41 +00:00
Ed Sanders aeedd808cd Never use original data optimisation when in clipboard mode
In clipboard mode we need the full body regardless of if the reference
has changed since load or not.

Bug: T104230
Change-Id: Ie59e04d381f2fd2680e8af0cf05a80df71052822
2015-07-10 19:45:56 +00:00
Translation updater bot e45674e881 Localisation updates from https://translatewiki.net.
Change-Id: I37e335f6f0dcc739c06d67eaf20fdde4fc9c92ae
2015-07-10 21:16:58 +02:00
jenkins-bot 01af57dfba Merge "Update VE core submodule to master (80b68df)" 2015-07-10 18:38:34 +00:00
jenkins-bot 7fd00d9848 Merge "ApiVisualEditor: Ask Parsoid to 'scrubWikitext' on save" 2015-07-10 18:07:08 +00:00
James D. Forrester d5a8e3c5fc Update VE core submodule to master (80b68df)
New changes:
c8999f9 Localisation updates from https://translatewiki.net.
bdd56ca Fix padding in format dropdown
02ec278 Add checks to ve.ui.ContextItem#getFragment
5cb437d Localisation updates from https://translatewiki.net.
2a489d7 Make table editing less critically broken in Firefox 39

Change-Id: Icb27e9fa5d6b493c91d19d00ee49da18ef117a94
2015-07-10 10:59:32 -07:00
jenkins-bot 0f44091150 Merge "Bypass ve.ui.MWInternalLinkAnnotationWidget.prototype.getHref when determining text" 2015-07-09 23:22:48 +00:00
Translation updater bot dc66b82009 Localisation updates from https://translatewiki.net.
Change-Id: I99c36d2efef9db27b4956e5ca243f3666a72a1e1
2015-07-09 22:05:40 +02:00
James D. Forrester 2461f37fdc Update VE core submodule to master (baa21a8)
New changes:
dc27315 ve.SelectionState: DOM selection snapshot
6cd7d91 Emit context change when any annotations change, not just covered.
d2c98d5 demos: Default to 'simple.html' instead of 'aliens.html'
3685d17 Emit change when selection changes from collapsed to not
baa21a8 Update OOjs UI to v0.11.8

Change-Id: I8a1032263f84fc2bf3aa1495229ffab8f50589d6
2015-07-09 17:04:27 +00:00
Ed Sanders 5ee35e2c6a ApiVisualEditor: Ask Parsoid to 'scrubWikitext' on save
Bug: T105239
Change-Id: I9e39dc2c12a3262431d15629c89fa90ba0fd73bc
2015-07-09 11:39:43 +01:00
Alex Monk b8c39de8ef Bypass ve.ui.MWInternalLinkAnnotationWidget.prototype.getHref when determining text
Bug: T104838
Change-Id: I0f754c949e494744adab5f191b5e8acce0c5d0fe
2015-07-09 02:03:04 +01:00
Translation updater bot d69efc426d Localisation updates from https://translatewiki.net.
Change-Id: Ia23b26ce63a463a9bc4d1d512c092bd100fc8683
2015-07-08 21:57:53 +02:00
jenkins-bot 2cf60686af Merge "Check if links are 'known' rather than 'exist' locally" 2015-07-08 19:29:22 +00:00
Ed Sanders 8971edb480 Check if links are 'known' rather than 'exist' locally
This data is used for marking links red, but links which are known
but don't exist (e.g. interwikis) are not red.

Also fix bug in API caused by trying to return a value of (bool)true which is
apparently not allowed. Use (number)1 instead.

Bug: T104604
Change-Id: I599a513a27b31f7167e688d73bc3685141249971
2015-07-08 20:26:04 +01:00
jenkins-bot 3039da4e30 Merge "Fix section scrolling" 2015-07-08 18:32:03 +00:00
jenkins-bot c39bd98597 Merge "Revert "Make toolbar save button frameless"" 2015-07-08 15:38:55 +00:00
Ed Sanders be5df39f5b Fix section scrolling
Core code now has a scrollIntoView animation triggered on focus
which needs to be cancelled before we scroll to the section heading.

Change-Id: I5eb6a5c98b38c2510d2d7f0108fe56e607b34bd6
2015-07-08 15:34:43 +01:00