Commit graph

758 commits

Author SHA1 Message Date
Ed Sanders b05b537744 Simplify textSelection overrides using 'register' and 'unregister'
Also add support for .textSelection() on the .CodeMirror element.

Change-Id: I46ac070ca141c3c2f993bee6ab898c96cb1edd4f
2018-01-30 06:38:50 +00:00
jenkins-bot 4a40c28b12 Merge "NWE: Fix padding in Vector" 2018-01-21 21:47:37 +00:00
Translation updater bot 6eae08bd18 Localisation updates from https://translatewiki.net.
Change-Id: I80282be0014ced8c529b89667666a48287918a51
2018-01-21 22:17:05 +01:00
Ed Sanders e795883f0d NWE: Fix padding in Vector
Bug: T185299
Change-Id: Iea8e61654608259ddc90286aef59014a37e4f44d
2018-01-19 10:13:53 +00:00
Translation updater bot 15e7946415 Localisation updates from https://translatewiki.net.
Change-Id: Ie455990d99cbc1c4e84fac9182aead85ae37aab7
2018-01-14 22:16:57 +01:00
jenkins-bot 6a2d427a9b Merge "Make NWE integration background transparent" 2018-01-04 16:30:52 +00:00
jenkins-bot f3f82ae47a Merge "Fix WikiEditor dependencies" 2018-01-04 16:30:22 +00:00
Ed Sanders 8d998f97ed Make NWE integration background transparent
Allows for VE's placeholder text feature to work.

Change-Id: Ieee01baf3dc049f248a97408af70499dcea8f4c9
2018-01-04 12:37:42 +00:00
Ed Sanders 12d420b7e9 Fix WikiEditor dependencies
Change-Id: Ibaa17e581ada5fcb202217797e70f9fed2510ec4
2018-01-04 12:36:55 +00:00
Ed Sanders 9df6ec9df8 Expect that deprecated mediawiki.toolbar may not be available
Bug: T177098
Change-Id: Icaf51c234981b4572362a0d76bf0b4b6653f3854
2018-01-04 12:35:36 +00:00
Kunal Mehta e3f0df1cfc Use SPDX 3.0 license identifier
SPDX released version 3 of their license list (<https://spdx.org/licenses/>),
which changed the FSF licenses to explicitly end in -only or -or-later
instead of relying on an easy to miss + symbol.

Bug: T183858
Change-Id: Iddfe5ea4519690d2b14f6a363d87c648a0050e25
2018-01-04 02:55:40 -08:00
libraryupgrader 3908e5cda2 build: Updating mediawiki/mediawiki-codesniffer to 15.0.0
Change-Id: Iee00c7b2924a642538e182cc9f0587a8e7f09053
2017-12-29 23:35:43 +00:00
jenkins-bot be40dbf40c Merge "Remove font-size now it is set by editfont" 2017-12-25 14:33:36 +00:00
Translation updater bot 9aec2900cf Localisation updates from https://translatewiki.net.
Change-Id: I714567362ffaac5a29b905a2f55dac8a1619761c
2017-12-23 22:26:49 +01:00
Ed Sanders 9960ed601f Remove font-size now it is set by editfont
Bug: T180678
Change-Id: Ic9e8bdb3b34dbb2f2c5748d6bb57e9da90112118
2017-12-21 12:21:57 +00:00
jenkins-bot 4df91bb67a Merge "Fix target detection for jquery.textSelection overrides" 2017-12-21 01:07:21 +00:00
Max Semenik dee8f42080 Fix target detection for jquery.textSelection overrides
CM intercepted textSelection() globally but assumed
nobody will ever need to call it for anything but wpTexbox1.
Thus, attempts to get edit summary returned article text.
Lots of things can probably be fixed in this area, but here's
the beginning.

Bug: T177175
Bug: T179287

Depends-On: I113394a473e8fe534f17815676ec7014203db7d6
Change-Id: I72d7d72b2a891a0ad242a565dddc076fa6dd1bd1
2017-12-19 21:00:14 +00:00
Translation updater bot 77704102c2 Localisation updates from https://translatewiki.net.
Change-Id: Ia9259f534b4d00e7b2c0848e3cfd580d07a773b7
2017-12-18 23:06:13 +01:00
jenkins-bot d25705d804 Merge "Disable WebkitTextFillColor in Firefox+OSX" 2017-12-12 19:44:09 +00:00
libraryupgrader 9494c05fb4 build: Updating mediawiki/minus-x to 0.2.1
Change-Id: Ie5e0047e217608cce75e290eab6fcf7d6b9c5b0b
2017-12-10 02:30:42 +00:00
Translation updater bot d78cf6010d Localisation updates from https://translatewiki.net.
Change-Id: I6ebe15b6d78a52a0ce3eb4e9483e056b8afd180e
2017-12-09 22:19:38 +01:00
Niharika Kohli a6c9441490 Don't break codemirror if wikEdDiff is enabled, only if wikEd is enabled
Bug: T178348
Change-Id: If579d4da99f364e73dec5a7e6bed87019431386b
2017-12-05 19:15:12 +05:30
jenkins-bot 6849149d80 Merge "Update comment text color CSS" 2017-12-05 09:53:46 +00:00
David Sn 62894aafff Update comment text color CSS
This patch changes the comment text color
to #84A0A0, as suggested by Kaldari in T170067.

Bug: T170067
Change-Id: I016b8ce360a06f14b02cee13b629fa578c889347
2017-12-05 09:32:34 +00:00
Translation updater bot 793a479a8c Localisation updates from https://translatewiki.net.
Change-Id: I567fb9f76de0b015f4990c7ab197148014b8e752
2017-12-05 09:40:11 +01:00
Fomafix 63720b9c20 Rename CodeMirror.hooks.php to CodeMirrorHooks.php
This avoids the MediaWiki.Files.ClassMatchesFilename.NotMatch exception
in .phpcs.xml.

Change-Id: I599016f4754f24b16394bdf1ba45bb20862fcd2a
2017-12-02 20:27:01 +01:00
jenkins-bot daef8e333c Merge "Unify BetaFeatures SVG screenshot markup" 2017-12-01 19:23:28 +00:00
Prateek Saxena d0653940df Unify BetaFeatures SVG screenshot markup
- sort attributes
- indentation
- remove unnecessary ids

Bug: T180427
Change-Id: I04d37d4c58aa3499af241dc434985a98a13f51ea
2017-12-01 18:52:17 +00:00
jenkins-bot 003adb604c Merge "Remove php entry point" 2017-12-01 09:46:35 +00:00
jenkins-bot 0b4b060ef7 Merge "Set required MW to 1.25.0 in extension.json" 2017-12-01 09:46:35 +00:00
Reedy 73c9151f5f Remove php entry point
Change-Id: I22859bcd54f41cb17f4470d12321ad7991958b70
2017-12-01 03:24:00 +00:00
Reedy 5be0a26626 Set required MW to 1.25.0 in extension.json
Change-Id: I7e76cfca9a476be7dd766d14231d0a2ee67cb942
2017-12-01 03:23:49 +00:00
Ed Sanders 80241fb717 Disable WebkitTextFillColor in Firefox+OSX
Avoids opaque selection covering text.

Bug: T175223
Change-Id: Iede96501d4a03ccd80488b4661c18647eb9118e1
2017-11-30 18:05:52 +00:00
Ed Sanders 0296e2dcad Fix typo in name of non-webkit hide class
Also increase opacity to 40% so selection & cursor
are more visible.

Change-Id: Ia957f816de9003eb8b709de3d7993bbfef99e3bc
2017-11-30 16:35:57 +00:00
jenkins-bot 530c2e3684 Merge "Remove eslint-disable-next-line no-use-before-define" 2017-11-29 19:04:25 +00:00
jenkins-bot ddfb40e530 Merge "Update betafeatures icons' colors" 2017-11-27 16:39:12 +00:00
Fomafix 394a8b7183 Remove eslint-disable-next-line no-use-before-define
Since 7ac2322 this is not needed anymore.

Change-Id: I4cc5ea402286e418b30fd9ddba72c7ef434fbcb2
2017-11-25 23:07:57 +01:00
Translation updater bot f206c1673b Localisation updates from https://translatewiki.net.
Change-Id: I7d803811a4b8fac49ead48a19f588263d3ae337f
2017-11-25 22:31:53 +01:00
Translation updater bot 1a33cbd9bc Localisation updates from https://translatewiki.net.
Change-Id: I8c0d5b587c16040a1b1f395ca9374863f050f28b
2017-11-24 23:02:54 +01:00
Translation updater bot 37702e4574 Localisation updates from https://translatewiki.net.
Change-Id: I3640312ded742a8bd289ebabd361b6ddcefe7f8f
2017-11-23 23:28:32 +01:00
Prateek Saxena e7154d0852 Update betafeatures icons' colors
Base80, Yellow90, Yellow50, Accent50

Old: https://phabricator.wikimedia.org/F10949243
New: https://phabricator.wikimedia.org/F10949242

Bug: T180427
Change-Id: Iebd9026b37bf63d66a3d0976302e09c4df59e81d
2017-11-23 10:36:04 +05:30
Translation updater bot a98b9643b3 Localisation updates from https://translatewiki.net.
Change-Id: I38053dc0e836b905e69543f5ac08fbcc23cc7c7d
2017-11-22 22:22:29 +01:00
Translation updater bot 2e283fb263 Localisation updates from https://translatewiki.net.
Change-Id: Ic04fed438c6fcfd3cf1e118b9104d66bd2bb0425
2017-11-20 22:25:04 +01:00
Translation updater bot e0b54e932e Localisation updates from https://translatewiki.net.
Change-Id: I9db1ccd2391eed5f271598499638eea1da5218ec
2017-11-17 22:38:08 +01:00
Translation updater bot 69953cab38 Localisation updates from https://translatewiki.net.
Change-Id: I56e1c061352b803335b919b18ac253c77a082fa6
2017-11-14 22:20:47 +01:00
jenkins-bot 99b919f626 Merge "Execute codeMirror.save() on beforeunload" 2017-11-08 00:21:15 +00:00
jenkins-bot 5cd02ddca7 Merge "Moving code for adding the toolbar button to its own function" 2017-11-07 03:24:29 +00:00
jenkins-bot d2855c76f4 Merge "Make textbox height flexible with CodeMirror" 2017-11-07 01:26:17 +00:00
Niharika Kohli a0062e3100 Make textbox height flexible with CodeMirror
Bug: T170906
Bug: T176449 (hopefully)
Change-Id: Ic0ac663c413db5c29ae786d3c17f7396ad620226
2017-11-06 17:20:51 -08:00
Kaldari a6e4f5c6d6 Prevent loading CodeMirror if wikEd gadget is enabled
Not a great solution, but will prevent most of the damage in the
meantime, for example, people losing their edits.

Bug: T178348
Change-Id: I434878a2325df01ad27f590f296738ff1f93320f
2017-11-06 14:48:50 -08:00