Commit graph

724 commits

Author SHA1 Message Date
Fomafix 93844520cc Add dependency to module 'mediawiki.user'
ext.CodeMirror.js uses mw.user.isAnon from module 'mediawiki.user'.

Change-Id: If1a98914ad58e9ed004089a6c2ebf3295974712b
2017-08-24 11:12:33 +02:00
L10n-bot 9fa2c817ff Merge "Localisation updates from https://translatewiki.net." 2017-08-24 07:09:58 +00:00
Translation updater bot 447cbf0fab Localisation updates from https://translatewiki.net.
Change-Id: I9286d6c39e8aef8255dd73a32fe143ad8fe13bed
2017-08-24 09:09:48 +02:00
jenkins-bot 36dbd245f0 Merge "Remove leading spaces" 2017-08-24 07:00:13 +00:00
niharika29 c6ab876fe7 Update the CodeMirror icon in NWE to the highlight icon, like in the other editors
Change-Id: I92c61c0bb21fc80ee6ab3ffd521d59764e757f7c
2017-08-23 17:22:23 +00:00
jenkins-bot 60f6efeb47 Merge "Don't use tab indenting between array items" 2017-08-21 21:14:14 +00:00
jenkins-bot fc5eec669b Merge "Add padding support for other skins" 2017-08-21 20:02:47 +00:00
Reedy 5cd288b203 Don't use tab indenting between array items
Change-Id: Ifbc293c5075c6518edbefd5d7c4b6ce2cd71ace3
2017-08-21 19:53:52 +01:00
Reedy abb754a4e6 Remove leading spaces
Change-Id: I1acf3d018ac2cf55e9cbe1a410445bc74c418a4c
2017-08-21 19:41:18 +01:00
Umherirrender fee338e719 Use json extension for .stylelintrc
Bug: T173516
Change-Id: Iacceced4b25b59e32f38e53b9ec2dd9df8193477
2017-08-19 09:40:58 +02:00
Ed Sanders 29680aceb7 Add padding support for other skins
Change-Id: Ia7494545f2dda36bc2798c23ff8a2855212b77aa
2017-08-13 12:38:40 -04:00
Ed Sanders 659e0963f1 Separate out CodeMirror config data and add to VE mode
Bug: T172958
Change-Id: I2d7969782ee9f02347f7aa0c7f0eebb2d592904d
2017-08-13 12:06:41 -04:00
Ed Sanders 11f592ba54 Add RTL support in VE source editor mode
Bug: T170001
Change-Id: I7223a57969a2299a86d73cfd57336e8d56086520
2017-08-13 11:10:54 -04:00
Kunal Mehta c031b00321 build: Updating jakub-onderka/php-parallel-lint to 0.9.2
Change-Id: If37d37df6e03066b6bfa72bf96f36b54a4a2f21b
2017-08-12 23:33:50 -04:00
Kunal Mehta fc66e66baa build: Updating mediawiki/mediawiki-codesniffer to 0.11.0
Change-Id: I33cda63b4d65ea39a0ea2e8c547fcf68aebb4297
2017-08-10 23:10:53 -04:00
Translation updater bot c0070926d2 Localisation updates from https://translatewiki.net.
Change-Id: I4269e5fb9ed6af739f9c8c90425af5db685bd201
2017-08-06 22:27:32 +02:00
jenkins-bot d4d8d53661 Merge "Remove a workaround to clear broken 'background-image'" 2017-08-04 19:39:25 +00:00
jenkins-bot 796c3571bb Merge "Increase z-index of WikiEditor toolbar to above CodeMirror scrollbar" 2017-08-04 13:15:53 +00:00
jenkins-bot 0971aabc42 Merge "Move JS config vars from page HTML into RL module" 2017-08-04 12:54:08 +00:00
Bartosz Dziewoński 3a1589d527 Remove a workaround to clear broken 'background-image'
No longer needed after Ib658651e04090ec4f5bc1f5bacbbfb0d7e7f893e
in WikiEditor.

Bug: T172500
Change-Id: I22e5a854ed6ee657d5f6c416cb4412184d10f1ac
2017-08-04 14:38:09 +02:00
Max Semenik 0f6d8818be Move JS config vars from page HTML into RL module
Bug: T172458
Change-Id: I60bfab0028a21c3942508f5ad6377df9a285c7de
2017-08-04 13:37:54 +06:00
Max Semenik a749945897 ext.CodeMirror.loader is unused, remove
Change-Id: I2b51fb2e4e20fef088503567ba0cf818a1d2c857
2017-08-03 17:54:28 -07:00
Kaldari 28a9dd7fac Only show popup if CodeMirror button exists
Bug: T170609
Change-Id: Ibe9aa1b7ffce2e7813aa9aa2ab45f349d8ad2082
2017-08-03 15:57:49 -07:00
Translation updater bot 9fe5908b7a Localisation updates from https://translatewiki.net.
Change-Id: Ifd0ac7ca61625783a04208519b6010b309f873c5
2017-08-03 22:45:46 +02:00
Kaldari 34a8d7fbcb Updating beta feature graphics for new icon
Also slightly lightening default toolbar icons to match other
monochrome icons in that editor.

Change-Id: Idada1c3b99246a2374ec2b689cb91ed584d9293e
2017-08-02 11:38:56 -07:00
Sam Wilson 79bc712255 Switch icons to 'highlighter' symbol
This adds the new 'highlighter' symbol to the five CodeMirror SVG
icons, and regenerates their PNG counterparts (using Inkscape).

The only changes to the SVG files apart from the paths (and their
positions) are whitespace formatting. I'm not sure all those
gradients need to be there, but I guess someone did that for a
reason. :-)

Bug: T164441
Change-Id: Ibdb8ecf53eb03fb1d1805e788a3e497e4941263a
2017-08-02 11:20:44 +08:00
Translation updater bot ca4f51cb60 Localisation updates from https://translatewiki.net.
Change-Id: Iafdb4a90d4b6df374e6927f0aa50ca089439da99
2017-08-01 22:39:41 +02:00
Antoine Musso d62959ced9 build: mark package.json as private
We do not release a npm package for this repository, the package.json
is solely for CI/build purposes.

Change-Id: I3da11273ff7876e83fdb278a504f9b1589e69991
2017-08-01 15:45:07 +02:00
Translation updater bot 08467420af Localisation updates from https://translatewiki.net.
Change-Id: I7269a04326441d383025b25ccf15ceb17451bba4
2017-07-27 22:59:23 +02:00
Translation updater bot 530209dab0 Localisation updates from https://translatewiki.net.
Change-Id: I973485e0ec101b6e3d7375446a7c0c94219b6637
2017-07-26 22:27:35 +02:00
Translation updater bot fe8818add3 Localisation updates from https://translatewiki.net.
Change-Id: I9d4bb11a0468b07399f60d0d35103bd936bd4d69
2017-07-24 22:51:05 +02:00
jenkins-bot bff703563d Merge "Preserve scroll position when switching" 2017-07-24 16:35:28 +00:00
Kunal Mehta 0c4c7c85ba build: Updating mediawiki/mediawiki-codesniffer to 0.10.1
Change-Id: Ic6e4eda6f49a0e27040f3a82d30279e81b41cea7
2017-07-23 00:11:12 -07:00
Ed Sanders 7fe9e2e762 Popup: Use built-in features of PopupWidget instead of custom CSS
* Use OOUI buttons for the actions.
* Make the widget wider to accommodate longer titles in
  different languages.
* Don't show if CM already enabled

Change-Id: Ibde461a99929565c15b5e7c5ef3ad88e163fba05
2017-07-20 21:30:45 +00:00
Ed Sanders 60ab939b26 Popup: Build as DOM instead of HTML strings
Change-Id: Ib33b6b2a1f3e0f9c50398287822ae88305855a58
2017-07-20 21:30:37 +00:00
Ed Sanders cec399b4e3 VE: Disable mw-editfont when using CodeMirror
Due to using bold as a highlight style, the VE overlay technique
will only work with monospaced fonts.

Change-Id: I33e3e07cf0f3d8e25dd35623286eedf28ba20ae1
2017-07-20 21:30:22 +00:00
Translation updater bot e02dfe343e Localisation updates from https://translatewiki.net.
Change-Id: I9e0021bc27eadcebd83d9f4f89b1a8a8ede9e0f1
2017-07-20 22:37:56 +02:00
Ed Sanders 643faba0db Preserve scroll position when switching
This will be slightly off when you have scrolled past
headers which have a different font size, but it's better
than jumping back to the top of the document.

Change-Id: I62a73c30932c3dc1e538484edead9c5d2ed6c72f
2017-07-20 19:12:38 +01:00
Ed Sanders 410e442fd1 build: Update eslint, stylelint
Whitespace and regex escaping fixes

Change-Id: Ic706dfd3ed7efb16db104b054091bec0ba0cb5ed
2017-07-20 15:58:31 +00:00
Translation updater bot 95247b0aab Localisation updates from https://translatewiki.net.
Change-Id: I79cf8866e28fb430a6fb4dfe6007fdd02f02de15
2017-07-19 22:27:42 +02:00
Translation updater bot 3286d55d41 Localisation updates from https://translatewiki.net.
Change-Id: I8b0c6df85edb0a0a1d8241903795e341d3ee9adc
2017-07-18 22:39:22 +02:00
Umherirrender 453335f16e Fix indent in json files
Change-Id: Id873facdf4d0aece5883f3ced79f7fb17aa6de8a
2017-07-18 20:14:34 +02:00
Translation updater bot 7ad9ef2de1 Localisation updates from https://translatewiki.net.
Change-Id: I26c44d643dbfb047d6eab769c9b2b7806fa80a89
2017-07-17 22:39:30 +02:00
Translation updater bot b165fc4c49 Localisation updates from https://translatewiki.net.
Change-Id: I29ff0c2a3446af360f513d76133f34798e853f86
2017-07-14 22:27:44 +02:00
Translation updater bot 17684a24ae Localisation updates from https://translatewiki.net.
Change-Id: If74cdb24a5a58a185cd89eb5f0a7b389043c4a83
2017-07-13 22:35:58 +02:00
jenkins-bot 3f429a2992 Merge "VE CodeMirror: Don't handle any specialChars" 2017-07-13 14:04:39 +00:00
Translation updater bot 67ede8cd63 Localisation updates from https://translatewiki.net.
Change-Id: Ia56f7b537b6ef9330a9ee288c255525293563f38
2017-07-12 22:56:31 +02:00
Ed Sanders 16225450c8 VE CodeMirror: Don't handle any specialChars
Bug: T170382
Change-Id: Icf39a5efdc5a553cf5885e4de7189a37a9a7424d
2017-07-12 15:23:49 +01:00
Translation updater bot ae24fb77eb Localisation updates from https://translatewiki.net.
Change-Id: Ic919f2e39a094ae00ca1664cca3fc3059105015f
2017-07-11 22:42:05 +02:00
Kaldari 71fadf6a95 Changing color of .cm-mw-mnemonic to match color of other HTML code
This changes the green for HTML entities to a slightly lighter
shade of green to match the green of HTML tags.

Change-Id: Ice51e96b0f5fac67d88375fe76630098d380afc9
2017-07-11 10:50:20 -07:00