Commit graph

487 commits

Author SHA1 Message Date
Max Semenik 63647bb5dc Remove all BetaFeatures support
Bug: T185030
Change-Id: I1ad451acfd163c783e7b8ec604d8695c14342667
2018-06-13 16:42:40 -07:00
Translation updater bot 564e4ea538 Localisation updates from https://translatewiki.net.
Change-Id: I6f8266d815be88edca0465818af77491f8af5640
2018-06-09 10:26:57 +02:00
Translation updater bot 8467d5fa84 Localisation updates from https://translatewiki.net.
Change-Id: I5fca2d252384f198c3b9332164fd7f9836b1c1a1
2018-06-02 22:41:17 +02:00
Translation updater bot 6d5068cbff Localisation updates from https://translatewiki.net.
Change-Id: I3b96bf5871fcc654b2228a1ff3ca81b0fc96c387
2018-05-31 22:28:22 +02:00
jenkins-bot 7c9dac685e Merge "Disable ULS when CodeMirror is on" 2018-05-31 14:34:46 +00:00
Max Semenik f973652942 Disable ULS when CodeMirror is on
Bug: T194102
Change-Id: I25894d98a28e2c6096796ab912cc0ee04dd0a6e3
2018-05-30 13:07:07 -07:00
libraryupgrader 5795550382 build: Updating mediawiki/mediawiki-codesniffer to 20.0.0
Change-Id: Id289b2916b7fd07c4a32f4906788c2a56713c39c
2018-05-26 01:31:55 +00:00
Fomafix 31c24340f7 Remove dependencies on deprecated modules 'mediawiki.api.*'
In core the modules 'mediawiki.api.*' get merged into 'mediawiki.api'
and get deprecated in ecc812f06e included in MediaWiki 1.32.

Change-Id: I07471baa50edbd4d5a7ff904b46602729612ccde
2018-05-21 14:37:21 +02:00
Translation updater bot 083b4adbcd Localisation updates from https://translatewiki.net.
Change-Id: Idddd668266a65622c45cbb3fab72b95813142df8
2018-05-16 23:07:40 +02:00
Ed Sanders 341a67496a Simplify target lookup
Change-Id: I00449f043c391c7648e2c17651d15c2807044402
2018-05-12 13:10:05 +01:00
James D. Forrester 780fe9cb9f Beta Feature: Flag as requiring JavaScript
Bug: T194528
Change-Id: Ic37fec8a167fe0c7a12ff52634824dd2585a9e80
2018-05-11 19:51:14 +00:00
Ed Sanders fca1d62a6c Apply line height selector to CodeMirror line wrapper
Bug: T193219
Change-Id: I7973b5e1a4f602c0fc371d78a1ebead093c48e74
2018-04-27 21:42:45 +01:00
Kunal Mehta c6d9adbe83 Set extension type to editor
This extension doesn't even register a parser hook.

Change-Id: Ia31cae5504f404e130bfd77322ec53c79e085f22
2018-04-26 00:33:09 -07:00
jenkins-bot d3c7f3cdd4 Merge "Use CM API for setting document direction" 2018-04-25 18:36:32 +00:00
jenkins-bot 466fca0ec0 Merge "Load CodeMirror with VE always" 2018-04-25 16:04:39 +00:00
Niharika Kohli 7c848abd8d Load CodeMirror with VE always
This patch makes Codemirror on VE independent of the beta feature,
making it always load.

This is a first step to graduating CodeMirror out of beta.

Bug: T191923
Change-Id: Ide794e8f986d3f0455ff282819c71d9144dd75db
2018-04-23 20:54:43 +00:00
Translation updater bot 78d5fd1623 Localisation updates from https://translatewiki.net.
Change-Id: I85ba6a45328d9e269811aacefdc0c65e01ce7f69
2018-04-22 22:21:37 +02:00
jenkins-bot f7162e26f9 Merge "Never load ext.CodeMirror on RTL pages" 2018-04-19 20:35:59 +00:00
Translation updater bot 890d5fd516 Localisation updates from https://translatewiki.net.
Change-Id: I73ec7eb586ffc25d6ae04f15e15b5ffb685d0e33
2018-04-19 22:13:39 +02:00
Ed Sanders d4d92f921f Never load ext.CodeMirror on RTL pages
This does not affect the VE integration, which
does support RTL.

Bug: T191923
Change-Id: I817498157bcc3ff0b92d1ee0e9cf9fc96be83d2f
2018-04-19 16:01:57 +00:00
jenkins-bot 6e2bdac5d2 Merge "Remove 'Try syntax highlighting' popup for all users" 2018-04-18 21:02:25 +00:00
Translation updater bot 09dca5a16e Localisation updates from https://translatewiki.net.
Change-Id: I48135b55cace69b51e66b2ada0feac3acf65441b
2018-04-18 22:10:35 +02:00
Ed Sanders dcf28f37a1 Use CM API for setting document direction
Bug: T191923
Change-Id: I68ee7de8ff2d26044fc8a71a04ade65b5d4420c8
2018-04-16 16:53:29 +01:00
Ed Sanders d428893b80 Merge selectors for VE & CM surfaces, and add 'hyphens' rule
Keep all our font rule settings in one place to make it
easier to keep them in sync. Also add a rule for 'hyphens' in
case the browser default has changed.

Bug: T192019
Change-Id: I2c27e5075a9bc6aaed9fe048d163f57976708357
2018-04-16 16:43:35 +01:00
libraryupgrader 9bba5e4fde build: Updating mediawiki/mediawiki-codesniffer to 18.0.0
Change-Id: Iafaebb579f5afa7cd804d88928f6343ddd792560
2018-04-13 23:25:21 +00:00
MusikAnimal 7d99bbefde Remove 'Try syntax highlighting' popup for all users
A Node script was used to remove the now unused i18n messages.
This same script sorts the messages alphabetically, so it looks
like some unrelated messages were changed, but they weren't.

Bug: T191297
Change-Id: I69cce06133c1d055d31d12ebc8408123c187b574
2018-04-12 18:22:31 -04:00
jenkins-bot 6d9bc58727 Merge "Fix some small edge cases with font matching" 2018-04-12 16:12:00 +00:00
Translation updater bot f266e76312 Localisation updates from https://translatewiki.net.
Change-Id: Ifdd2eedac39c1cec7e3471589e1204e6b15adb35
2018-04-08 22:29:46 +02:00
Translation updater bot a0fc1ff8e6 Localisation updates from https://translatewiki.net.
Change-Id: Id3016f6a0b13b3f68082a5114b3a89d540f84bc9
2018-04-06 22:20:08 +02:00
Translation updater bot ae945770a3 Localisation updates from https://translatewiki.net.
Change-Id: I106de04a955f54095791b82511acfe446b9ac765
2018-04-03 09:50:49 +02:00
jenkins-bot fb20072a4a Merge "Unbreak VE integration in IE11" 2018-04-02 15:58:24 +00:00
Translation updater bot 74e645b073 Localisation updates from https://translatewiki.net.
Change-Id: I0ec030327e2210961a8a786eea24fedc6de441a1
2018-04-02 09:48:21 +02:00
Translation updater bot 7700d53ea5 Localisation updates from https://translatewiki.net.
Change-Id: Id3f19cafb9ebd76777a1739240ec7fed89b6f080
2018-04-01 09:37:56 +02:00
jenkins-bot 6772e087e5 Merge "Tests for MediaWiki CodeMirror syntax highlighting" 2018-03-29 23:17:39 +00:00
libraryupgrader c3e44ff1f3 build: Updating mediawiki/mediawiki-codesniffer to 17.0.0
Change-Id: If28427103c876da0e4e0219e8e896fdccfbee481
2018-03-29 00:50:16 +00:00
Ed Sanders c09151d659 Fix some small edge cases with font matching
Change-Id: I6e2df8e13f19a29a3a80fbbfc0ed5332c33eb584
2018-03-27 22:35:00 +01:00
Ed Sanders 4f2ace3ad9 Unbreak VE integration in IE11
Element.remove is not supported in IE11 so use
parentNode.removeChild.

Change-Id: Iacfdc2fb563d5ed168dc691ecf439e60e94d4e2a
2018-03-27 21:46:00 +01:00
Translation updater bot 50b13d115c Localisation updates from https://translatewiki.net.
Change-Id: Ibf446c87782a1f5fe716583151e0623546346b6b
2018-03-27 22:09:21 +02:00
Translation updater bot dfb9cf60ee Localisation updates from https://translatewiki.net.
Change-Id: I9d65465e95665061ae0f531019f45ed149d2fe0b
2018-03-23 22:12:59 +01:00
Ed Sanders 6d92dd818d Use upstream OOUI icons for WikiEditor toolbar
Also uses upstream tool-active styling, which was
based on cm-on.svg.

Depends-On: I3e6f65f6f290778d3fbfa22f5d212c26fee12a86
Change-Id: Ib42be9f8b87efe1387eb5c77698fd2f0af0a673d
2018-03-23 13:43:30 +00:00
MusikAnimal 4d2783eb3e Tests for MediaWiki CodeMirror syntax highlighting
Bug: T169592
Change-Id: I0750d3a320af5451f847e6062f82523fb18f12bc
2018-03-20 16:27:55 -04:00
jenkins-bot 0e4bb8feb6 Merge "Don't match // as protocol unless used in a link" 2018-03-15 23:51:21 +00:00
MusikAnimal 5c8eb20c33 Don't match // as protocol unless used in a link
Bug: https://phabricator.wikimedia.org/T185069
Change-Id: I2111e7c7ae599c5aed2f5ae779bc3d7b2d8ce82a
2018-03-13 22:51:35 -04:00
MusikAnimal ccbce0e69d Highlight void tags and invalid self-closing tags correctly
Bug: T170238
Change-Id: Ice1bdae3d16cf365da14c6df0e8d91d2b914e074
2018-03-13 22:18:59 -04:00
jenkins-bot b7a201e2f0 Merge "Fix highlighting of table headers on single text row" 2018-03-13 22:39:01 +00:00
MusikAnimal 62a53c5905 Fix highlighting of table headers on single text row
Bug: https://phabricator.wikimedia.org/T179534
Change-Id: I6e353d52af849678da63624e456ec2a82c680df4
2018-03-13 18:23:16 -04:00
Translation updater bot 780e941d6c Localisation updates from https://translatewiki.net.
Change-Id: Iff5f2308e3a1ffa0f162074bd356144b029fd3f9
2018-03-10 22:14:00 +01:00
jenkins-bot 25302e1be3 Merge "Add <translate> as a permitted tag" 2018-03-09 21:59:26 +00:00
libraryupgrader cc67737c78 build: Updating jakub-onderka/php-parallel-lint to 1.0.0
Change-Id: Ia85026e0db1f60257a36c39e542c6ded952f6925
2018-03-09 06:19:31 +00:00
Translation updater bot 91981313e3 Localisation updates from https://translatewiki.net.
Change-Id: I7ca314f66bb1da60c40c1d996a878eb1a37c7d0a
2018-03-08 22:45:36 +01:00