Commit graph

12380 commits

Author SHA1 Message Date
Translation updater bot 46a024e587 Localisation updates from https://translatewiki.net.
Change-Id: I507cc8f57dbf634e9fa4ac2d79208684f3ed7d4b
2016-10-18 22:42:30 +02:00
Translation updater bot d99e5e14a3 Localisation updates from https://translatewiki.net.
Change-Id: Ia19515d97e44be22b75a50566f62b5bdb1f7c4b2
2016-10-17 22:36:41 +02:00
Ed Sanders 2dfdd82317 Prevent edit source from acting twice
Bug: T148309
Change-Id: I5ef3f4b7cbc7298e89aa531c174657b1d1bccdf6
2016-10-16 19:06:06 -07:00
Translation updater bot 741058c75c Localisation updates from https://translatewiki.net.
Change-Id: I2b7a634398f553f1c63665d37e51bcd6a359884c
2016-10-16 22:45:34 +02:00
Kunal Mehta 090b8ad5c7 Don't hardcode magic link URLs
These are actually configurable via MediaWiki messages, so use those
instead of hardcoding the default URLs.

Change-Id: Ie66a1b53f9c011947fe9e8db198a5904373f3192
2016-10-15 16:02:35 -07:00
Translation updater bot 870c0443a0 Localisation updates from https://translatewiki.net.
Change-Id: I2cd375e09d4bf3c773662ba1cb71ee21f0304a20
2016-10-15 23:10:08 +02:00
jenkins-bot a9c01ed26e Merge "Update VE core submodule to master (5fc8c7f)" 2016-10-15 04:15:23 +00:00
jenkins-bot 23eb869d9d Merge "Get rid of ?venotify= from URL post-save" 2016-10-14 23:30:16 +00:00
James D. Forrester f8bb7aaca5 Update VE core submodule to master (5fc8c7f)
New changes:
689ea49 ve.Range: Don't fixup invalid arguments
4aaf809 ve.sparseSplice: Splice one array into another, replicating any holes
775e341 Check previousSelection is set before setting it

Change-Id: I989c15a81a8dd057af436e0dee667b6f82e54be5
2016-10-14 15:35:06 -07:00
Alex Monk b5815e9ffd Send RB errors through the normal error handling process
Change-Id: I230ff6d3c9a6a183fb483f5adfd7ccdc025a07af
2016-10-14 11:17:56 -07:00
Alex Monk 39aa3021a7 Switch to the wikitext editor if VE fails to load
Also kill some dead HACK code in DesktopWikitextArticleTarget#switchToWikitextEditor

Bug: T135748
Change-Id: Ie5aaa0f3c3bd20755abaac9b86af015b71eb777b
2016-10-14 18:15:16 +00:00
jenkins-bot a9240d6f2f Merge "Strip RESTBase IDs from HTML generated when wikitext is pasted" 2016-10-14 00:55:48 +00:00
Alex Monk 25933c09ec Strip RESTBase IDs from HTML generated when wikitext is pasted
Bug: T146054
Change-Id: I0013673a9e41ea191ea64f3208a06288efb2ecd3
2016-10-13 17:42:11 -07:00
jenkins-bot 246e2ebb4e Merge "Tidy up DAT load failure handling" 2016-10-14 00:32:30 +00:00
jenkins-bot 414a333b5e Merge "Update VE core submodule to master (90cbd62)" 2016-10-14 00:20:55 +00:00
Ed Sanders e1e02fa0d8 Update VE core submodule to master (90cbd62)
New changes:
abf8f41 Replace Array#concat with Array#push in converter
02aeb90 Localisation updates from https://translatewiki.net.
902ddda Use safer batchPush in converter
6368191 Use current surface's sequence registry in command help dialog
f7ce4b9 Optimize batchPush on small lists
fb43a0a ve.batchPush: add unit test to exercise long-array path
d6c7d24 Factor out RESTBase ID regular expression
ffcbf4b IndentationCommand: Use hasMatchingAncestor
d447023 Allow ommission of range from ve.dm.Document cloneFromRange
cfbc344 Don't strip empty paragraphs on paste if they are generated
01c918b Localisation updates from https://translatewiki.net.
1467947 Fix documentation of getMetadataIdRegExp

Local changes:
* Define RESTBase ID pattern in platform and fix slightly
* Bring in paste test from core, which requires platform switching.

Bug: T147607
Depends-On: Ifc1c15872a50f915e5ef8d561b3a363dc5f4d28f
Change-Id: I3eb21e115de92a67afa85b5675fcbca5b111adb6
2016-10-13 17:10:33 -07:00
Ed Sanders 85f8030053 MWMediaSearchWidget: Fix indentation in var
It is alarming that jscs is not picking this up..

Change-Id: Ibd3b113ebfedede9fa45120c24f00623ec5ea2fb
2016-10-13 23:45:37 +00:00
jenkins-bot 684b490597 Merge "More NWE-SET integration fixes" 2016-10-13 22:12:18 +00:00
jenkins-bot 2ea26a205b Merge "Take only the last part of a URL query in media search widget" 2016-10-13 22:04:13 +00:00
jenkins-bot e55c822817 Merge "Fix typo in DAT.init.js" 2016-10-13 22:04:12 +00:00
Thalia 7ec7acf108 Take only the last part of a URL query in media search widget
Quick fix to the problem that searching for the file name or
page title currently returns the image, but searching for the
URL does not.

Bug: T121354
Change-Id: I13e665226e5dc15ba626126dc4806ce8f4e0040b
2016-10-13 21:54:10 +00:00
Alex Monk 70bf00e9b0 More NWE-SET integration fixes
Also stop calling $skin->getUser() so much, store the result

Change-Id: Ic91a660bc4b97a82f1d2b0bffb55425564696da1
2016-10-13 22:46:16 +01:00
Alex Monk 49283f7250 Fix typo in DAT.init.js
Change-Id: I75f7de16ea06d62a1bdfa0e04294fef5560fd5c9
2016-10-13 22:22:57 +01:00
Translation updater bot 9939a68db2 Localisation updates from https://translatewiki.net.
Change-Id: Ida7e81c4c8b762f36c338ccf874205ff50ed37a3
2016-10-13 22:55:14 +02:00
Alex Monk 6b87b2671e Fix another case where we need to pass the section
Bug: T144654
Change-Id: I5f91b9329525ceaeb971d02f93c959d908d748f7
2016-10-13 20:28:21 +01:00
jenkins-bot 56c5ecb0f1 Merge "Fix sanitizing of query value in media search" 2016-10-13 04:14:10 +00:00
Ed Sanders 972094788c Fix sanitizing of query value in media search
Always use #getQueryValue which trims whitespace, so we
don't pass whitespace to the API.

Also rename some variables for clarity, and remove some
unused arguments.

Change-Id: I0d27f59488295bc1c398d0fd287e3e16a3f5aaec
2016-10-13 04:03:57 +00:00
jenkins-bot d20040aec0 Merge "Section editing in NWE" 2016-10-13 01:51:56 +00:00
jenkins-bot 12d63b17c0 Merge "Set gallery dialog to larger size when search panel is focused" 2016-10-13 00:52:10 +00:00
jenkins-bot 78df357278 Merge "mw.LinkCache: Links aren't missing if they're known" 2016-10-13 00:52:09 +00:00
Thalia 91ca88f6e8 Set gallery dialog to larger size when search panel is focused
Bug: T145246
Change-Id: I49b218f704d31b4f699fe39f414a84abbfffc093
2016-10-12 17:42:54 -07:00
James D. Forrester 0a3dbfb621 mw.LinkCache: Links aren't missing if they're known
Thanks to new sparkly API data.

Bug: T72123
Change-Id: I9d4ff14bb2e81404224819c9153a7b8d86ca6f11
2016-10-12 17:21:58 -07:00
jenkins-bot 62d1135ddc Merge "Update beta feature screenshots to use proper layout and colours" 2016-10-13 00:15:19 +00:00
Ed Sanders 3c298616b5 Update beta feature screenshots to use proper layout and colours
Bug: T144428
Change-Id: Iee029136dfc3728f16f1d28910c83139e2d471cb
2016-10-12 16:39:27 -07:00
Ed Sanders 4040442ad8 Section editing in NWE
Bug: T144654
Change-Id: Ida6e721e0d980b47e3fda6a1f0744cbce1b2235a
2016-10-12 12:55:11 -07:00
Kunal Mehta 6c93a49244 Get rid of ?venotify= from URL post-save
Use history.replaceState if available to get rid of the venotify query
parameter to avoid polluting URLs.

Ideally this would just use a cookie like the core post-edit
notification.

Change-Id: I6ce142012053e2fc18dd44fd0f7b82914acea076
2016-10-12 11:05:12 -07:00
jenkins-bot 48857c1217 Merge "NWE: Use a different change tag to the visual editor" 2016-10-12 16:28:31 +00:00
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