Alex Monk
418bd32217
NWE: Use a different change tag to the visual editor
...
Bug: T147587
Change-Id: If9b466ff8449ceeb0e71f9d36ea0b4ec8c1bae2d
2016-10-12 01:11:15 +01:00
jenkins-bot
9694ef6e63
Merge "Follow-up I9547dfd: Only enable VE tabs if VE is available"
2016-10-11 21:32:37 +00:00
Ed Sanders
4fc2904a87
Follow-up I9547dfd: Only enable VE tabs if VE is available
...
Otherwise VE is launched on namespaces where it is disabled
(but NWE is enabled).
Bug: T147890
Change-Id: I62f4ff96b991553a4eb0be9efb2e84bc80ca2bb4
2016-10-11 14:19:36 -07:00
Translation updater bot
0f7c0972f5
Localisation updates from https://translatewiki.net .
...
Change-Id: Ic768923084efb9d251d6229d8e87ee38aa62918c
2016-10-11 22:51:06 +02:00
jenkins-bot
00af103293
Merge "Fix detection of headings in NWE format menu"
2016-10-10 22:46:46 +00:00
Translation updater bot
913a1a943e
Localisation updates from https://translatewiki.net .
...
Change-Id: I4c889135c1b62c4d7a7b60342f750b73623c876b
2016-10-10 22:29:24 +02:00
Translation updater bot
5b5249c77b
Localisation updates from https://translatewiki.net .
...
Change-Id: Iacab38668920ea1e26b209bedd16910985a8b0ff
2016-10-09 22:58:22 +02:00
jenkins-bot
eafbe8cf8c
Merge "Add big/small support to NWE"
2016-10-08 21:00:35 +00:00
jenkins-bot
d6baaf3ba2
Merge "i18n: Native digits on 'visualeditor-editnotices-tool'"
2016-10-08 21:00:34 +00:00
Ed Sanders
3d39b80991
Fix detection of headings in NWE format menu
...
Use regex to include match any character after '='.
Bug: T147585
Change-Id: I22228bedf497613506a676eca465d3bc7bc5fe67
2016-10-08 20:53:58 +00:00
Alex Monk
5e25cda633
Fix getlanglinks response to deal with no links
...
When no langlinks are returned by the API, it just doesn't set the langlinks
property.
Also, get rid of indexpageids while we're here.
Change-Id: Icfb8c0abb02aeb3e9cdbefe0df7bb6b5476b78a4
2016-10-08 19:06:19 +00:00
Ebrahim Byagowi
e55d1b2a3c
i18n: Native digits on 'visualeditor-editnotices-tool'
...
Change-Id: I5a802199a9d736d0082775052d5224cfa9580450
2016-10-08 18:36:36 +00:00
Ed Sanders
2ad4015775
Add big/small support to NWE
...
Change-Id: Id42cb7563d7f6d14d0f225edb8a283c8b9eaa8db
2016-10-07 22:44:52 -04:00
Alex Monk
cc4f53f441
Follow-up I173d82a7: Add dependency for mediawiki.Uri
...
Change-Id: I0cfa462faae0b0a83b4e6efb2603af48d081ed75
2016-10-08 01:33:11 +01:00
jenkins-bot
800dceaa0e
Merge "Hid category links in source edit mode"
2016-10-07 22:08:30 +00:00
Ed Sanders
605f7b625b
Hid category links in source edit mode
...
Change-Id: Ib44e393d3a8d070a4ced002a11cb26f58447e67c
2016-10-07 16:24:23 -04:00
Ed Sanders
31a3f2f0b6
Move editfont class down to surface view, so it doesn't break DebugBar
...
Change-Id: I779ab9d581af37ae104acf4ea6a83b86504bb257
2016-10-07 16:10:58 -04:00
jenkins-bot
7551b0e788
Merge "Use createTextNode in wikitext converter"
2016-10-06 23:20:21 +00:00
Ed Sanders
01ed8e954e
Use createTextNode in wikitext converter
...
Has better browser support. innerText is for getting the
text as rendered.
Bug: T147584
Change-Id: Ie2cf732d537aa4053d5b45d85c2d678a0d338017
2016-10-06 14:50:08 -04:00
Ed Sanders
aa7da97f2d
Use safer batchPush in converter
...
Some older browsers may fail with >1024 arguments. This
does not have a noticeable effect on performance.
Change-Id: I8c85f43425997735bbbe08d27374b79502e02ecf
2016-10-06 13:19:00 -04:00
Alex Monk
d2dd3689cf
Tidy up DAT load failure handling
...
Get rid of the 504 Gateway Timeout handling while we're here, in preparation
for bug T135748 where that kind of thing will be made normal.
Change-Id: Ia4abb1a68ff7ab7ff365c7348bf4d2ad35c43a27
2016-10-06 00:52:28 +01:00
jenkins-bot
c8f3474f3d
Merge "Fix styling of categories now they are editable"
2016-10-05 21:33:49 +00:00
Translation updater bot
bbac9dad9f
Localisation updates from https://translatewiki.net .
...
Change-Id: I3eec08b6d83c2338fda9d5b7cff84f99e16f59e1
2016-10-05 22:46:35 +02:00
jenkins-bot
1321452197
Merge "New wikitext editor: unwrap lists when changing style"
2016-10-05 19:40:01 +00:00
jenkins-bot
6604a6a3a9
Merge "Use a proper error message when VE fails to load due to not being able to connect"
2016-10-05 18:29:28 +00:00
jenkins-bot
80596f9f22
Merge "Disable switch-to-VE button in NWE if VE is unavailable, don't hide it"
2016-10-05 18:29:26 +00:00
jenkins-bot
eae2305269
Merge "Allow NWE on non-VE namespaces"
2016-10-05 18:22:56 +00:00
jenkins-bot
31a7c96a38
Merge "Use a streamlined 'converter' in wikitext mode"
2016-10-05 16:53:43 +00:00
jenkins-bot
d5d8223244
Merge "Allow users who haven't enabled NWE in their preferences to use veaction=editsource"
2016-10-05 16:51:34 +00:00
Ed Sanders
a0dd888485
Use a streamlined 'converter' in wikitext mode
...
Converting a document we know contains just plain text paragraphs
is slower than it needs to be. The speeds up the conversion of
[[Barack Obama]] from ~2000ms to <100ms.
Change-Id: I2081858d835286b48db0627696a9eb5294317c2e
2016-10-05 16:40:28 +00:00
Alex Monk
f860bd0d36
Use a proper error message when VE fails to load due to not being able to connect
...
Not just 'HTTP 0'
Change-Id: Icd1b5b64ca8ea4af80e3cf32f8502d8fb0d11ae2
2016-10-05 16:39:27 +00:00
David Lynch
f0988bb377
Pull through CommentNode change, adding new CSS file to extension.json
...
Update VE core submodule to master (89ce43b)
New changes:
c3d3d29 ce.CommentNode: inline preview of comment
Change-Id: I8a7f1b69eaf84165742a1f2d10fed3594961a9e9
2016-10-05 11:21:10 -05:00
Alex Monk
9dabce28b2
Allow users who haven't enabled NWE in their preferences to use veaction=editsource
...
Instead of being completely broken when they try this, let it just work.
Change-Id: I173d82a748289e73c5792ca5aee22b8871f6a2d8
2016-10-04 23:48:43 +01:00
jenkins-bot
26e235211d
Merge "Pass excludeCurrentPage option to TitleSearchWidget in link inspector"
2016-10-04 22:45:10 +00:00
jenkins-bot
8990d9f82e
Merge "Detect format in wikitext"
2016-10-04 22:26:08 +00:00
jenkins-bot
026eb9fd0c
Merge "Update VE core submodule to master (b7767d0)"
2016-10-04 22:26:07 +00:00
Translation updater bot
fdc4bab12a
Localisation updates from https://translatewiki.net .
...
Change-Id: Iec3713516a34514afc14ab3de14452d2f146ffbe
2016-10-04 22:42:49 +02:00
Ed Sanders
a9233045c7
Detect format in wikitext
...
Logically depends on I575d92c4fa.
Should really use a registry, and also doesn't update when
format is changed by deleting text, but is an improvement
for now.
Bug: T147218
Change-Id: I0cb87dbad2ab4269c4f89bdff8a4ccd9b35c8635
2016-10-04 11:04:54 -07:00
James D. Forrester
23a0cbd795
Update VE core submodule to master (b7767d0)
...
New changes:
4d8be3b Move hasMatchingAncestor code from FormatTool to SurfaceFragment
bd41435 Check for null keyDownSelectionState in handlers
Change-Id: I6be3fa0955f091fe6f1f925c102b20f19401efbf
2016-10-04 10:41:32 -07:00
Alex Monk
aeaa49f9b2
Disable switch-to-VE button in NWE if VE is unavailable, don't hide it
...
Bug: T146182
Change-Id: I9d5095147288a78e2ba7dbddd3d7e6673c97859f
2016-10-04 18:41:11 +01:00
jenkins-bot
9da0eaef03
Merge "Pre-load the article title in gallery dialog search"
2016-10-04 16:24:00 +00:00
jenkins-bot
c1cb6edf83
Merge "Don't try to add suggested/required parameters already set under alias names"
2016-10-04 15:49:27 +00:00
jenkins-bot
c7ce94b910
Merge "Update VE core submodule to master (e8f7947)"
2016-10-04 00:34:09 +00:00
Alex Monk
d15034011f
Allow NWE on non-VE namespaces
...
Bug: T146182
Change-Id: I9547dfd591ad1e68e045b4928765a95895e37737
2016-10-03 22:20:18 +01:00
Ed Sanders
69c332d1ad
New wikitext editor: unwrap lists when changing style
...
Bug: T147227
Change-Id: I1a7f86e2a97855be5c44671d8f5918fb87bc70d0
2016-10-03 16:16:04 -04:00
jenkins-bot
1e89ab7d7a
Merge "Remove commented out code"
2016-10-03 19:37:27 +00:00
Ed Sanders
755500b463
Remove commented out code
...
Change-Id: Ie3edc36c5d51eb7f6363416594a8aab37dec074c
2016-10-03 15:08:47 -04:00
James D. Forrester
cc27ca46a3
Update VE core submodule to master (e8f7947)
...
New changes:
c314cb6 On CBN detach, mark contentBranchNodeChanged in the CE Surface
0e8e79e Localisation updates from https://translatewiki.net .
ae7cea9 Follow-up 3ca658ed, e3192e2d: avoid JS errors when checking for rAF
328d2db Localisation updates from https://translatewiki.net .
e76de27 Set spellcheck=true on nested contentEditables
7d80ec5 Add method to compare elements and their annotations
f7679c5 Test selections without relying on a ve.dm.Surface select event listener
e8f7947 Localisation updates from https://translatewiki.net .
Change-Id: Ib369c13662e6f8747b0fe9976555d96e198d077f
2016-10-03 10:24:04 -07:00
jenkins-bot
d415a003cd
Merge "Apply user preference 'editfont' to NWE"
2016-10-03 17:01:11 +00:00
Alex Monk
e3a387b517
Don't try to add suggested/required parameters already set under alias names
...
Bug: T143650
Change-Id: I6d5ed2903a468205760f715b9bb36a40bdef926a
2016-10-03 17:57:55 +01:00