Commit graph

1099 commits

Author SHA1 Message Date
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
jenkins-bot 1a26b757ab Merge "Use $wgContLang for retrieving list of Magic Words" 2017-07-11 00:12:02 +00:00
Pavel Astakhov bc692cba03 Use $wgContLang for retrieving list of Magic Words
Bug: T170130
Change-Id: Ib1ace23f3f878d4de1c584e1438f3edbe5eef15a
2017-07-10 16:03:03 -07:00
Kaldari 4fc52b7ba3 Make sure enhanced editing toolbar is loaded before adding button
Bug: T169943
Change-Id: Id8828b0d49ecec5124430d15445739d73795d164
2017-07-10 14:16:36 -07:00
Translation updater bot f92c9004b6 Localisation updates from https://translatewiki.net.
Change-Id: I8dbe6ecbad8b4e7a9fa07c2664f6968327966019
2017-07-10 22:33:06 +02:00
Ed Sanders 91397eb556 Ensure CM surface can't be edited in VE mode
CM surface is just for presentation, it shouldn't
be possible to focus or select anything in the surface,
so in addition to it being beneath the VE surface,
disable it through the CM API and disable pointer-events
with CSS.

Bug: T170170
Change-Id: Ief49c293f514e22bc6db5eebb3a11c1bc695432d
2017-07-10 18:02:22 +00:00
Max Semenik c6ccd44f95 Remove i18n shim
Change-Id: I187328ea888589aa33500dda25c73cff18261e07
2017-07-08 21:07:51 +00:00
Translation updater bot d9e8f92b8b Localisation updates from https://translatewiki.net.
Change-Id: Ib7f541856dd5b5db8f3e869a0c0cadb3a8b98725
2017-07-08 22:25:41 +02:00
jenkins-bot 127b1de947 Merge "Use a better page for the beta feature discussion link" 2017-07-08 01:32:15 +00:00
jenkins-bot f28f5adccc Merge "Rewrite VE<->CM synchronizer using transaction op walking" 2017-07-08 00:44:20 +00:00
James D. Forrester 9480a5b03a Use a better page for the beta feature discussion link
Change-Id: I5ce29e4bf47abf509afde0a57f64b5d1189f1234
2017-07-07 16:52:00 -07:00
jenkins-bot a587ea7f4d Merge "Remove unused function with outdated comment" 2017-07-07 23:34:48 +00:00
Ed Sanders 6364cb4c04 Rewrite VE<->CM synchronizer using transaction op walking
Previous hacky method fell apart with multi-line transactions.

Depends-On: I465a3f6a8afcd6536293999eb40c01daeb9d905b
Depends-On: I800085eb3a5f7332eab356b62a34bfc603a29839
Change-Id: I66946d7e3f425d8dbbdae720756a7978fbe25582
2017-07-07 23:33:10 +00:00
Ed Sanders 40cc5449b3 Update BetaFeatures icon, use new template and cleanup slightly
Change-Id: I29b596aef4a203d0b5e5bad5616d3a52284e147b
2017-07-07 16:20:16 -07:00
Max Semenik 0157a08747 Remove unused function with outdated comment
Change-Id: I86411262e4606d7eab727ebbdd9d8f2c8f387ddd
2017-07-07 15:59:56 -07:00
jenkins-bot 728d7a8780 Merge "Add phpcs and make pass" 2017-07-07 22:45:47 +00:00
jenkins-bot 7b260572ab Merge "Change "article" to "page"" 2017-07-07 22:12:07 +00:00
Translation updater bot a2a9bae743 Localisation updates from https://translatewiki.net.
Change-Id: Ib5b571f6cdd3d3f5a3d90e73067cf1f518e16724
2017-07-08 00:01:33 +02:00
Amire80 a65fd06afd Change "article" to "page"
This is the usual practice in MediaWiki and extensions,
for consistency among wikis where pages
are not necessarily articles.

Change-Id: I245b9c79e5de55c2c581f53fb4ae0890c4ff4119
2017-07-07 21:49:03 +03:00
Umherirrender d371b61b46 Add phpcs and make pass
Change-Id: Ibddce88a08cdd59f6f7b60a297e37952c2f01b62
2017-07-07 20:35:12 +02:00
jenkins-bot 21d4ae4042 Merge "Design fixes for Codemirror" 2017-07-07 18:13:07 +00:00
Niharika29 e8fa11ec94 Design fixes for Codemirror
Bug: T165178
Change-Id: If5b7c0807ff6fcdb30e1b8fe935b53ee0ca46a0d
2017-07-06 15:03:09 -07:00
Translation updater bot 08e2fdbe9d Localisation updates from https://translatewiki.net.
Change-Id: I67f75eb5e5aa330ee2f0815e19fa3610fd3a50b1
2017-07-06 22:39:25 +02:00
jenkins-bot bc96cb80db Merge "Make sure popup appears for both classic and wikitext editors" 2017-07-06 17:38:51 +00:00
Kaldari 712b5466c8 Fixing SVG images for buttons
Older versions of MediaWiki apparently require SVGs to begin with
an XML declaration.

Change-Id: I149c3b2d0ecdc4d0cdfc4f793483c5c89f35b8fb
2017-07-06 08:10:10 +00:00
Niharika29 5dd4386821 CodeMirror fixes for beta feature deployment
Change-Id: Ib7c7ebaed4f8b1643bc4de506de8f2b443d33fa3
2017-07-06 00:12:06 +00:00