jenkins-bot
5aba0ee22b
Merge "Improve NWE new section styles"
2017-03-03 18:06:04 +00:00
Ed Sanders
06fa5166c7
Improve NWE new section styles
...
* Use <h2> for TextInputWidget to avoid duplicating skin styles
* Fix placeholder colour and font
Change-Id: I36c0b79ec9cbf3fa2ead0541ef5bac4a14a8781b
2017-03-03 11:59:06 +00:00
David Lynch
6cb6933e67
DesktopArticleTarget: Correctly bind section link handler
...
Since December, the handler now expects to be passed the mode we're switching
to. Since we're filtering for just the edit link and not edit source, we can
hardcode 'visual' here.
Bug: T159374
Change-Id: I160045dd59ff1b4c2d180dbbe37280a1839886df
2017-03-02 11:43:11 -06:00
Ed Sanders
e163a09105
Use more specific event name for switching editor from the toolbar
...
As we are in the global toolbar event namespace, 'switch' could
mean anything.
Change-Id: I66751faa249710af634ed0fd0c2f2a0bcd872db3
2017-02-28 23:07:54 +00:00
Ed Sanders
109a136bd6
Use pencil icon for editor switcher dropdown
...
Pencil is the icon we use for 'edit' elsewhere in the UI.
Use the eye icon for the VE tool to specify 'visual'.
Bug: T116417
Change-Id: I12b6bab2a52758685abde04579b274a32d651174
2017-02-28 22:59:51 +00:00
Ed Sanders
b3989e4f07
Move switching methods to ArticleTarget and fix in mobile
...
Change-Id: I7796dab5d2a24f9719870abf383925442b787612
2017-02-28 11:47:35 -08:00
Ed Sanders
b3cfca5401
MobileArticleTarget: Don't explicitly set menu indicator
...
It is now inferred from toolbar position.
Change-Id: I9e3ac28aee74599b4b35ac2f870dca2556efb027
2017-02-28 10:37:30 -08:00
jenkins-bot
2e2a5e452c
Merge "Use list tool group for editor switching"
2017-02-28 18:33:44 +00:00
Ed Sanders
cb60db4c7f
Use list tool group for editor switching
...
Bug: T116417
Change-Id: Iadf5a81e2733ab81fe25c686dcd6dad8eac3885c
2017-02-28 15:06:48 +00:00
Ed Sanders
a3433e67fd
Move modules loaded from DAT.init/TargetLoader to ResourceLoader
...
This will make it easier for third parties to load the required
modules for an article-like target.
Also cleanup mobileArticleTarget to better match desktopArticleTarget.
Change-Id: Idb75e2bd99d8cf2c298e101cf92e8af4f85f5ad5
2017-02-27 16:48:56 +00:00
David Lynch
b1d68872b0
DesktopArticleTarget.init: Don't hardcode single-tab accesskey
...
Bug: T156141
Change-Id: I1312283437714bf338a8ee3cf63e93ac67db1c45
2017-02-14 11:24:50 -06:00
Ed Sanders
6bd650d50a
Check for 'veaction' when clicking section edit links
...
Such as in the 'add topic' link.
Bug: T157104
Change-Id: Ide2d4cf8c23a5d0db24456d15b4312f7c0a5f922
2017-02-08 17:48:04 +00:00
Ed Sanders
7a058a4de8
Remove explicit toolbar indicator definitions
...
These are now computed upstream based on position of toolbar.
The menu tool now needs its indicator explicitly hidden.
Change-Id: Id2280f70553e1e45f3a42af45684c5808797925c
2017-02-04 10:25:37 +00:00
WMDE-Fisch
a0af0b0529
Disable VisualEditor in the TwoColConflict extension
...
As for the Translate extension this will read a global set by the
TwoColConflict extension to disable the VisualEditor and its hooks
on the modified edit conflict page there.
Bug: T156251
Change-Id: I164d1546c9d98d8715650e13c63a01d06c76315d
2017-01-30 14:06:59 +01: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
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
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
Ed Sanders
889ffc0efc
DesktopArticleTarget: Prevent infinite while loop if $content is empty
...
Change-Id: I629b2c3f1a4af3441764db7d1d0a7cec96181396
2017-01-11 18:29:16 +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
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
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
1ac5ede187
Merge "Don't try to JSON stringify load error messages that are already strings"
2017-01-03 20:22:50 +00:00
jenkins-bot
4abdf21413
Merge "Also allow opening in source mode if VE is unavailable on action=edit"
2017-01-03 20:19:09 +00:00
jenkins-bot
a973528d67
Merge "Don't block VE/NWE from loading if 'editintro' is specified"
2017-01-03 20:13:29 +00:00
jenkins-bot
945d3d4cbc
Merge "After saving a specific section, scroll to it"
2017-01-03 18:49:19 +00:00
Alex Monk
5c2773539e
After saving a specific section, scroll to it
...
Bug: T153297
Change-Id: I233e5226abc44d5d0bf8e56957a133d595e7be6f
2017-01-03 18:38:55 +00:00
jenkins-bot
f439843964
Merge "Factor out preferred editor check"
2017-01-03 17:50:42 +00:00
jenkins-bot
f89a6a3880
Merge "build: Bump file copyright notices for 2017"
2017-01-03 17:11:04 +00:00
jenkins-bot
24d26f5e19
Merge "Move translate extension hack up to 'isAvailable'"
2017-01-03 17:04:11 +00:00
jenkins-bot
7c790f8d12
Merge "Use preferred number casting method"
2017-01-03 17:04:10 +00:00
James D. Forrester
122f49b2dd
build: Bump file copyright notices for 2017
...
Change-Id: I3c20809e71cc0da58123e1b5f29c4f3aac945496
2017-01-03 08:58:33 -08:00
Ed Sanders
fe85ee1ba6
Don't block VE/NWE from loading if 'editintro' is specified
...
Later we should actually show the edit intro, but that is a
separate issue (T56029).
Bug: T153481
Change-Id: I97622a3d86b975866305aaa745bac51f6b55f217
2016-12-31 15:22:11 +00:00
Ed Sanders
9eebfbcac5
Fix NWE-only edit tab
...
Change-Id: I5d08e30f43fbe08eb8809692728a8ab37f3a1491
2016-12-30 16:42:54 +00:00
Ed Sanders
3f47aec20b
Use preferred number casting method
...
Change-Id: I77215f2bdb6eb055375e5b803d23b6f26df2d8d1
2016-12-29 20:33:15 +00:00
Alex Monk
4af862e6d3
Also allow opening in source mode if VE is unavailable on action=edit
...
Bug: T153508
Change-Id: I5678d3b417c93707edc90bbb76ce4dafcd2098c6
2016-12-29 20:32:58 +00:00
Ed Sanders
c963b73e71
Factor out preferred editor check
...
Change-Id: Ic2e2e2e1d24dba8854315dff068ea9ce5d409c5a
2016-12-29 20:17:55 +00:00
Ed Sanders
7de023caee
Allow switching between 'edit source' and 'add topic'
...
Also between section editing and full page editing
by clicking on 'edit source'.
Change-Id: I9165a7ad4ac2a588a09532c7181ba72b6fd2f811
2016-12-29 15:48:38 +00:00
Ed Sanders
827d4185c4
Move translate extension hack up to 'isAvailable'
...
All modes of VE should be disabled on these pages.
Bug: T153445
Change-Id: I5adfae940ee35c5ee6712e620a0ddda967a542ad
2016-12-27 13:56:10 +00:00
jenkins-bot
d5f66e4fe9
Merge "Preserve checkbox data when switching from VE to NWE"
2016-12-22 12:37:37 +00:00
Ed Sanders
aee5e665f1
Preserve checkbox data when switching from VE to NWE
...
Bug: T153889
Change-Id: Ifc41ea9320c9f2627efff6f33d4ad87c59fad496
2016-12-21 22:35:52 +00:00
Alex Monk
101b0ff45c
Don't try to JSON stringify load error messages that are already strings
...
Change-Id: Ib180c3ac7eb62d351e05153defd6330c3397c478
2016-12-21 04:00:05 +01:00
Bartosz Dziewoński
72569159b8
Add comments in some places where we really want to treat messages as HTML
...
Change-Id: I439338dabd4b031ed1c4cfc9d89af5a6f2971676
2016-12-20 10:50:15 +00:00
Alex Monk
96b8d35bff
Wrap localStorage.getItem calls in try { ... } catch () {}
...
Bug: T153291
Change-Id: Ic4f8c390bfe6936bd182b28b1f2c6d19bf459eba
2016-12-15 23:08:30 +00:00
jenkins-bot
ee2cb3048d
Merge "DesktopArticleTarget: Generate the original page title if needed"
2016-12-15 16:50:47 +00:00
Ed Sanders
17a164363b
Properly clear this.section when switching from VE
...
Bug: T153276
Change-Id: Idc251c73c03bf87b6e6ca716be98b38d4fb68c5e
2016-12-15 01:34:30 +00:00