Commit graph

12409 commits

Author SHA1 Message Date
Alex Monk 5931751771 Trim external link before validating
We already trim it before setting it as the actual annotation href

Bug: T103450
Change-Id: I4c7117d7e1e89c98abbafb999033ab7b5f58bdff
2015-07-25 19:42:33 +01:00
Alex Monk 8ae71e205a Stop removal of only template placeholder from transclusion
Bug: T95252
Change-Id: Ibf0537fd63f8315750e398f72807741187985b19
2015-07-25 14:47:36 +01:00
Alex Monk f76b57f1e6 Close the wikitext switch confirmation dialog if serialisation errors
Bug: T103632
Change-Id: Id9aede04ff4f8919770e578fac24ad4a1178b9a6
2015-07-25 14:32:17 +01:00
jenkins-bot 43eb2acf84 Merge "Change reference context title from 'Basic' to 'Reference'" 2015-07-24 19:22:01 +00:00
jenkins-bot af015c120d Merge "Make missingref references uneditable, not uninspectable" 2015-07-24 19:21:59 +00:00
jenkins-bot 76a2222e68 Merge "Update VE core submodule to master (a6dabf8)" 2015-07-24 19:13:05 +00:00
Translation updater bot 8a17282802 Merge "Localisation updates from https://translatewiki.net." 2015-07-24 19:11:37 +00:00
jenkins-bot 6cbdd4fb47 Merge "ParameterWidget: Connect to Search results widget 'choose' events" 2015-07-24 19:11:17 +00:00
Translation updater bot 55299c5f14 Localisation updates from https://translatewiki.net.
Change-Id: I6dc2d8008f023c02b0eac79f3527b25b9be032ae
2015-07-24 21:10:35 +02:00
Ed Sanders 29116355e1 Change reference context title from 'Basic' to 'Reference'
'Basic' only makes sense in the context of other reference types.

Change-Id: I8137af3481e4ccbd2589e917e24898ff204440b6
2015-07-24 12:03:05 -07:00
Ed Sanders 97e0cd28a5 Make missingref references uneditable, not uninspectable
Depends on I1ba8978dd in core.

Bonus: remove not-allowed-cursor & highlight title (which was
broken) now that we can display this information properly.

Bug: T106810
Change-Id: I1800490ba1b8e10ff54b26372a8a78661c1c7d68
2015-07-24 12:03:05 -07:00
James D. Forrester a54e6f9f25 Update VE core submodule to master (a6dabf8)
New changes:
fd39645 Update model#isInspectable

Change-Id: Iaf8976aaa3d2049df75e6de18b7a0c721dd2b1fd
2015-07-24 12:02:18 -07:00
jenkins-bot 66bffb5000 Merge "Update VE core submodule to master (1834dd9)" 2015-07-24 19:01:35 +00:00
Florian b390a32fda ParameterWidget: Connect to Search results widget 'choose' events
Instead of using the removed 'select' event submission on SearchWidget.

Rename event fired by MWParameterSearchWidget to reflect the new re-
emissioned choose event.

Follow up: I7fa97f208da0b3b185f1b09b87fef9c9afaee2f1

Bug: T106696
Change-Id: I1d954a7243649d7834373537d70bfadf68f52c9d
2015-07-24 20:25:01 +02:00
Ed Sanders 8250c8ad54 Separate 'isMissing' micro cache from full link data cache
Bug: T106819
Change-Id: I72f52d63968aa1ac842b2aa503150cf114f9d711
2015-07-24 16:17:35 +01:00
jenkins-bot cb1cb6bdb5 Merge "Add save button to review mode on save dialog" 2015-07-24 00:40:43 +00:00
Alex Monk 3b978f0b4e Add save button to review mode on save dialog
Bug: T69868
Change-Id: I393a37333ea4988547c82e1fa9747b5e034de9bd
2015-07-24 01:34:13 +01:00
James D. Forrester 678b263266 Update VE core submodule to master (1834dd9)
New changes:
71c6553 Comment*: Use the same icon for the CE and UI renderings
34935a7 Strip data related attributes from paste context
8f5d2c3 Update OOjs to v1.1.8

Change-Id: I000a0973daf84ec9251791e934c7e047e6f1d77f
2015-07-23 17:24:40 -07:00
jenkins-bot 38d9a0a1f8 Merge "Load the jquery.i18n library from MediaWiki, not lib/ve" 2015-07-24 00:21:07 +00:00
jenkins-bot 4d95b6ea45 Merge "Replace wgVisualEditorNamespaces with an associative array" 2015-07-23 23:59:51 +00:00
James D. Forrester 382762107f Load the jquery.i18n library from MediaWiki, not lib/ve
Change-Id: I5d868791b9e5101c4ae719a6ca635766f6f42537
2015-07-23 16:52:43 -07:00
Alex Monk 82fb5f609a Parse SpamBlacklist error on the server-side
The client won't be able to deal with templates etc.

Bug: T99830
Change-Id: I78611a3f061b1afd73de052aa9ddff48dc368f2d
2015-07-23 18:49:42 +00:00
Alex Monk 647a5597bb Replace wgVisualEditorNamespaces with an associative array
Bug: T104898
Change-Id: Ibf4812caeaa9290959bc757fc49a151854bff337
2015-07-23 18:49:21 +00:00
jenkins-bot 31e45cf530 Merge "build: Drop last jscs over-ride and make pass" 2015-07-23 18:48:48 +00:00
jenkins-bot 9cbc48a0e3 Merge "Update VE core submodule to master (d6effdd)" 2015-07-23 18:47:52 +00:00
James D. Forrester 57f8fc5368 build: Drop last jscs over-ride and make pass
Change-Id: I4ff60af79cfc6e09e284d51f9b7ac2afa900f0f5
2015-07-22 15:13:09 -07:00
jenkins-bot 8d467915f7 Merge "Revert "For empty / whitespace-only headings, output <p> instead of <h#>"" 2015-07-22 22:05:34 +00:00
James D. Forrester cfac38683c Update VE core submodule to master (d6effdd)
New changes:
d6effdd Update OOjs UI to v0.12.1

Change-Id: Ic252316fecff032129c927798f5ffe2365ed3faa
2015-07-22 14:41:43 -07:00
Translation updater bot ee6714fbec Localisation updates from https://translatewiki.net.
Change-Id: Iafc851800bbc9c8ebe4e1ad24288fa295edc616f
2015-07-22 22:18:38 +02:00
jenkins-bot eff1cd0dec Merge "Hooks: Support auto-enabling for a proportion of new accounts" 2015-07-22 18:43:37 +00:00
jenkins-bot 5f8e59d961 Merge "Hooks: Support auto-enabling for auto-created accounts" 2015-07-22 18:43:12 +00:00
James D. Forrester 05f4542f9f Update VE core submodule to master (aeaad4e)
New changes:
0889d17 Localisation updates from https://translatewiki.net.
17dbe2f Follow up I7ec81feb: Fix icon for AlignableContextItem
528223f Localisation updates from https://translatewiki.net.
c20938c Localisation updates from https://translatewiki.net.
aeaad4e Make ve.SelectionState#flip return an actual SelectionState

Change-Id: Ibc779743985a254cea02d28e50329e8fe26e6744
2015-07-21 13:09:11 -07:00
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