Commit graph

10371 commits

Author SHA1 Message Date
Ed Sanders fecdc29a38 Replace ve-init-mw-desktopArticleTarget-* with ve-init-mw-target-*
Except in cases where it is only applied to desktop articles.

Change-Id: I40a9dabcd8454138f94affde809afee9c93732a4
2015-07-29 18:26:36 +01:00
Ed Sanders b5de6fa575 [BREAKING CHANGE] Rename (View|Mobile)PageTarget to (Desktop|Mobile)ArticleTarget
Change-Id: I6a8fa76dc4d70cc04722e30e3fea6a6112d56b40
2015-07-29 18:26:36 +01:00
Alex Monk 7b7219fcb6 When saving from review screen, swap to main save screen
Bug: T107251
Change-Id: I78fb0b8804ffa4b8accd4d2619d7bbd34e2c4f1e
2015-07-29 17:48:43 +01:00
jenkins-bot 85ca7d3e94 Merge "Close the wikitext switch confirmation dialog if serialisation errors" 2015-07-29 00:41:26 +00:00
Roan Kattouw 6d22fd1aa7 Follow-up 8250c8ad54: unbreak ApiResponseCache
.set() should not overwrite existing deferreds; instead,
it should resolve the existing deferred if it's pending.
This is necessary because .set() is used by processResult().
Without this, passing .get() a title that no information
is known for results in a promise that is never resolved,
because the associated deferred is overwritten as soon
as the API response arrives.

Still make .set() a no-op if data has already been set,
by checking if the deferred is pending. For .resolve() this
doesn't matter, but for modifying this.cacheValues it does.

Bug: T107212
Change-Id: I70e8c5450f23062db214ccc5c585624d41de6509
2015-07-28 15:10:21 -07:00
jenkins-bot 12d22fe48a Merge "Allow skin developers to set an offset for toolbar floating" 2015-07-28 20:01:57 +00:00
Translation updater bot d319217d34 Localisation updates from https://translatewiki.net.
Change-Id: I48148623ed24a6dc8b3a366f19850b4ed1875f21
2015-07-28 21:51:17 +02:00
Florianschmidtwelzow 4981a8253d Allow skin developers to set an offset for toolbar floating
Usage:
In a skin, that needs this offset, e.g. because it has a fixed header, it should add
this config var somewhere before the hook BeforeOutputPage is called:

$wgVisualEditorSkinToolbarScrollOffset['vector'] = 60;
(if 60px is the offset to use)

Depends on: I2e10c12df8277c84d948e48c6a132c03d6324693

Bug: T95528
Change-Id: Iaa86c2f68afa6403fcc4f5b7c655704512beead4
2015-07-28 11:18:07 -07:00
James D. Forrester b9149e35e3 Update VE core submodule to master (cb14f66)
New changes:
adaa490 Localisation updates from https://translatewiki.net.
3e9e89c Localisation updates from https://translatewiki.net.
e166731 Localisation updates from https://translatewiki.net.
cb14f66 ContextItem: Update documentation, code to show that model is optional

Change-Id: If6072bc1b72c9676d3c8a74b9ecba4c8aaf58f50
2015-07-28 10:27:25 -07:00
Translation updater bot 7b787deb32 Localisation updates from https://translatewiki.net.
Change-Id: Ie1c5ee8e499a7f37f9e6be23b6356cc098a79385
2015-07-27 21:36:51 +02:00
Translation updater bot f4978517d0 Localisation updates from https://translatewiki.net.
Change-Id: I2d39f194ddce159861b20f25aaae39deb9d8741b
2015-07-26 21:42:26 +02:00
jenkins-bot 526d092df6 Merge "Trim external link before validating" 2015-07-25 21:56:04 +00:00
Translation updater bot f787e3491d Localisation updates from https://translatewiki.net.
Change-Id: Iefecfb9b1bd63b695a5c5e32f2867a89146fece0
2015-07-25 21:58:40 +02:00
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