Commit graph

9982 commits

Author SHA1 Message Date
jenkins-bot fb48db7227 Merge "Ignore section edit links when no action present" 2017-01-26 14:13:24 +00:00
Ed Sanders 1df022a6d6 Ignore section edit links when no action present
BUg: T156282
Change-Id: If3d039da36db946dcbba123d3cdc4e99c45f6a4e
2017-01-25 18:13:56 +00:00
Translation updater bot dc7ce167b3 Localisation updates from https://translatewiki.net.
Change-Id: Ie1b9552f69f104a50f0b317d1c6db4d046526ffc
2017-01-25 14:49:37 +01:00
jenkins-bot fb1d1cdfaf Merge "Use target=_blank for link in template 'extra description'" 2017-01-25 12:53:03 +00:00
jenkins-bot 7d9d6b35d2 Merge "Update actions on live inspectors and preview dialogs" 2017-01-23 23:33:44 +00:00
Translation updater bot 23bce58071 Localisation updates from https://translatewiki.net.
Change-Id: Ib31aa19ef33f7b5017bf3ed49684cae670fd50c7
2017-01-23 22:50:30 +01:00
Ed Sanders 133da969ce Use target=_blank for link in template 'extra description'
We already do this for 'missing description'.

Bug: T155879
Change-Id: Iccf48070ab2b5890d6891856be4ee5cce5308d0d
2017-01-23 13:07:53 +00:00
Translation updater bot 07f877d476 Localisation updates from https://translatewiki.net.
Change-Id: I6a51ed82a750a1fd6c3bb5697bb9b69067b2e96d
2017-01-22 22:45:16 +01:00
Translation updater bot e821a8e24b Localisation updates from https://translatewiki.net.
Change-Id: Ib7a453738fc26748d5b202c7598db1009d72b145
2017-01-21 22:46:51 +01:00
Thalia 43c2865f90 Update actions on live inspectors and preview dialogs
Make inspectors inheriting from MWLiveExtensionInspector
and dialogs inheriting from MWExtensionPreviewDialog
update their 'done' action every time updatePreview is
called. Since both mix in ExtensionWindow, two new methods,
updateActions and isModified are added there.

This should make it more difficult to insert an empty node
accidentally or create a transaction just by opening and
closing an inspector or dialog.

For more complicated dialogs, or inspectors or dialogs
that don't live-update, this behaviour will have to be
implemented separately.

Bug: T155330
Change-Id: Iacafa01fcd419faaec9b112c96be86693a57d561
2017-01-21 18:29:18 +00:00
Ed Sanders 171286c120 Fix typo in target config
Change-Id: I5815ce5b0e05ce166e02bfcced520e3770f5453d
2017-01-20 23:15:23 +00:00
Ed Sanders f58d00b110 Move #getWikitextFragment up to ArticleTarget
Change-Id: Ice4b04db4a45c07ccffc3892e6db5d814c2ec37b
2017-01-20 23:15:17 +00:00
Ed Sanders e5555d6d85 Remove MWMobileSurface & Context
The hacks contained within context were ancient and no
longer used, and thanks to a typo in mw.MobileArticleTarget
neither of these classes was being used anyway.

Change-Id: I52f2b6d5aa5ddbcc45ac6107eaf9407570b73672
2017-01-20 23:15:11 +00:00
Ed Sanders 1ae5c13cb9 Update VE core submodule to master (f0dcedb)
New changes:
5b448fa [BREAKING CHANGE] Merge Mobile/DesktopSurface into Surface
2d8959b Localisation updates from https://translatewiki.net.
7eee772 Follow-up 2d8959b: Fix build for added language 'io'
f0dcedb ve.dm.TableMatrix: Really indent ASCII-art comments

Change-Id: I62708f7caeb03b16cd318aab0b0ee3c674e75a26
2017-01-20 14:35:39 -08:00
Translation updater bot 015017376e Localisation updates from https://translatewiki.net.
Change-Id: Id8ab05872453edaf2c54c841dcc6abf7b7e68f32
2017-01-20 09:46:04 +01:00
Translation updater bot c549b370fa Localisation updates from https://translatewiki.net.
Change-Id: I1e6889a7d649cc1fcceab4ee748c8eafece4b40b
2017-01-18 22:20:13 +01:00
Translation updater bot b0944d5ad3 Localisation updates from https://translatewiki.net.
Change-Id: I08914c4a309c016d8ceff90da41328d3c3b12110
2017-01-17 22:17:40 +01:00
jenkins-bot 1e32b1d31d Merge "Re-order all meta code to put categories first" 2017-01-17 02:39:55 +00:00
jenkins-bot faaf7d2b4f Merge "Fix correct default page for meta dialog in NWE" 2017-01-17 02:38:44 +00:00
Ed Sanders 96a3d38cf9 Re-order all meta code to put categories first
For consistency.

Change-Id: Ia5e9728ca4f727f4ce30d5f0c88ac9df8c4d21d0
2017-01-17 00:19:38 +00:00
Ed Sanders 1aeec314d5 Fix correct default page for meta dialog in NWE
Bug: T154639
Change-Id: I49d0f2295b071ae667e111562e30d04b0174c251
2017-01-17 00:17:51 +00:00
jenkins-bot 9c3f3646c8 Merge "Correct comment in MWBlockImageNode" 2017-01-16 20:24:45 +00:00
Translation updater bot 6a449d29ba Localisation updates from https://translatewiki.net.
Change-Id: I12814771ed6d7d2005c5c09543e30f1e635a3289
2017-01-16 14:32:09 +01:00
Thalia 8c4b8e55e5 Correct comment in MWBlockImageNode
Change-Id: I99058f97ac74b57c648be51cdb267d24a197b16a
2017-01-14 18:38:20 -08:00
Ed Sanders 337614d142 Open preview links in new tab
Bug: T155159
Change-Id: Idddc6b25303c17382ba1bc763b9001b727e1040e
2017-01-12 16:07:00 -08:00
jenkins-bot a4543a7336 Merge "Allow AceEditorWidget to accept autocomplete word list" 2017-01-12 02:00:14 +00:00
Thalia fc61fb9be0 Allow AceEditorWidget to accept autocomplete word list
Bug: T155107
Change-Id: I2dd752fb55a4d5596dbc8b8dc69eb55083d7ec66
2017-01-11 17:26:16 -08:00
L10n-bot 220b2ef042 Merge "Localisation updates from https://translatewiki.net." 2017-01-11 22:27:03 +00:00
Translation updater bot 1f90679b43 Localisation updates from https://translatewiki.net.
Change-Id: I92917d08fd03456856c1983ab1bd07cd8d46943a
2017-01-11 23:21:18 +01:00
jenkins-bot 7c49a23a33 Merge "ArticleTarget: Give users a specific message when HookAborted errors happen" 2017-01-11 22:21:13 +00:00
jenkins-bot 18ba046361 Merge "ArticleTarget#saveErrorUnknown: Handle the xhr being complete" 2017-01-11 20:37:08 +00:00
James D. Forrester 002b0adef0 ArticleTarget: Give users a specific message when HookAborted errors happen
Change-Id: I7017412dc56200f5bb0adbd901aed15507447846
2017-01-11 10:46:30 -08:00
James D. Forrester 2b502572ec ArticleTarget#saveErrorUnknown: Handle the xhr being complete
Change-Id: I638b5b80c5a404a438ebd357b6e16bbab7871d6e
2017-01-11 10:45:43 -08:00
jenkins-bot 0405f8c80a Merge "DesktopArticleTarget: Prevent infinite while loop if $content is empty" 2017-01-11 18:39:35 +00:00
Ed Sanders 889ffc0efc DesktopArticleTarget: Prevent infinite while loop if $content is empty
Change-Id: I629b2c3f1a4af3441764db7d1d0a7cec96181396
2017-01-11 18:29:16 +00:00
Translation updater bot 3c943c5817 Localisation updates from https://translatewiki.net.
Change-Id: Ib66f2dc2241016540afa2df19cc4ac36523ae98b
2017-01-09 15:56:06 +01:00
jenkins-bot 70a66d4070 Merge "More error handling fixes" 2017-01-09 02:24:17 +00:00
jenkins-bot 09829ae7b4 Merge "MWMetaDialog: Move categories to the top as they're used most" 2017-01-07 14:56:56 +00:00
Translation updater bot 9d29ec3d9c Localisation updates from https://translatewiki.net.
Change-Id: I37e2fb1213d1db27e24219fba349638f75fc122f
2017-01-06 23:14:55 +01:00
Translation updater bot a0bda5eb51 Localisation updates from https://translatewiki.net.
Change-Id: Ied8c757544363b36e27cfccb4df80a0c22d78ce2
2017-01-05 23:50:18 +01:00
Alex Monk 8fe5bbe39b More error handling fixes
See T154565

Change-Id: I073aae149497342157503ad3f465b7d57aaad4fa
2017-01-05 15:13:02 +00:00
jenkins-bot 50e7fd0653 Merge "Fix MWInternalLinkAnnotation.getTargetDataFromHref's behaviour with URLs containing query parts" 2017-01-05 15:08:33 +00:00
jenkins-bot 4d64196fcb Merge "Fix loadFail parameter handling" 2017-01-04 22:46:27 +00:00
jenkins-bot e91f8f913e Merge "Allow 'T-' prefixed sections, and redirect if section link title isn't current page" 2017-01-04 22:38:34 +00:00
Alex Monk 1bcaa9056c Fix loadFail parameter handling
Rename them while we're at it.

Bug: T151278
Bug: T152429
Change-Id: I435ac148007db87da69e8cf48568fafa646abb71
2017-01-04 22:31:08 +00:00
Translation updater bot f2947ed40d Localisation updates from https://translatewiki.net.
Change-Id: I842b0b968551a988d1a848d8b08aa4ace0c10466
2017-01-04 22:39:54 +01:00
James D. Forrester 6795430831 MWMetaDialog: Move categories to the top as they're used most
Bug: T74399
Change-Id: I696d8484ed00c92340f178d5c9dcfe978998dce0
2017-01-04 11:18:00 -08:00
Ed Sanders 808de2acea Add "templates used" page to meta dialog
Bug: T149009
Depends-On: Id617f9afbddf094140133f9659efc4b4e746148c
Change-Id: I63e663d05aefb47274f1f28bdcafc5317c2fc4f6
2017-01-04 18:30:11 +01:00
Ed Sanders b7dd6077b8 Allow 'T-' prefixed sections, and redirect if section link title isn't current page
Bug: T153176
Change-Id: Ic6fda78d00715777df4a273e7d3e150f20185185
2017-01-04 16:53:03 +00:00
jenkins-bot cbd88e10ed Merge "Use the monospace hack consistently" 2017-01-03 20:41:03 +00:00