Commit graph

238 commits

Author SHA1 Message Date
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 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
Niharika29 55092521c3 Make sure popup appears for both classic and wikitext editors
Bug: T165003
Change-Id: I4b1c9498df7931643ea3c39d6d2afd9384e47de0
2017-07-04 00:15:56 +00:00
Translation updater bot 33dda00a54 Localisation updates from https://translatewiki.net.
Change-Id: I074817441bd9329c9e964e02d5b49bc7a0e23992
2017-07-03 22:29:24 +02:00
Translation updater bot 8795a6c08e Localisation updates from https://translatewiki.net.
Change-Id: I72d3d4bc57f23dd796a9e50a6cf15039a74f7a40
2017-07-02 22:30:35 +02:00
Translation updater bot 57cd5b44c9 Localisation updates from https://translatewiki.net.
Change-Id: I2b27b5c1bc7f1a2a4f73527ad9d649e98b0df132
2017-07-01 22:19:21 +02:00
Translation updater bot eba288bc60 Localisation updates from https://translatewiki.net.
Change-Id: I60f8bde71b4bb0fe60e9819a89a9504e2b5e92a5
2017-06-30 23:13:45 +02:00
Niharika29 e3d24a9d32 Add missing dependency
Bug: T165003
Change-Id: I77669035aa425230fe254e776fdb9a5cdd4715c7
2017-06-30 19:35:17 +00:00
Niharika29 a1b41c6099 Fixes for Codemirror popup patch
Bug: T165003
Change-Id: I52e3cdb3afde242451e9cab68baecc1ab77868dc
2017-06-30 18:43:50 +00:00
jenkins-bot 656415bf0a Merge "Show a popup for first time Codemirror users" 2017-06-29 21:48:10 +00:00
Niharika29 99e31d152f Show a popup for first time Codemirror users
Bug: T165003
Change-Id: I545a57bdb273ab6906711e2d65dc029293ecc02a
2017-06-29 00:20:14 +00:00
Translation updater bot 2c5aa03614 Localisation updates from https://translatewiki.net.
Change-Id: Ib22fd80ff67bbc47582abb3e63b58f1283604b6d
2017-06-28 22:43:31 +02:00