Commit graph

866 commits

Author SHA1 Message Date
jenkins-bot 220a68a9f9 Merge "textSelection: Replace encapsulateSelection with replaceSelection" 2018-02-13 17:25:25 +00:00
Kunal Mehta f7e5949334 Move classes into includes/
Depends-On: Idbcb76f54eb57b0a56b46188526858038d698627
Change-Id: I2858e848137336aeabb18513f073bfccf64c0a6b
2018-02-10 09:27:42 +00:00
Translation updater bot b12bf05d6a Localisation updates from https://translatewiki.net.
Change-Id: I4ee68cc3ac0f5098b5634086842e28a0191ddf2f
2018-02-10 09:15:12 +01:00
Ed Sanders 3e0d9773d4 textSelection: Replace encapsulateSelection with replaceSelection
encapsulateSelection is now defined in terms of other methods,
so we don't need to duplicate it here.

Follows on from T185917.

Change-Id: I1f99b3140ed363658ed2724a58c8b34ef20769fa
2018-02-09 10:31:47 +00:00
Translation updater bot da07e5a7bc Localisation updates from https://translatewiki.net.
Change-Id: Ic79a40a1add343b36533dd5c1d5930ed2ba5d89c
2018-02-09 09:41:07 +01:00
Translation updater bot d0eb7d552a Localisation updates from https://translatewiki.net.
Change-Id: I2c648cba00d4e9bc62a9244a2e8340398c841a24
2018-02-07 22:17:23 +01:00
Ed Sanders 86a862a3ac build: Update linters
Change-Id: I13d8ebc6dfa430230a881711f30487e27703c76f
2018-02-04 21:22:17 +00:00
Translation updater bot 6173f77709 Localisation updates from https://translatewiki.net.
Change-Id: Ia75154ea0b0ca6baa8c99c74c1724ca13c51e521
2018-01-30 22:16:31 +01:00
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