Commit graph

13447 commits

Author SHA1 Message Date
Egbe Eugene 2fc6423070 Remove nbsp from Visualeditor-mwlanguagevariantcontextitem-rule-code-label
Since "nbsp" is hard to translate, it is removed from the current
text of visualeditor-mwlanguagevariantcontextitem-rule-code-label,
which was "Language code" - now changed to "Language code".
Instead the table headings (where this message is used) are defined
as non-breaking in CSS.

Bug: T173181
Change-Id: I9794fa010ad908fe772fa6858c25acc6beb973d5
2017-08-29 21:58:33 +02:00
Bartosz Dziewoński bff16fb352 ve.ui.MWLanguageVariantNodeContextItem: Fix condition for empty table
For magical HTML reasons, a `<tbody>` node is automatically inserted
inside the `<table>` node. Therefore the table always had exactly one
direct child, this check always failed and table was never shown.
Instead, count the rows.

Change-Id: Ia8a5387c3f605689ab1053c923952ec955b83253
2017-08-29 21:57:48 +02:00
jenkins-bot 50c31a0b29 Merge "mw.ArticleTarget: strip HTML tags entirely from source-mode summary" 2017-08-29 19:50:04 +00:00
David Lynch dc101c6169 mw.ArticleTarget: strip HTML tags entirely from source-mode summary
Bug: T173711
Change-Id: If8b354b2788285ea27472bf9a16544f8e5c091f8
2017-08-29 12:01:33 -05:00
David Lynch 5d4ff082e6 MWLinkAnnotationInspector: check input validity when switching modes
Focusing a TextInputWidget normally unsets validity. However, because we're
kind of pretending this is the same input, just in a different mode, it
doesn't make sense to the user that the focus behavior occurs. So, make it
recheck validity after we switch.

Bug: T172159
Change-Id: I1d9d6670d72483c7510fd5ed3c539b43af8432bf
2017-08-29 11:28:29 -05:00
Ed Sanders 550408f863 Increase width of param actions container
Bug: T174202
Change-Id: I61a175593b087219b22c5be91d00054b1c15e1dc
2017-08-29 14:28:26 +01:00
Translation updater bot 498d1dde0c Localisation updates from https://translatewiki.net.
Change-Id: I85367b5829adcc6402905429b09b00302d1c8585
2017-08-29 09:27:05 +02:00
jenkins-bot 0eda414fd9 Merge "Set wgRevisionId on overridden edit page" 2017-08-28 14:11:18 +00:00
Translation updater bot 632a39446f Localisation updates from https://translatewiki.net.
Change-Id: I86a476a67016ccfec0ece9a6d40576bcc9cc9683
2017-08-28 13:47:03 +02:00
Ed Sanders 9ebff2fb12 build: Update eslint-config-wikimedia 0.4->0.5
Change-Id: I57b017752cc377f3e8cc4e6163bebfecd878ae51
2017-08-25 16:08:08 +01:00
Ed Sanders 2e7577849b Set wgRevisionId on overridden edit page
Bug: T166131
Change-Id: I9ec865bce27292513c0aea4f0cd0747f5b4deaa0
2017-08-25 15:26:30 +01:00
Translation updater bot 4677c6837b Localisation updates from https://translatewiki.net.
Change-Id: I5ea49bc6475bf5c10b900b9ade15455ee939b4a8
2017-08-25 10:06:55 +02:00
jenkins-bot b73deb1690 Merge "Create wrapper paragraph when converting block image to inline" 2017-08-24 22:16:16 +00:00
jenkins-bot 842b3336bd Merge "Move historical diff loading to DiffLoader util" 2017-08-24 18:33:45 +00:00
jenkins-bot f315c650f6 Merge "Don't focus media dialog until ready process" 2017-08-24 17:18:54 +00:00
Brad Jorsch 2abb9b1b2d Remove execute mode from non-executable
Change-Id: I46549acd49ca883e9047b8117cb968a9ddbb06cc
2017-08-24 10:57:25 -04:00
Ed Sanders eb2ee52de0 Create wrapper paragraph when converting block image to inline
This prevents the image jumping into another paragraph,
e.g. in a different table cell.

Move the logic for removing the old image out of MWMediaDialog
and into MWImageModel#insertImageNode.

Bug: T121449
Change-Id: Ibd7c92f3f90c382ceffd3e0defb12ba36a3786d2
2017-08-24 15:56:22 +01:00
Ed Sanders b11b144ad6 Don't focus media dialog until ready process
Bug: T174027
Change-Id: I070b5538e12c8a165a714ac6c3fd172f0ed179d4
2017-08-24 15:38:11 +01:00
jenkins-bot 98891a9e92 Merge "Update VE core submodule to master (d7bb71b95)" 2017-08-24 14:05:10 +00:00
Bartosz Dziewoński 101eda99a2 VisualEditorDataModule: Do not expand templates in plain text messages
Changing `->text()` to `->plain()` and some variable
names and comments to match that. This is now the same
as normal ResourceLoader behavior for messages added
via `'messages'` in RL modules.

Also remove a duplicate use of the
'visualeditor-quick-access-characters.json' message.

Bug: T159529
Change-Id: I63593db445433e7da5c71e6800f96daf63054fcf
2017-08-23 20:08:36 +02:00
Ed Sanders 51207e7aa5 Allow for mw.body being null in <selfclosing/> extensions
Bug: T173016
Change-Id: I8daa65e5dc0368b366710f044b621287e83e26f7
2017-08-23 16:13:16 +00:00
James D. Forrester 5ad4f6f7ff Update VE core submodule to master (d7bb71b95)
New changes:
1a726e3ed VisualDiff: Show internal list remove-inserts
94532edbf Update OOjs UI to v0.22.5
feb2ca706 Don't try to close context while opening

Bug: T171377
Bug: T173077
Change-Id: Ifced78dd25c218d671e1bb4d08ee7494ec0bf808
2017-08-23 08:22:27 -07:00
Translation updater bot 21759ac8c9 Localisation updates from https://translatewiki.net.
Change-Id: I39a7dcd4701e7481dadc37a285159ab283d995e2
2017-08-23 09:43:48 +02:00
jenkins-bot 8e29c59e44 Merge "Decrease border contrast on selected Vector tabs" 2017-08-22 20:47:22 +00:00
Volker E a2f70cac8b Decrease border contrast on selected Vector tabs
Decreasing border contrast on selected Vector tabs.

Bug: T173465
Change-Id: I46530c8cdf9161e527f421eeb8186a7695057361
2017-08-22 13:28:24 -07:00
Translation updater bot 03e17c61bc Localisation updates from https://translatewiki.net.
Change-Id: Ibd8a3f757e90d99142994dc73b15f178cf98d90b
2017-08-22 09:24:57 +02:00
Arlo Breault cff2530092 Update link to contributing guidelines
Change-Id: I7fd9ad2cbcda0ee1f2ac6ee3f0a6c16a2cb44a7b
2017-08-21 18:22:35 -04:00
Umherirrender 9108ac69ee Update VE core submodule to master (6111ca575)
New changes:
6111ca575 Use json extension for .stylelintrc

Local changes:
Use json extension for .stylelintrc

Bug: T173516
Depends-On: Iba3b6cb37c458e896ade0f3a57a02540b4b4a0a0
Change-Id: I977ac6816e97cfb37bb2e0187e9d148bdb2148af
2017-08-21 11:28:34 -07:00
James D. Forrester a09ab8d679 Update VE core submodule to master (72cc043b7)
New changes:
c0ce8519c ce.GeneratedContentNode: helper for waiting for generation
fec19de11 Use version 0.5.0 of eslint-config-wikimedia
5716d2bb2 Localisation updates from https://translatewiki.net.
385d925ed Follow-up 5716d2bb2c: Add ko-kp to build to unbreak the repo

Bug: T168932
Change-Id: I50fcf1cb3f517b50dc373243dd876bc117030790
2017-08-21 07:32:53 -07:00
Translation updater bot 066cc2ed3e Localisation updates from https://translatewiki.net.
Change-Id: I0e8878a5878027ffcf58bd02629fe8c54123634a
2017-08-19 09:26:56 +02:00
jenkins-bot 12ee2041d7 Merge "Align border and border-radius values" 2017-08-17 14:52:10 +00:00
jenkins-bot 9c2bccea48 Merge "Replace remaining greys/reds with WikimediaUI color palette colors" 2017-08-17 14:52:05 +00:00
Translation updater bot 98618638a1 Localisation updates from https://translatewiki.net.
Change-Id: Ia7afe35d0f465b16d73f065c2373ded6f2dff063
2017-08-17 09:20:06 +02:00
Volker E 19eb726677 Align border and border-radius values
Aligning `border` code syntax codebase-wide and
`border-radius` values to WikimediaUI theme.

Change-Id: I1a16dccf17bd112ba5071ebfe02d57237feb39e0
2017-08-16 14:05:55 -07:00
Volker E aaffa6aa46 Replace remaining greys/reds with WikimediaUI color palette colors
Replacing remaining greys and reds apart Monobook/Apex specific
stylesheets with WikimediaUI palette colors.

Bug: T173459
Change-Id: I9b5b1c379bf76e8da57eeff28c7dd000f148a8fc
2017-08-16 13:43:02 -07:00
Kunal Mehta 70777051ed build: Update mediawiki/mediawiki-codesniffer to 0.11.1
Change-Id: I12e117267450539ca9051b22f4f41040b53889b2
2017-08-16 01:23:51 -07:00
Translation updater bot 84c6f28b97 Localisation updates from https://translatewiki.net.
Change-Id: I594ea5f8e9f15fb6739e2ede21e3e365caa77b0a
2017-08-15 09:02:55 +02:00
Translation updater bot 24e7cd1b26 Localisation updates from https://translatewiki.net.
Change-Id: Ib536e242d7d941e57e18056b52a304cfdfd73ed6
2017-08-14 09:43:14 +02:00
Ed Sanders 3cf074c6ea Move historical diff loading to DiffLoader util
Change-Id: I318752ede2e5c90f9d0ecd26b39e997fff2d60bd
2017-08-13 15:31:42 -04:00
David Chan c87abccdf9 MWLinkAction: Don't annotate close tags
Change-Id: I273838eba4cb259cf053ce88378da10b0e241155
2017-08-13 11:33:43 -04:00
James D. Forrester b296882bb8 Update VE core submodule to master (4314b9ead)
New changes:
4ff864094 VisualDiff: Merge old internal list into new document
4314b9ead ve.ce.BranchNode.css: Correct dated comment about styling

Bug: T173100
Change-Id: I68d95d0ce809481f45583eac5d9f4562826b2314
2017-08-12 17:22:19 -04:00
jenkins-bot 2398ae1f3f Merge "Inform users visual diffs are in beta" 2017-08-12 21:04:54 +00:00
jenkins-bot 69b237c96a Merge "extension.json: Depend on MediaWiki 1.30+, not 1.29+" 2017-08-11 23:21:12 +00:00
Thalia fd75d2687f Inform users visual diffs are in beta
Bug: T170665
Change-Id: Ia144c4409767567e41693a3fecd245a6b49c27c7
2017-08-11 15:12:08 -04:00
jenkins-bot 8975449eaf Merge "Context item for LanguageConverter markup" 2017-08-11 14:29:09 +00:00
jenkins-bot 6f12d066d1 Merge "Rename LanguageConverter markup fields" 2017-08-11 14:28:11 +00:00
James D. Forrester c22d3a8909 extension.json: Depend on MediaWiki 1.30+, not 1.29+
We're using newer versions of OOjs UI than 1.29 provide.

Change-Id: I7691b231c7f139fccf5c35a06a21bb2826910d52
2017-08-11 10:07:54 -04:00
Translation updater bot 40337be73a Localisation updates from https://translatewiki.net.
Change-Id: I42edcaf67657f3d0c8425ae1152a47ed3dbc6df9
2017-08-10 23:17:54 +02:00
James D. Forrester b8c81778ad Update VE core submodule to master (81a4760ea)
New changes:
e100628de build: Ignore package-lock.json for fewer surprising npm outcomes
3764b2c60 Localisation updates from https://translatewiki.net.
c62271fbd Localisation updates from https://translatewiki.net.
8517f4c0a Localisation updates from https://translatewiki.net.
0ca19ca2c Localisation updates from https://translatewiki.net.
79cfd3119 Follow-up 0ca19ca2c6: Add skr-arab to build to unbreak the repo
81a4760ea VisualDiff: Refactor for historical diffs

Bug: T170269
Change-Id: I4ed78533be41317e12cd1d94af902323475af68b
2017-08-10 16:04:30 -04:00
jenkins-bot a604c3064a Merge "VisualDiff: Store diffmode in query string on diff pages" 2017-08-10 19:22:40 +00:00