Commit graph

10261 commits

Author SHA1 Message Date
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
James D. Forrester 074eb0de61 Hooks: Support auto-enabling for a proportion of new accounts
Change-Id: I07fb4dc6137efe8f533e0077cf1805923e8b80df
2015-07-16 09:14:57 -05:00
James D. Forrester 2429c5fcb2 Hooks: Support auto-enabling for auto-created accounts
Change-Id: Ibe1ba94e4478a637367b303b479586f45e85cfa4
2015-07-16 09:13:41 -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 924c58a893 Revert "For empty / whitespace-only headings, output <p> instead of <h#>"
Functionality is now provided by Parsoid's scrubWikitext.

This reverts commit 884f301aa0.

Change-Id: I19f340a1c2d9718bfa05c6667042488f3a589719
2015-07-09 11:46:50 +01: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
jenkins-bot db9a02e9b7 Merge "Update VE core submodule to master (e628ef0)" 2015-07-07 20:32:46 +00:00
Translation updater bot 5f89a6ca6e Localisation updates from https://translatewiki.net.
Change-Id: I63422a4e87f7a2f25a935a86ce6104b5aaa2cfa5
2015-07-07 22:12:04 +02:00
Bartosz Dziewoński 652da4afab Revert "Make toolbar save button frameless"
This reverts commit cb11cbd2f5.

Actually not needed after 3d36cac7fc4808f708f03b66f5c099de440e4569
in OOjs UI, and would change the UI in unexpected way.

Bug: T103403
Change-Id: Ia30b168ea29d03aa76ad81d1f9894a67604fdc08
2015-07-07 14:21:04 +00:00
James D. Forrester 4af8e9e159 Update VE core submodule to master (e628ef0)
New changes:
950d65b Update UnicodeJS to v0.1.5
139eab2 Localisation updates from https://translatewiki.net.
801eb2d Localisation updates from https://translatewiki.net.
f002650 Localisation updates from https://translatewiki.net.
0ca48d8 Update jQuery.i18n to v1.0.3
651465a Follow-up 0ca48d8: Actually load jquery.i18n.emitter.bidi.js too
e1505f8 Localisation updates from https://translatewiki.net.
1b929e6 EventSequencer: fixes and unit tests

Change-Id: I82f420bb694c4a0d10f4a61ac07b7d0bb05ed547
2015-07-06 17:55:25 -07:00
Marc Ordinas i Llopis 7a33613d23 Use Parsoid's new Cite HTML and CSS
Starting with I21fbbd3247bf7801e5ef9bd5312f95777f4dd6ef, Parsoid
will emit a new HTML for its Cite extension, which enables CSS
styling. In I487095df8a7c4241a14f7b4480360f6774130bec the new
module 'ext.cite.style' is added to the Cite extension to style
this new HTML format.

This patch
* Loads the ext.cite.style module if the Cite extension is
  present.
* Uses the new HTML format for the internal structure of
  reference and reference list nodes, so they are correctly
  styled.

Backwards compatibility: Only new HTML is used internally in VE,
so as long as ext.cite.style can be loaded the new styles will be
used. It does not depend on which format Parsoid returns, so this
patch only depends on the Cite extension patch, not on the Parsoid
one.

Note: The only way I've found of adding a ext.cite.style dependency
only if Cite is present is to register the whole
ext.visualEditor.mwreference module in the
onResourceLoaderRegisterModules hook. Maybe someone can point to
a better way?

Bug: T86782
Change-Id: Ibf333a502d64d2ed6e029221458b7c606554e414
2015-07-06 14:23:18 -07:00
Translation updater bot cfb378930f Localisation updates from https://translatewiki.net.
Change-Id: I986d1348c91a5ea36b621d1328b71a37fdaf34dc
2015-07-06 21:48:50 +02:00
Kunal Mehta 1202e8fece Don't always override $wgVisualEditorNamespaces
Change-Id: Ibdba57ddc86962066228294554b9bdb27334b960
2015-07-06 12:02:02 -07:00
James D. Forrester 9b5639681e i18n: Remove references to 'VisualEditor', instead say 'the visual editor'
De-emphasising the product name as it's intimidating and irrelevant to most
users what the name of the software they're using is. Leaving the beta
welcome dialog alone, as that's being worked on as a larger piece.

Change-Id: I92e82ed004f7615f96818872df5f64fec38fbee0
2015-07-06 11:10:38 -07:00
Translation updater bot 2b33948661 Localisation updates from https://translatewiki.net.
Change-Id: Ia9d325d773eadb417d9e6787529d7f299ec104b2
2015-07-05 22:02:13 +02:00
Translation updater bot 16e9083113 Localisation updates from https://translatewiki.net.
Change-Id: I6c8cbcb76bec5789fdaec223e95f0fe8269fac30
2015-07-04 20:40:09 +02:00
jenkins-bot e51df12472 Merge "Remove unused dependency" 2015-07-03 22:22:25 +00:00
jenkins-bot 36dac12958 Merge "Use core dimension widget times separator" 2015-07-03 22:20:33 +00:00